From 221c8254a5bd617dc1c6de352e1ed5236e961ee0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 17 Jul 2024 21:37:45 +0200 Subject: add debug map and curry recipe --- data/index.yaml | 1 + data/maps/debug.yaml | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ data/recipes/default.ts | 4 +++ 3 files changed, 84 insertions(+) create mode 100644 data/maps/debug.yaml (limited to 'data') diff --git a/data/index.yaml b/data/index.yaml index 43c3da8a..ced69212 100644 --- a/data/index.yaml +++ b/data/index.yaml @@ -49,6 +49,7 @@ maps: 5star: { name: "5 Star", players: 10, difficulty: 5 } auto_sushi: { name: "AutoSushi", players: 2, difficulty: 2 } sushibar: { name: "Sushi Bar", players: 2, difficulty: 2 } + debug: { name: "DEBUG", players: 0, difficulty: 5 } recipes: - none diff --git a/data/maps/debug.yaml b/data/maps/debug.yaml new file mode 100644 index 00000000..8581e1a6 --- /dev/null +++ b/data/maps/debug.yaml @@ -0,0 +1,79 @@ +# 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 . +# +map: + - "............." + - "............." + - "..X01234567.." + - "............." + - "..⌷ffC.SSoo.." + - "..s⌷⌷⌷.⌷⌷⌷⌷.." + - "............." + - "..ppppbpppp.." + - "..cccc.cccc.." + - "............." + +tiles: + "⌷": counter + "f": counter + "p": counter + "t": table + "w": counter-window + "s": sink + "o": oven + "S": stove + "b": book + "C": cuttingboard + "0": rice-crate + "1": raw-steak-crate + "2": tomato-crate + "3": leek-crate + "4": coconut-crate + "5": strawberry-crate + "6": flour-crate + "7": fish-crate + "X": trash + + "c": chair + "~": floor + ".": floor + "'": grass + "*": tree + "!": path + "_": path + "d": door + "▒": wall-window + "█": wall + +items: + "S": pot + "w": plate + "p": plate + "f": foodprocessor + +chef_spawn: "~" +customer_spawn: "!" + +walkable: + - door + - floor + - chair + - grass + - path + +collider: + - wall + - wall-window + - tree diff --git a/data/recipes/default.ts b/data/recipes/default.ts index 662b6817..446a1e19 100644 --- a/data/recipes/default.ts +++ b/data/recipes/default.ts @@ -227,6 +227,10 @@ edible( sink_fill(GL) ) + +const curry_with_rice = combine(PL, cook(rice.tr(POT)), cook(combine(POT, milk, tomato, leek))).as("curry-with-rice") +edible(curry_with_rice) + auto_trash() finish() -- cgit v1.2.3-70-g09d2