From eb7fa5392997ac5c165d1ae011e57a1b7fcac084 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 1 Sep 2024 20:09:06 +0200 Subject: server support for nested map directory --- data/maps/campaign/01.yaml | 70 +++++++++++++++++++++++++++++++++++++++++++ data/maps/campaign/lobby.yaml | 59 ++++++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 data/maps/campaign/01.yaml create mode 100644 data/maps/campaign/lobby.yaml (limited to 'data/maps') diff --git a/data/maps/campaign/01.yaml b/data/maps/campaign/01.yaml new file mode 100644 index 00000000..8fe64c5b --- /dev/null +++ b/data/maps/campaign/01.yaml @@ -0,0 +1,70 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 metamuffin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +score_baseline: 100 +map: + - "*''''*'''*'''''*'''" + - "'''*''''*'*'*'''*'*" + - "''████▒█████▒███'*" + - "*'█tc....█..~.s█''" + - "''▒c.ctc.d....⌷█'*" + - "'*█tc.c..█....C█'*" + - "''█c.....█XTppp█''" + - "*'████dd████████''" + - "'*''''__'''''''''''" + - "'''*''____________!" + - "'*'''''''''''''''''" + +tiles: + "⌷": counter + "p": counter + "t": table + "w": counter-window + "s": sink + "C": cuttingboard + "T": tomato-crate + "X": trash + + "c": chair + "~": floor + ".": floor + "'": grass + "*": tree + "!": path + "_": path + "d": door + "▒": wall-window + "█": wall + +items: + "p": plate + +entities: + - !customers + +chef_spawn: "~" +customer_spawn: "!" + +walkable: + - door + - floor + - chair + - grass + - path + +collider: + - wall + - wall-window + - tree diff --git a/data/maps/campaign/lobby.yaml b/data/maps/campaign/lobby.yaml new file mode 100644 index 00000000..6090d96a --- /dev/null +++ b/data/maps/campaign/lobby.yaml @@ -0,0 +1,59 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 metamuffin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +score_baseline: 0 +map: + - "'*''''''''''''*'" + - "*'''''*'''*'''''" + - "'*''*''''*'*'*'*" + - "*''''''''''''*''" + - "*''''''''''''**'" + - "''''''''''''''''" + - "''*''''''''''*'*" + - "'*'''''~''''''''" + - "''''''''''''''*'" + - "'*'''''''''''*''" + - "''*'''''''''''*'" + - "'''''''''''''*''" + - "'*'''''''''''*''" + - "''*'''*'''*''*''" + - "'*''*''**'''**''" + - "*'''''''''*''''*" + +tiles: + "t": table + "T": table + "s": sink + "c": chair + "~": floor + ".": floor + "b": book + "'": grass + "*": tree + "█": wall + +items: + "t": tomato-soup-plate + "T": bread-slice-plate + +chef_spawn: "~" +customer_spawn: "!" + +walkable: + - floor + - chair + - grass +collider: + - wall -- cgit v1.2.3-70-g09d2