Module:Item/doc: Difference between revisions

From Space Station 14 Wiki
(json data pages links fix #2)
(Adding more items)
Line 2: Line 2:
{{uses json data|Module:Item/item names by item id.json|Module:Item/item image files by item id.json}}
{{uses json data|Module:Item/item names by item id.json|Module:Item/item image files by item id.json}}
}}
}}
Contains utilities for working with in-game items.
== Adding more items ==
To add more items, go to [[Module:Item/item names by item id.json]].
It is a json file. It contains an object with keys being the item in-game IDs, but also allows custom IDs for displaying items such as coil variations.
Each item has a list of names. These are used for various lookups.
An item can have as many names as you wish, but it must have at least one.
The first name listed will be used as a «main» name in various lookups, so it's generally should be the name used by the game.

Revision as of 12:21, 17 August 2024

Module documentation
View or edit this documentation (about module documentation)

Contains utilities for working with in-game items.

Adding more items

To add more items, go to Module:Item/item names by item id.json.

It is a json file. It contains an object with keys being the item in-game IDs, but also allows custom IDs for displaying items such as coil variations.

Each item has a list of names. These are used for various lookups. An item can have as many names as you wish, but it must have at least one. The first name listed will be used as a «main» name in various lookups, so it's generally should be the name used by the game.