aboutsummaryrefslogtreecommitdiff
path: root/building_guide/behaviors.md
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /building_guide/behaviors.md
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'building_guide/behaviors.md')
-rw-r--r--building_guide/behaviors.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/building_guide/behaviors.md b/building_guide/behaviors.md
index 60428d6..b8668d8 100644
--- a/building_guide/behaviors.md
+++ b/building_guide/behaviors.md
@@ -10,7 +10,7 @@ The examples below are object/mob files; remember the filename is the ID for the
Mining — per-drop depletion on a rock object:
```yaml
name: copper rock
-color: "178"
+color: "B2"
gather:
skill: mining
level: 1
@@ -28,7 +28,7 @@ gather:
- item_id: copper_ore
weight: 90 # 90% chance when roll succeeds
depletes: true # rock becomes depleted after this drop
- message: "You manage to mine some {178}copper ore{/}."
+ message: "You manage to mine some {B2}copper ore{/}."
- table: gem_table # reference a shared drop table
weight: 10
depletes: false # gem drops don't deplete the rock
@@ -37,8 +37,8 @@ gather:
respawn_broadcast: "A glint of copper catches your eye from some {name}."
```
-Drop messages support inline color tags: `{<0-255>}text{/}`. Use the item's color
-index to match its display color. Gradients also work: `{g:196,82}text{/}`.
+Drop messages support inline color tags: `{<00-FF>}text{/}`. Use the item's color
+index to match its display color. Gradients also work: `{g:C4,52}text{/}`.
Non-depleting gather (fishing on a fishing spot object):
```yaml
@@ -61,13 +61,13 @@ gather:
- item_id: raw_trout
weight: 100
depletes: false # never depletes
- message: "You catch a {69}raw trout{/}!"
+ message: "You catch a {45}raw trout{/}!"
```
Woodcutting with shared depletion and bird's nests:
```yaml
name: oak tree
-color: "113"
+color: "71"
gather:
skill: woodcutting
level: 15
@@ -85,7 +85,7 @@ gather:
- item_id: oak_logs
weight: 100
depletes: false # depletion is timer-based (deplete_timer)
- message: "You get some {113}oak logs{/}."
+ message: "You get some {71}oak logs{/}."
respawn_timer: 14 # ticks until tree respawns after being cut down
deplete_timer: 45 # max ticks before next gather depletes (counts down while chopping)
nest_chance: 256 # 1/256 chance for a bird's nest on each successful gather
@@ -112,7 +112,7 @@ gather:
- item_id: logs
weight: 100
depletes: true # regular tree depletes on first successful gather
- message: "You get some {107}logs{/}."
+ message: "You get some {6B}logs{/}."
respawn_timer: 80
respawn_broadcast: "A {name} grows back."
```
@@ -530,7 +530,7 @@ Use configs go under the `use:` key on objects (e.g. furnaces, ranges):
```yaml
name: furnace
-color: "208"
+color: "D0"
use:
message: "You place the ore in the furnace..."
wait: 4