aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-01 20:09:06 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-01 20:09:06 +0200
commiteb7fa5392997ac5c165d1ae011e57a1b7fcac084 (patch)
treededaf078a8817a976ead6568dbf93bf79f3f395b /data
parent4ad82d4944bc8ea00fcfe324c8004b079ec48c18 (diff)
downloadhurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar
hurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar.bz2
hurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar.zst
server support for nested map directory
Diffstat (limited to 'data')
-rw-r--r--data/index.yaml2
-rw-r--r--data/makefile2
-rw-r--r--data/maps/campaign/01.yaml70
-rw-r--r--data/maps/campaign/lobby.yaml59
4 files changed, 130 insertions, 3 deletions
diff --git a/data/index.yaml b/data/index.yaml
index 2073fd5d..199ed423 100644
--- a/data/index.yaml
+++ b/data/index.yaml
@@ -29,7 +29,6 @@ demands:
# 5 Unplayable
maps:
- lobby: { name: "Lobby", players: 0, difficulty: 1 }
sophomore: { name: "Sophomore", players: 1, difficulty: 1 }
junior: { name: "Junior", players: 3, difficulty: 1 }
senior: { name: "Senior", players: 4, difficulty: 1 }
@@ -51,7 +50,6 @@ maps:
5star: { name: "5 Star", players: 4, difficulty: 3 }
auto_sushi: { name: "AutoSushi", players: 2, difficulty: 2 }
factory: { name: "Factory", players: 3, difficulty: 4 }
- debug: { name: "DEBUG", players: 0, difficulty: 5 }
recipes:
- none
diff --git a/data/makefile b/data/makefile
index 95dc953a..23956869 100644
--- a/data/makefile
+++ b/data/makefile
@@ -14,7 +14,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
all: $(patsubst %.ts,%.yaml,$(wildcard recipes/*.ts))
-graphs: $(patsubst %.ts,%.svg,$(wildcard recipes/*.ts))
+graphs: recipes/default.svg
recipes/%.yaml: recipes/%.ts
DENO_NO_UPDATE_CHECK=1 deno run $< > $@
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 <https://www.gnu.org/licenses/>.
+#
+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 <https://www.gnu.org/licenses/>.
+#
+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