From 8a31ffa45e912d00c480efe738aa3452e9e567cb Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 10 Jul 2026 12:52:00 -0400 Subject: fix(admin): auto-save map triggers on blur --- data/.admin_history.json | 2 +- data/rooms/intro/1006.yaml | 14 +++++++++----- data/rooms/intro/1007.yaml | 2 +- data/rooms/intro/1008.yaml | 2 +- data/rooms/intro/1009.yaml | 8 ++++++-- data/rooms/intro/1010.yaml | 2 +- 6 files changed, 19 insertions(+), 11 deletions(-) (limited to 'data') diff --git a/data/.admin_history.json b/data/.admin_history.json index 9e9cf94..1d37cbf 100644 --- a/data/.admin_history.json +++ b/data/.admin_history.json @@ -1 +1 @@ -{"history":[{"time":"2026-07-10T00:42:52-04:00","description":"update room 1008","file_path":"data/rooms/intro/1008.yaml","old_content":"block_transport: false\ncolor: \"52\"\ndescription: []\nexits:\n east:\n room: 1009\n south:\n room: 1007\nhazard: \"\"\nid: 1008\nitem_spawns: []\nmobs: []\nname: 'Room #1008'\nobjects: []\non_enter:\n - steps:\n - messages:\n - \"\"\non_exit:\n - steps: []\n","new_content":"block_transport: false\ncolor: \"52\"\ndescription: []\nexits:\n east:\n room: 1009\n south:\n room: 1007\nhazard: \"\"\nid: 1008\nitem_spawns: []\nmobs: []\nname: 'Room #1008'\nobjects: []\non_enter:\n - steps:\n - messages:\n - dsadasdsa\non_exit:\n - steps: []\n","is_delete":false,"is_create":false}],"redo":null} \ No newline at end of file +{"history":[{"time":"2026-07-10T12:49:24-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps: []\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-10T12:49:26-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps: []\non_exit: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - \"\"\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-10T12:49:27-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - \"\"\non_exit: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-10T12:49:27-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-10T12:49:35-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - lock: true\n steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false},{"time":"2026-07-10T12:49:39-04:00","description":"update room 1009","file_path":"data/rooms/intro/1009.yaml","old_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - lock: true\n steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","new_content":"block_transport: false\ncolor: D3\ndescription: []\nexits:\n south:\n room: 1010\n southwest:\n always_blocked: true\n hidden: true\n room: 1007\n west:\n room: 1008\nhazard: \"\"\nid: 1009\nitem_spawns: []\nmobs: []\nname: 'Room #1009'\nobjects: []\non_enter:\n - steps:\n - messages:\n - fdsa\non_exit: []\ntriggers: []\n","is_delete":false,"is_create":false}],"redo":null} \ No newline at end of file diff --git a/data/rooms/intro/1006.yaml b/data/rooms/intro/1006.yaml index 3f8aa24..7bd4af5 100644 --- a/data/rooms/intro/1006.yaml +++ b/data/rooms/intro/1006.yaml @@ -1,14 +1,18 @@ -id: 1006 -name: 'Room #1006' +block_transport: false color: "" description: [] exits: west: room: 1005 -objects: [] +hazard: "" +id: 1006 item_spawns: [] mobs: [] +name: 'Room #1006' +objects: + - aliases: [] + description: [] + hidden: false + name: "" on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/1007.yaml b/data/rooms/intro/1007.yaml index da75334..ca6c580 100644 --- a/data/rooms/intro/1007.yaml +++ b/data/rooms/intro/1007.yaml @@ -1,5 +1,5 @@ block_transport: false -color: "52" +color: D3 description: [] exits: east: diff --git a/data/rooms/intro/1008.yaml b/data/rooms/intro/1008.yaml index a7f7d4d..8d8fa28 100644 --- a/data/rooms/intro/1008.yaml +++ b/data/rooms/intro/1008.yaml @@ -1,5 +1,5 @@ block_transport: false -color: "52" +color: D3 description: [] exits: east: diff --git a/data/rooms/intro/1009.yaml b/data/rooms/intro/1009.yaml index dfa5d46..5a09f22 100644 --- a/data/rooms/intro/1009.yaml +++ b/data/rooms/intro/1009.yaml @@ -1,5 +1,5 @@ block_transport: false -color: "52" +color: D3 description: [] exits: south: @@ -16,5 +16,9 @@ item_spawns: [] mobs: [] name: 'Room #1009' objects: [] -on_enter: [] +on_enter: + - steps: + - messages: + - fdsa +on_exit: [] triggers: [] diff --git a/data/rooms/intro/1010.yaml b/data/rooms/intro/1010.yaml index 48d3947..00c01ad 100644 --- a/data/rooms/intro/1010.yaml +++ b/data/rooms/intro/1010.yaml @@ -1,5 +1,5 @@ block_transport: false -color: "52" +color: D3 description: [] exits: north: -- cgit v1.2.3