diff options
| author | historia <[not public]> | 2026-07-13 20:36:26 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-13 20:36:26 -0400 |
| commit | 5ea48c1f91298b42924f6865ffc30810cceec2d3 (patch) | |
| tree | f13ba8276e66493750b72124d75da8911311ff6f /data | |
| parent | 223d198c95b64d3d803be5d914c5b899dd30c8eb (diff) | |
| download | thehouseoficarus-5ea48c1f91298b42924f6865ffc30810cceec2d3.tar.gz | |
feat(admin): triggers organized by directory, support duplicate and delete
Diffstat (limited to 'data')
| -rw-r--r-- | data/.admin_history.json | 2 | ||||
| -rw-r--r-- | data/triggers/player_flag/announce_99_copy.yaml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/data/.admin_history.json b/data/.admin_history.json index 85b92cf..6628a6e 100644 --- a/data/.admin_history.json +++ b/data/.admin_history.json @@ -1 +1 @@ -{"history":[{"time":"2026-07-13T19:53:39-04:00","description":"update room 1010","file_path":"data/rooms/intro/1010.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n north:\n room: 1009\n west:\n room: 1007\nhazard: \"\"\nid: 1010\nitem_spawns: []\nmobs: []\nname: 'Room #1010'\nobjects: []\non_enter: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n north:\n room: 1009\n west:\n room: 1007\nhazard: \"\"\nid: 1010\nitem_spawns: []\nmobs: []\nname: 'Room #1010'\nobjects:\n - id: 000_test_object\non_enter: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-13T19:53:49-04:00","description":"update room 1010","file_path":"data/rooms/intro/1010.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n north:\n room: 1009\n west:\n room: 1007\nhazard: \"\"\nid: 1010\nitem_spawns: []\nmobs: []\nname: 'Room #1010'\nobjects:\n - id: 000_test_object\non_enter: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n north:\n room: 1009\n west:\n room: 1007\nhazard: \"\"\nid: 1010\nitem_spawns: []\nmobs: []\nname: 'Room #1010'\nobjects: []\non_enter: []\ntriggers: []\n","is_delete":false,"is_create":false}],"redo":null}
\ No newline at end of file +{"history":[{"time":"2026-07-13T20:31:17-04:00","description":"Created trigger announce_99_copy","file_path":"data/triggers/player_flag/announce_99_copy.yaml","old_content":"","new_content":"on_player_flag: \"\"\nsteps: []\n","is_delete":false,"is_create":true},{"time":"2026-07-13T20:31:17-04:00","description":"Update trigger announce_99_copy","file_path":"data/triggers/player_flag/announce_99_copy.yaml","old_content":"on_player_flag: \"\"\nsteps: []\n","new_content":"steps:\n - broadcast_global: '%p has reached level 99 %v!'\non_player_flag: announce_99_skill\n","is_delete":false,"is_create":false}],"redo":null}
\ No newline at end of file diff --git a/data/triggers/player_flag/announce_99_copy.yaml b/data/triggers/player_flag/announce_99_copy.yaml new file mode 100644 index 0000000..2c3f789 --- /dev/null +++ b/data/triggers/player_flag/announce_99_copy.yaml @@ -0,0 +1,3 @@ +steps: + - broadcast_global: '%p has reached level 99 %v!' +on_player_flag: announce_99_skill |
