Module:ItemData/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Shatangmi (talk | contribs)
Created page with "Loads data from Data:ItemData.json"
 
Shatangmi (talk | contribs)
No edit summary
Line 1: Line 1:
Loads data from [[Data:ItemData.json]]
Loads data from [[Data:ItemData.json]]
==Functions==
* get_cost|ITEM_NAME
* get_type|ITEM_NAME
* is_active|ITEM_NAME
** returns true/false
* get_prop|ITEM_NAME|PROPERTY
** check the [[Data:ItemData.json|json file]] for item properties
==TO DO==
Its difficult to get a list of what items are components because components are listed under each full item rather than it being a true/false flag

Revision as of 21:01, 6 September 2024

Loads data from Data:ItemData.json

Functions

  • get_cost|ITEM_NAME
  • get_type|ITEM_NAME
  • is_active|ITEM_NAME
    • returns true/false
  • get_prop|ITEM_NAME|PROPERTY

TO DO

Its difficult to get a list of what items are components because components are listed under each full item rather than it being a true/false flag