Difference between revisions of "Clothing JSON Mod Format"
(Created page with "Entity JSON supports a variety of parameters to create custom objects. JSON definitions can specify each as programmable (LUA) or literal values. {| class="wikitable" !Return...") |
(Tag: Visual edit) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Entity JSON supports a variety of parameters to create custom objects. JSON definitions can specify each as programmable (LUA) or literal values. | Entity JSON supports a variety of parameters to create custom objects. JSON definitions can specify each as programmable (LUA) or literal values. | ||
+ | |||
+ | (All [[Entity Mod JSON Format|Entity JSON]] parameters are also supported!) | ||
+ | |||
+ | Note that clothing uses a type of 'CLOTHING' instead of 'ENTITY' | ||
{| class="wikitable" | {| class="wikitable" | ||
!Return Type | !Return Type | ||
!Parameter | !Parameter | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|boolean | |boolean | ||
− | |''' | + | |'''isVulnerableToMasculineTheft''' |
− | + | If true, this item can be lost in situations where masculine clothes are lost (currently only the thief scene). | |
− | |||
− | |||
|- | |- | ||
|boolean | |boolean | ||
− | |''' | + | |'''isConcealableClothing''' |
− | + | If true, this item can conceal a transformation in the slot it is in (true for most clothing items). | |
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |string |
− | |''' | + | |'''getSlot''' |
− | + | Which [[Clothing slot|slot]] the clothes exists in. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | This should almost certainly be a literal string -- changing this value during run-time will lead to unknown results. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 02:10, 30 December 2017
Entity JSON supports a variety of parameters to create custom objects. JSON definitions can specify each as programmable (LUA) or literal values.
(All Entity JSON parameters are also supported!)
Note that clothing uses a type of 'CLOTHING' instead of 'ENTITY'
Return Type | Parameter |
---|---|
boolean | isVulnerableToMasculineTheft
If true, this item can be lost in situations where masculine clothes are lost (currently only the thief scene). |
boolean | isConcealableClothing
If true, this item can conceal a transformation in the slot it is in (true for most clothing items). |
string | getSlot
Which slot the clothes exists in. This should almost certainly be a literal string -- changing this value during run-time will lead to unknown results. |