Module:GenericData/doc

Revision as of 02:11, 1 November 2024 by Sur (talk | contribs) (initial doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:GenericData

Overview edit

Provides access to generic/miscellaneous data from Data:GenericData.json

Functions edit

get_objective_param edit

Provides access to "ObjectiveParams" data.

Parameters edit

  • key - key to access

Examples edit

{{#invoke:GenericData|get_objective_param|GoldPerOrb}}

40

get_rejuv_param edit

Provides access to "RejuvParams" data.

Parameters edit

  • 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 edit

{{#invoke:GenericData|get_rejuv_param|RejuvinatorExpirationWarningTiming}}

30

{{#invoke:GenericData|get_rejuv_param|TrooperHealthMult|3}}

1.9

get_tiered_item_price edit

Provides access to "ItemPricePerTier" data.

Parameters edit

  • tier - list index to access that represents the tier of the item

Examples edit

{{#invoke:GenericData|get_tiered_item_price|5}}

6200