Jump to content

Module:GenericData

From Deadlock Wiki
Revision as of 11:21, 26 January 2025 by 149.28.42.29 (talk) (Blanked the page)

Overview

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

Functions

get_objective_param

Provides access to "ObjectiveParams" data.

Parameters

  • key - key to access

Examples

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

Script error: The module returned a nil value. It is supposed to return an export table.

get_rejuv_param

Provides access to "RejuvParams" data.

Parameters

  • 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

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

Script error: The module returned a nil value. It is supposed to return an export table.

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

Script error: The module returned a nil value. It is supposed to return an export table.

get_tiered_item_price

Provides access to "ItemPricePerTier" data.

Parameters

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

Examples

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

Script error: The module returned a nil value. It is supposed to return an export table.