Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
No edit summary
(One intermediate revision by one other user not shown)
Line 17: Line 17:
'''Int''' - An integer, or whole number. Cannot use decimal values.  
'''Int''' - An integer, or whole number. Cannot use decimal values.  


'''Float''' - A decimal, specifically one that does not exceed more than 1 significiant digit
'''Float''' - A decimal, specifically one that does not exceed more than 1 significant digit


'''Object''' - This is a bit more complex, but essentially objects are the items, blocks and entities that can be interacted with. In most cases, when an "object" type appears it means you must use a specific item variant code, which follows the "itemcode-variant_1-variant_2-variant_n" style of naming.  
'''Object''' - This is a bit more complex, but essentially objects are the items, blocks and entities that can be interacted with. In most cases, when an "object" type appears it means you must use a specific item variant code, which follows the "itemcode-variant_1-variant_2-variant_n" style of naming.  
219

edits