From 069d3c1c81d71042706372df153254487a765dfc Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 29 Jun 2026 22:31:11 -0400 Subject: feat: wip web admin for mapping and crud --- data/rooms/intro/1.yaml | 16 ++++ data/rooms/intro/10.yaml | 12 +++ data/rooms/intro/1001.yaml | 206 +++++++++++++++++++++++++++++++++------------ data/rooms/intro/1005.yaml | 24 +++--- data/rooms/intro/1007.yaml | 18 ++-- data/rooms/intro/1008.yaml | 26 +++--- data/rooms/intro/1009.yaml | 14 +-- data/rooms/intro/1012.yaml | 8 +- data/rooms/intro/1015.yaml | 15 ---- data/rooms/intro/1016.yaml | 28 +++--- data/rooms/intro/12.yaml | 4 + data/rooms/intro/2.yaml | 16 ++++ data/rooms/intro/2001.yaml | 28 +++--- data/rooms/intro/2002.yaml | 26 +++--- data/rooms/intro/2003.yaml | 34 ++++---- data/rooms/intro/3.yaml | 18 ++++ data/rooms/intro/4.yaml | 16 ++++ data/rooms/intro/5.yaml | 6 ++ data/rooms/intro/6.yaml | 4 + data/rooms/intro/7.yaml | 4 + data/rooms/intro/8.yaml | 14 +++ data/rooms/intro/9.yaml | 12 +++ 22 files changed, 385 insertions(+), 164 deletions(-) create mode 100644 data/rooms/intro/1.yaml create mode 100644 data/rooms/intro/10.yaml delete mode 100644 data/rooms/intro/1015.yaml create mode 100644 data/rooms/intro/12.yaml create mode 100644 data/rooms/intro/2.yaml create mode 100644 data/rooms/intro/3.yaml create mode 100644 data/rooms/intro/4.yaml create mode 100644 data/rooms/intro/5.yaml create mode 100644 data/rooms/intro/6.yaml create mode 100644 data/rooms/intro/7.yaml create mode 100644 data/rooms/intro/8.yaml create mode 100644 data/rooms/intro/9.yaml (limited to 'data/rooms') diff --git a/data/rooms/intro/1.yaml b/data/rooms/intro/1.yaml new file mode 100644 index 0000000..fb1ba49 --- /dev/null +++ b/data/rooms/intro/1.yaml @@ -0,0 +1,16 @@ +id: 1 +name: 'Room #1' +color: "" +description: [] +exits: + northwest: + room: 2 + southeast: + room: 2002 +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] diff --git a/data/rooms/intro/10.yaml b/data/rooms/intro/10.yaml new file mode 100644 index 0000000..a98b261 --- /dev/null +++ b/data/rooms/intro/10.yaml @@ -0,0 +1,12 @@ +id: 10 +name: 'Room #10' +color: "" +description: [] +exits: {} +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] diff --git a/data/rooms/intro/1001.yaml b/data/rooms/intro/1001.yaml index 6f84799..66e1908 100644 --- a/data/rooms/intro/1001.yaml +++ b/data/rooms/intro/1001.yaml @@ -1,85 +1,185 @@ -name: "Inside Transport Shuttle" +id: 1001 +name: Inside Transport Shuttle +color: "" description: - - text: "A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large framed sign hangs next to the closed cockpit door. The piston-powered staircase is firmly closed at the rear of the craft." + - text: A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large framed sign hangs next to the closed cockpit door. The piston-powered staircase is firmly closed at the rear of the craft. condition: - player_flag: 1001_touchdown + flag: "" + value: null not: true - - text: "A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large {11}framed sign{/} hangs next to the closed cockpit door. A piston-powered staircase leads down out the back of the small craft with a smiling attendant ready to help disembark." + player_flag: 1001_touchdown + has_item: "" + min_credits: 0 + all_of: [] + any_of: [] + - text: A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large {11}framed sign{/} hangs next to the closed cockpit door. A piston-powered staircase leads down out the back of the small craft with a smiling attendant ready to help disembark. +exits: + down: + room: 1002 + condition: + flag: "" + value: null + not: false + player_flag: 1001_touchdown + has_item: "" + min_credits: 0 + all_of: [] + any_of: [] + blocked_message: The piston-powered staircase is firmly closed. + east: + room: 2001 + up: + room: 6 objects: - name: framed sign hidden: true - description: |- - We hope you enjoy your trip on our shuttle! Your pilot is [TYLER]. - - When you arrive at your final destination, please be aware of the following basic commands: - - {0B bold}Movement:{/} {0A}north{/}, {0A}south{/}, {0A}east{/}, {0A}west{/}, {0A}up{/}, {0A}down{/} - {0B bold}Look:{/} {0A}look{/}, {0A}look {/}, and {0A}map{/} - {0B bold}Items:{/} {0A}inv{/} to see your 28-slot inventory - {0A}get {/}, {0A}drop {/}, {0A}wear {/}, {0A}remove {/} - {0A}use on {/} - {0A}eq{/} for equiped gear - {0B bold}Comms:{/} {0A}talk {/} for NPC chat - {0A}say {/} and {0A}global {/} for human chat - {0B bold}Character:{/} {0A}score{/} and {0A}skills{/} for stats. - {0B bold}Combat{/} {0A}attack {/} - {0B bold}Skills{/} Many skills have shortcuts like {0A}mine{/}, {0A}fish{/}, or {0A}chop{/} - {0B bold}Options{/} {0A}options{/} for a list of account options - {0A}options {/} to change an option - - Type {0C bold}what{/} for a list of possible common actions - - Make sure to check the {0A}help{/} pages, especially {0A}help newplayer{/}! + description: + - text: "We hope you enjoy your trip on our shuttle! Your pilot is [TYLER].\n\nWhen you arrive at your final destination, please be aware of the following basic commands:\n\n{0B bold}Movement:{/} {0A}north{/}, {0A}south{/}, {0A}east{/}, {0A}west{/}, {0A}up{/}, {0A}down{/}\n{0B bold}Look:{/} {0A}look{/}, {0A}look {/}, and {0A}map{/}\n{0B bold}Items:{/} {0A}inv{/} to see your 28-slot inventory\n {0A}get {/}, {0A}drop {/}, {0A}wear {/}, {0A}remove {/}\n {0A}use on {/}\n {0A}eq{/} for equiped gear\n{0B bold}Comms:{/} {0A}talk {/} for NPC chat\n {0A}say {/} and {0A}global {/} for human chat\n{0B bold}Character:{/} {0A}score{/} and {0A}skills{/} for stats. \n{0B bold}Combat{/} {0A}attack {/}\n{0B bold}Skills{/} Many skills have shortcuts like {0A}mine{/}, {0A}fish{/}, or {0A}chop{/}\n{0B bold}Options{/} {0A}options{/} for a list of account options\n {0A}options {/} to change an option\n\nType {0C bold}what{/} for a list of possible common actions\n\nMake sure to check the {0A}help{/} pages, especially {0A}help newplayer{/}!" on_look: + set_flags: {} set_player_flags: 1001_look_sign: true + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + cost: 0 + shop: null + assign_task: false + skip_task: false + extend_task: false + reputation_cost: 0 + sawmill: false + aps_node: false - name: door hidden: true - description: "A sturdy, locked steel door that keeps passengers out of the cockpit. There is a tiny, thin window at eye level." + description: + - text: A sturdy, locked steel door that keeps passengers out of the cockpit. There is a tiny, thin window at eye level. - name: window hidden: true - description: "A thick trim with rounded bolt heads frames the tiny window. It looks like it was cut into the door at some point, potentially as a simple replacement to computerized security systems. Inside the cockpit there's a pilot finishing up landing procedures on a large panel of analog instruments." + description: + - text: A thick trim with rounded bolt heads frames the tiny window. It looks like it was cut into the door at some point, potentially as a simple replacement to computerized security systems. Inside the cockpit there's a pilot finishing up landing procedures on a large panel of analog instruments. - name: instrument panel - aliases: [cockpit] + aliases: + - cockpit hidden: true - description: "The cramped cockpit is surrounded by buttons, swiches, dials, and analog gauges. The parts are a mix of technologies from the last century. Part of the panel is obscured by a draped cloth as if to hide it from view. Odd." + description: + - text: The cramped cockpit is surrounded by buttons, swiches, dials, and analog gauges. The parts are a mix of technologies from the last century. Part of the panel is obscured by a draped cloth as if to hide it from view. Odd. - name: pilot hidden: true - description: "That's the guy who took you from the Passenger Barge Denali down here to Vesta. A middle-aged man in a neat white jumpsuit with a matching white sort of conductor's hat. He's following a written procedure checklist and seems to take his job seriously." + description: + - text: That's the guy who took you from the Passenger Barge Denali down here to Vesta. A middle-aged man in a neat white jumpsuit with a matching white sort of conductor's hat. He's following a written procedure checklist and seems to take his job seriously. +item_spawns: [] mobs: - - flight_attendant -exits: - east: 2001 - down: - room: 1002 - condition: - player_flag: 1001_touchdown - blocked_message: "The piston-powered staircase is firmly closed." + - id: flight_attendant on_enter: - - condition: - player_flag: 1001_welcome + - message: '{0B bold}Welcome to The House of Icarus{/}' + condition: + flag: "" + value: null not: true - delay: 5 - message: "{0B bold}Welcome to The House of Icarus{/}" - - condition: player_flag: 1001_welcome + has_item: "" + min_credits: 0 + all_of: [] + any_of: [] + delay: 5 + set_flags: {} + set_player_flags: {} + broadcast: "" + broadcast_global: "" + spawn_mob: null + despawn_mob: "" + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + - message: '{0B}Type{/} {0A}look sign{/} {0B}or{/} {0A}talk attendant{/} {0B}to get started{/}' + condition: + flag: "" + value: null not: true + player_flag: 1001_welcome + has_item: "" + min_credits: 0 + all_of: [] + any_of: [] delay: 7 - message: "{0B}Type{/} {0A}look sign{/} {0B}or{/} {0A}talk attendant{/} {0B}to get started{/}" + set_flags: {} set_player_flags: 1001_welcome: true - - condition: - player_flag: 1001_welcome + broadcast: "" + broadcast_global: "" + spawn_mob: null + despawn_mob: "" + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + - message: '{0B}Type{/} {0A}help newplayer{/} {0B}for the new player''s guide. That''s it. Explore and have fun.{/}' + condition: + flag: "" + value: null not: true + player_flag: 1001_welcome + has_item: "" + min_credits: 0 + all_of: [] + any_of: [] delay: 7 - message: "{0B}Type{/} {0A}help newplayer{/} {0B}for the new player's guide. That's it. Explore and have fun.{/}" + set_flags: {} + set_player_flags: {} + broadcast: "" + broadcast_global: "" + spawn_mob: null + despawn_mob: "" + give_item: "" + take_item: "" + teleport: 0 + heal: 0 +hazard: "" +block_transport: true triggers: - - on_player_flag: 1001_look_sign + - id: "" + on_player_flag: 1001_look_sign + on_flag: "" + value: null + room: 0 steps: - delay: 5 - message: "The cabin shakes as the small craft touches down" + message: The cabin shakes as the small craft touches down + broadcast: "" + broadcast_global: "" + set_flags: {} + set_player_flags: {} + spawn_mob: null + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + despawn_mob: "" - delay: 5 - message: "The pistons hiss as the rear staircase opens" - - set_player_flags: + message: The pistons hiss as the rear staircase opens + broadcast: "" + broadcast_global: "" + set_flags: {} + set_player_flags: {} + spawn_mob: null + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + despawn_mob: "" + - delay: 0 + message: "" + broadcast: "" + broadcast_global: "" + set_flags: {} + set_player_flags: 1001_touchdown: true -block_transport: true + spawn_mob: null + give_item: "" + take_item: "" + teleport: 0 + heal: 0 + despawn_mob: "" diff --git a/data/rooms/intro/1005.yaml b/data/rooms/intro/1005.yaml index 1d6f521..21c6633 100644 --- a/data/rooms/intro/1005.yaml +++ b/data/rooms/intro/1005.yaml @@ -2,18 +2,20 @@ id: 1005 name: New Room color: "" description: - - text: A featureless room. + - text: A featureless room. exits: - northeast: - room: 1016 - south: - room: 1006 - southeast: - room: 1007 - southwest: - room: 2003 - west: - room: 1008 + east: + room: 1009 + northeast: + room: 1016 + south: + room: 1006 + southeast: + room: 1007 + southwest: + room: 2003 + west: + room: 1008 objects: [] item_spawns: [] mobs: [] diff --git a/data/rooms/intro/1007.yaml b/data/rooms/intro/1007.yaml index 5d47fa4..4af0a79 100644 --- a/data/rooms/intro/1007.yaml +++ b/data/rooms/intro/1007.yaml @@ -2,14 +2,18 @@ id: 1007 name: New Room color: "" description: - - text: A featureless room. + - text: A featureless room. exits: - northwest: - room: 1005 - south: - room: 1014 - west: - room: 1006 + down: + room: 12 + northwest: + room: 1005 + south: + room: 1014 + up: + room: 11 + west: + room: 1006 objects: [] item_spawns: [] mobs: [] diff --git a/data/rooms/intro/1008.yaml b/data/rooms/intro/1008.yaml index a889954..a7a8a2f 100644 --- a/data/rooms/intro/1008.yaml +++ b/data/rooms/intro/1008.yaml @@ -1,17 +1,21 @@ -id: 1008 -name: New Room -color: "" +block_transport: false +color: 00FFFF description: - - text: A featureless room. + - text: A featureless room. exits: - east: - room: 1005 - southeast: - room: 1006 -objects: [] + east: + room: 1005 + north: + room: 7 + south: + room: 2003 + southeast: + room: 1006 +hazard: "" +id: 1008 item_spawns: [] mobs: [] +name: New Room +objects: [] on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/1009.yaml b/data/rooms/intro/1009.yaml index d95cdfd..7a0886d 100644 --- a/data/rooms/intro/1009.yaml +++ b/data/rooms/intro/1009.yaml @@ -2,12 +2,16 @@ id: 1009 name: New Room color: "" description: - - text: A featureless room. + - text: A featureless room. exits: - north: - room: 1016 - southwest: - room: 1006 + north: + room: 1016 + northwest: + room: 8 + southwest: + room: 1006 + west: + room: 1005 objects: [] item_spawns: [] mobs: [] diff --git a/data/rooms/intro/1012.yaml b/data/rooms/intro/1012.yaml index 6d83cff..20f6aa8 100644 --- a/data/rooms/intro/1012.yaml +++ b/data/rooms/intro/1012.yaml @@ -2,12 +2,10 @@ id: 1012 name: New Room color: "" description: - - text: A featureless room. + - text: A featureless room. exits: - south: - room: 1013 - west: - room: 1011 + south: + room: 1013 objects: [] item_spawns: [] mobs: [] diff --git a/data/rooms/intro/1015.yaml b/data/rooms/intro/1015.yaml deleted file mode 100644 index 74686bd..0000000 --- a/data/rooms/intro/1015.yaml +++ /dev/null @@ -1,15 +0,0 @@ -id: 0 -name: New Room -color: "" -description: - - text: A featureless room. -exits: - down: - room: 1014 -objects: [] -item_spawns: [] -mobs: [] -on_enter: [] -hazard: "" -block_transport: false -triggers: [] diff --git a/data/rooms/intro/1016.yaml b/data/rooms/intro/1016.yaml index 287af37..8023b39 100644 --- a/data/rooms/intro/1016.yaml +++ b/data/rooms/intro/1016.yaml @@ -1,21 +1,19 @@ -id: 1016 -name: New Room -color: "" +block_transport: false +color: "97" description: - - text: A featureless room. + - text: A featureless room. exits: - down: - room: 1017 - south: - room: 1009 - southeast: - room: 1018 - southwest: - room: 1005 -objects: [] + down: + room: 1017 + south: + room: 1009 + southwest: + room: 1005 +hazard: "" +id: 1016 item_spawns: [] mobs: [] +name: New Room +objects: [] on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/12.yaml b/data/rooms/intro/12.yaml new file mode 100644 index 0000000..89bfe35 --- /dev/null +++ b/data/rooms/intro/12.yaml @@ -0,0 +1,4 @@ +exits: + up: 1007 +id: 12 +name: 'Room #12' diff --git a/data/rooms/intro/2.yaml b/data/rooms/intro/2.yaml new file mode 100644 index 0000000..37f7c70 --- /dev/null +++ b/data/rooms/intro/2.yaml @@ -0,0 +1,16 @@ +id: 2 +name: 'Room #2' +color: "" +description: [] +exits: + northeast: + room: 3 + southeast: + room: 1 +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] diff --git a/data/rooms/intro/2001.yaml b/data/rooms/intro/2001.yaml index dc82c06..9f44298 100644 --- a/data/rooms/intro/2001.yaml +++ b/data/rooms/intro/2001.yaml @@ -1,21 +1,21 @@ -id: 2001 -name: Test Room +block_transport: false color: "" description: - - text: It's a test room + - text: It's a test room exits: - east: - room: 2002 - south: - room: 2006 - southeast: - room: 2005 - west: - room: 1001 -objects: [] + east: + room: 2002 + south: + room: 2006 + southeast: + room: 2005 + west: + room: 1001 +hazard: "" +id: 2001 item_spawns: [] mobs: [] +name: Test Room +objects: [] on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/2002.yaml b/data/rooms/intro/2002.yaml index ce2dede..744fbb2 100644 --- a/data/rooms/intro/2002.yaml +++ b/data/rooms/intro/2002.yaml @@ -1,19 +1,21 @@ -id: 2002 -name: Test Room +block_transport: false color: "" description: - - text: It's a test room + - text: It's a test room exits: - east: - room: 2003 - southeast: - room: 2004 - west: - room: 2001 -objects: [] + east: + room: 2003 + northwest: + room: 1 + southeast: + room: 2004 + west: + room: 2001 +hazard: "" +id: 2002 item_spawns: [] mobs: [] +name: Test Room +objects: [] on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/2003.yaml b/data/rooms/intro/2003.yaml index 8e80cff..3fcc0c2 100644 --- a/data/rooms/intro/2003.yaml +++ b/data/rooms/intro/2003.yaml @@ -1,23 +1,25 @@ -id: 2003 -name: Test Room +block_transport: false color: "" description: - - text: It's a test room + - text: It's a test room exits: - east: - room: 1006 - northeast: - room: 1005 - south: - room: 2004 - southwest: - room: 2005 - west: - room: 2002 -objects: [] + east: + room: 1006 + north: + room: 1008 + northeast: + room: 1005 + south: + room: 2004 + southwest: + room: 2005 + west: + room: 2002 +hazard: "" +id: 2003 item_spawns: [] mobs: [] +name: Test Room +objects: [] on_enter: [] -hazard: "" -block_transport: false triggers: [] diff --git a/data/rooms/intro/3.yaml b/data/rooms/intro/3.yaml new file mode 100644 index 0000000..75a05c5 --- /dev/null +++ b/data/rooms/intro/3.yaml @@ -0,0 +1,18 @@ +block_transport: false +color: "" +description: [] +exits: + south: + room: 5 + southeast: + room: 4 + southwest: + room: 2 +hazard: "" +id: 3 +item_spawns: [] +mobs: [] +name: 'Room #3' +objects: [] +on_enter: [] +triggers: [] diff --git a/data/rooms/intro/4.yaml b/data/rooms/intro/4.yaml new file mode 100644 index 0000000..e7b81a8 --- /dev/null +++ b/data/rooms/intro/4.yaml @@ -0,0 +1,16 @@ +id: 4 +name: 'Room #4' +color: "" +description: [] +exits: + northwest: + room: 3 + west: + room: 5 +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] diff --git a/data/rooms/intro/5.yaml b/data/rooms/intro/5.yaml new file mode 100644 index 0000000..0e11af4 --- /dev/null +++ b/data/rooms/intro/5.yaml @@ -0,0 +1,6 @@ +exits: + east: 4 + north: + room: 3 +id: 5 +name: 'Room #5' diff --git a/data/rooms/intro/6.yaml b/data/rooms/intro/6.yaml new file mode 100644 index 0000000..5f16cfc --- /dev/null +++ b/data/rooms/intro/6.yaml @@ -0,0 +1,4 @@ +exits: + down: 1001 +id: 6 +name: 'Room #6' diff --git a/data/rooms/intro/7.yaml b/data/rooms/intro/7.yaml new file mode 100644 index 0000000..9c73429 --- /dev/null +++ b/data/rooms/intro/7.yaml @@ -0,0 +1,4 @@ +exits: + south: 1008 +id: 7 +name: 'Room #7' diff --git a/data/rooms/intro/8.yaml b/data/rooms/intro/8.yaml new file mode 100644 index 0000000..2edf88c --- /dev/null +++ b/data/rooms/intro/8.yaml @@ -0,0 +1,14 @@ +id: 8 +name: 'Room #8' +color: "" +description: [] +exits: + southeast: + room: 1009 +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] diff --git a/data/rooms/intro/9.yaml b/data/rooms/intro/9.yaml new file mode 100644 index 0000000..2476d76 --- /dev/null +++ b/data/rooms/intro/9.yaml @@ -0,0 +1,12 @@ +id: 9 +name: 'Room #9' +color: "" +description: [] +exits: {} +objects: [] +item_spawns: [] +mobs: [] +on_enter: [] +hazard: "" +block_transport: false +triggers: [] -- cgit v1.2.3