Clothing JSON Mod Format: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
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 | ||
|''' | |'''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 | |string | ||
|''' | |'''getSlot''' | ||
Which [[Clothing slot|slot]] the clothes exists in. | |||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
|} | |} |
Revision as of 02:03, 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. |