Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Modding:Items
(view source)
Revision as of 01:57, 25 March 2024
528 bytes added
,
25 March
→Big craftables
:
Finish 1.6 Data Format
Line 684:
Line 684:
| boolean
| boolean
| Whether the item is a lamp and produces light when it's dark.
| Whether the item is a lamp and produces light when it's dark.
+
|-
+
| Texture
+
| string
+
| The asset name for the texture containing the item's sprite, or null for <samp>TileSheets/Craftables</samp>.
+
|-
+
| SpriteIndex
+
| integer
+
| The sprite's index in the spritesheet.
+
|-
+
| ContextTags
+
| <samp>List</samp> of strings
+
| Thee custom [[#Context_tags|context tags]] to add for this item (in addition to the tags added automatically based on the other object data).
+
|-
+
| CustomFields
+
| <samp>Dictionary</samp> of string keys to string values
+
| Custom fields ignored by the base game, for use by mods.
|-
|-
|}
|}
BarleyZP
138
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version