aboutsummaryrefslogtreecommitdiff
path: root/building_guide/items.md
diff options
context:
space:
mode:
Diffstat (limited to 'building_guide/items.md')
-rw-r--r--building_guide/items.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/building_guide/items.md b/building_guide/items.md
index 658acb9..8f8d87d 100644
--- a/building_guide/items.md
+++ b/building_guide/items.md
@@ -7,7 +7,7 @@ tables, craft `consume`, room `item_spawns`) uses that filename.
```yaml
name: bronze pickaxe
-color: "178" # xterm-256 color index (0-255)
+color: "B2" # xterm-256 color index (00-FF)
aliases: ["pick", "pickaxe"]
description: "A sturdy bronze pickaxe."
value: 10
@@ -98,15 +98,15 @@ stats:
### Color
-The `color` field accepts xterm-256 palette indices (0-255) with optional modifiers:
+The `color` field accepts xterm-256 palette indices (00-FF, hex) with optional modifiers:
```yaml
-color: "178" # bronze/gold
-color: "75 bold" # bold steel blue
-color: "g:196,208,226" # gradient red → orange → gold
+color: "B2" # bronze/gold
+color: "4B bold" # bold steel blue
+color: "g:C4,D0,E2" # gradient red → orange → gold
```
-In ANSI mode, extended colors (16-255) automatically downgrade to the nearest ANSI color. Use `colortable` in-game to see all 256 colors.
+In ANSI mode, extended colors (10-FF) automatically downgrade to the nearest ANSI color. Use `colortable` in-game to see all 256 colors.
Key item (quest token, not equippable):
```yaml
@@ -131,7 +131,7 @@ burn_ticks: 24 # how long the fire burns
```yaml
name: bread
-color: "222"
+color: "DE"
description: "A fresh loaf of bread, still warm from the oven."
value: 5
heal_value: 5 # positive = heal, negative = damage
@@ -144,7 +144,7 @@ Define what items combine to make this item. Used by the `use` command. Combinat
```yaml
name: bread dough
-color: "222"
+color: "DE"
ticks: 2
made_from:
- items: [pot_of_flour]