aboutsummaryrefslogtreecommitdiff
path: root/building_guide/tips.md
diff options
context:
space:
mode:
Diffstat (limited to 'building_guide/tips.md')
-rw-r--r--building_guide/tips.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/building_guide/tips.md b/building_guide/tips.md
index 307ea1e..b4abeb9 100644
--- a/building_guide/tips.md
+++ b/building_guide/tips.md
@@ -19,3 +19,5 @@
9. **Shared depletion vs per-drop depletion.** Use `deplete_timer` for trees — the timer counts down while being chopped and regens when left alone. Use `depletes: true` on individual drops for rocks — they deplete on first successful gather.
10. **Mob wander config goes in the room YAML**, not the mob definition. This lets the same `man` wander differently in different rooms.
+
+11. **Use triggers to decouple cause and effect.** Objects set flags; triggers watch flags. This way the same "pull lever" action can spawn a boss in one room, open a door in another, and broadcast to the server — all by watching the same flag from different triggers. Room triggers keep local events local; global triggers (`data/triggers/`) handle server-wide events.