Editing Module:GenericData/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
Provides access to generic/miscellaneous data from [[Data:GenericData.json]] | Provides access to generic/miscellaneous data from [[Data:GenericData.json]] | ||
=Functions= | =Functions= | ||
| Line 10: | Line 10: | ||
===Examples=== | ===Examples=== | ||
<code><nowiki>{{#invoke:GenericData|get_objective_param| | <code><nowiki>{{#invoke:GenericData|get_objective_param|GoldPerOrb}}</nowiki></code> | ||
{{#invoke:GenericData|get_objective_param| | {{#invoke:GenericData|get_objective_param|GoldPerOrb}} | ||
==get_rejuv_param== | ==get_rejuv_param== | ||
Provides access to | Provides access to "RejuvParams" data. | ||
===Parameters=== | ===Parameters=== | ||
* '''key''' - | * '''key''' - key to access | ||
* ''' | * '''midboss_deaths''' - (OPTIONAL) list index to access that represents how many times midboss has died, if the provided key's value is a list | ||
===Examples=== | ===Examples=== | ||
<code><nowiki>{{#invoke:GenericData|get_rejuv_param| | <code><nowiki>{{#invoke:GenericData|get_rejuv_param|RejuvinatorExpirationWarningTiming}}</nowiki></code> | ||
{{#invoke:GenericData|get_rejuv_param| | {{#invoke:GenericData|get_rejuv_param|RejuvinatorExpirationWarningTiming}} | ||
<code><nowiki>{{#invoke:GenericData|get_rejuv_param| | <code><nowiki>{{#invoke:GenericData|get_rejuv_param|TrooperHealthMult|3}}</nowiki></code> | ||
{{#invoke:GenericData|get_rejuv_param| | {{#invoke:GenericData|get_rejuv_param|TrooperHealthMult|3}} | ||
==get_tiered_item_price== | ==get_tiered_item_price== | ||
| Line 36: | Line 34: | ||
===Parameters=== | ===Parameters=== | ||
* '''tier''' - | * '''tier''' - list index to access that represents the tier of the item | ||
===Examples=== | ===Examples=== | ||
| Line 42: | Line 40: | ||
{{#invoke:GenericData|get_tiered_item_price|5}} | {{#invoke:GenericData|get_tiered_item_price|5}} | ||