diff options
| author | historia <[not public]> | 2026-06-16 23:37:50 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-16 23:37:50 -0400 |
| commit | 389e307f205f9b7edf604fb9f86e1038ead736ef (patch) | |
| tree | 595095b5877cc2b0513d31fb126303d8796cc311 /worldbuilding_guide/behaviors.md | |
| parent | 085e728d22a3369bd110b77409914cfbe9ebe611 (diff) | |
| download | thehouseoficarus-389e307f205f9b7edf604fb9f86e1038ead736ef.tar.gz | |
feat: major xterm256 color overhaul, see worldbuilding docs.
Diffstat (limited to 'worldbuilding_guide/behaviors.md')
| -rw-r--r-- | worldbuilding_guide/behaviors.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/worldbuilding_guide/behaviors.md b/worldbuilding_guide/behaviors.md index a275c60..8e47883 100644 --- a/worldbuilding_guide/behaviors.md +++ b/worldbuilding_guide/behaviors.md @@ -21,7 +21,7 @@ drops: - 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 copper ore." + message: "You manage to mine some {178}copper ore{/}." - table: gem_table # reference a shared drop table weight: 10 depletes: false # gem drops don't deplete the rock @@ -31,6 +31,8 @@ respawn_message: "You see more ore in the rock." 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{/}`. + Non-depleting gather (fishing): ```yaml id: fish_trout @@ -50,7 +52,7 @@ drops: - item_id: raw_trout weight: 100 depletes: false # never depletes - message: "You catch a trout!" + message: "You catch a {69}raw trout{/}!" ``` Woodcutting with shared depletion and bird's nests: @@ -72,7 +74,7 @@ drops: - item_id: oak_logs weight: 100 depletes: false # depletion is timer-based (deplete_timer) - message: "You get some oak logs." + message: "You get some {113}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 @@ -99,7 +101,7 @@ drops: - item_id: logs weight: 100 depletes: true # regular tree depletes on first successful gather - message: "You get some logs." + message: "You get some {107}logs{/}." respawn_timer: 80 respawn_message: "A new tree grows in its place." respawn_broadcast: "A {name} grows back." |
