Module:ItemData/doc: Difference between revisions

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