Module:GenericData/doc

From Deadlock Wiki
Revision as of 02:11, 1 November 2024 by Sur (talk | contribs) (initial doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:GenericData

Overview[edit source]

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

Functions[edit source]

get_objective_param[edit source]

Provides access to "ObjectiveParams" data.

Parameters[edit source]

  • key - key to access

Examples[edit source]

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

40

get_rejuv_param[edit source]

Provides access to "RejuvParams" data.

Parameters[edit source]

  • 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 source]

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

30

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

1.9

get_tiered_item_price[edit source]

Provides access to "ItemPricePerTier" data.

Parameters[edit source]

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

Examples[edit source]

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

6200