aboutsummaryrefslogtreecommitdiff
path: root/data/triggers
diff options
context:
space:
mode:
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!"