aboutsummaryrefslogtreecommitdiff
path: root/data/triggers
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 20:33:47 -0400
committerhistoria <[not public]>2026-06-25 20:33:47 -0400
commit84d74ca4351a97148ad8339676f9df7946bc21fb (patch)
treea9f50ac56e8bbcdf2b307ef6f7143b67bce46c61 /data/triggers
parentc55d0e4150b23f2c5c9f96bbc3d4dc2fc6dbaa36 (diff)
downloadthehouseoficarus-84d74ca4351a97148ad8339676f9df7946bc21fb.tar.gz
feat: trigger system for scripted events added.
Diffstat (limited to 'data/triggers')
-rw-r--r--data/triggers/announce_99.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/triggers/announce_99.yaml b/data/triggers/announce_99.yaml
new file mode 100644
index 0000000..a6f0e9e
--- /dev/null
+++ b/data/triggers/announce_99.yaml
@@ -0,0 +1,6 @@
+# Example global trigger: announces when a player reaches level 99 in any skill.
+# The game code sets the player flag 'announce_99_skill' to the skill name
+# (e.g. "attack", "strength") when a player hits level 99.
+on_player_flag: announce_99_skill
+steps:
+ - broadcast_global: "%p has reached level 99 %v!"