Changes

Jump to navigation Jump to search
→‎Big craftables: Fragility Field
Line 655: Line 655:  
| The gold price when sold by the player. This is not the price when bought from a shop.
 
| The gold price when sold by the player. This is not the price when bought from a shop.
 
|-
 
|-
| edibility
+
| Fragility
|
+
| integer
| See edibility for [[#Objects|object data]]. Always set to <samp>-300</samp> (inedible) for vanilla items.
  −
|-
  −
| type and category
  −
|
  −
| See type and category for [[#Objects|object data]]. Always set to <samp>Crafting -9</samp> for vanilla items.
  −
|-
  −
| description
  −
|
  −
| The translated item description shown in-game.
  −
|-
  −
| outdoors
  −
|
  −
| Whether the item can be placed outdoors (<samp>true</samp> or <samp>false</samp>).
  −
|-
  −
| indoors
  −
|
  −
| Whether the item can be placed indoors (<samp>true</samp> or <samp>false</samp>).
  −
|-
  −
| fragility
  −
|
   
| How the item is removed by tools. Possible values:
 
| How the item is removed by tools. Possible values:
 
{| class="wikitable"
 
{| class="wikitable"
Line 692: Line 672:  
| Indestructible. The item can't be removed once placed.
 
| Indestructible. The item can't be removed once placed.
 
|}
 
|}
 +
|-
 +
| outdoors
 +
|
 +
| Whether the item can be placed outdoors (<samp>true</samp> or <samp>false</samp>).
 +
|-
 +
| indoors
 +
|
 +
| Whether the item can be placed indoors (<samp>true</samp> or <samp>false</samp>).
 
|-
 
|-
 
| is lamp
 
| is lamp
46

edits

Navigation menu