diff options
author | nokoe <nokoe@mailbox.org> | 2024-07-11 17:54:35 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-07-11 17:54:49 +0200 |
commit | a2583d0f8be4af7890ace52d49fe99b7861e97b2 (patch) | |
tree | 674ba9d3dec574dde7950efde99191faf5a53100 | |
parent | df7aac50092ba8d239a052315dd9aad59b14ef2e (diff) | |
download | hurrycurry-a2583d0f8be4af7890ace52d49fe99b7861e97b2.tar hurrycurry-a2583d0f8be4af7890ace52d49fe99b7861e97b2.tar.bz2 hurrycurry-a2583d0f8be4af7890ace52d49fe99b7861e97b2.tar.zst |
add auto_sushi map
-rw-r--r-- | client/map/tiles/chair.gd | 4 | ||||
-rw-r--r-- | client/map/tiles/wall_cross.tscn | 1 | ||||
-rw-r--r-- | data/index.yaml | 1 | ||||
-rw-r--r-- | data/maps/auto_sushi.yaml | 98 |
4 files changed, 104 insertions, 0 deletions
diff --git a/client/map/tiles/chair.gd b/client/map/tiles/chair.gd index 54fe7f0c..f45de00c 100644 --- a/client/map/tiles/chair.gd +++ b/client/map/tiles/chair.gd @@ -21,6 +21,10 @@ func _init(rename: String, neighbors: Array): var chair = preload("res://map/tiles/chair.tscn").instantiate() var facing = 0; for i in range(4): + if neighbors[i] == "conveyor": + facing = i + break + for i in range(4): if neighbors[i] == "table": facing = i break diff --git a/client/map/tiles/wall_cross.tscn b/client/map/tiles/wall_cross.tscn index 7cac188d..15a8b24a 100644 --- a/client/map/tiles/wall_cross.tscn +++ b/client/map/tiles/wall_cross.tscn @@ -5,5 +5,6 @@ [node name="WallCross" type="Node3D"] [node name="Mesh" type="MeshInstance3D" parent="."] +transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0) mesh = ExtResource("1_cq25f") skeleton = NodePath("") diff --git a/data/index.yaml b/data/index.yaml index 54c2d2d2..6cf8742a 100644 --- a/data/index.yaml +++ b/data/index.yaml @@ -44,6 +44,7 @@ maps: zigzag: { name: "Zig-zag", players: 6, difficulty: 4 } depot: { name: "Depot", players: 4, difficulty: 5 } 5star: { name: "5 Star", players: 10, difficulty: 5 } + auto_sushi: { name: "AutoSushi", players: 2, difficulty: 2 } recipes: - none diff --git a/data/maps/auto_sushi.yaml b/data/maps/auto_sushi.yaml new file mode 100644 index 00000000..85384e42 --- /dev/null +++ b/data/maps/auto_sushi.yaml @@ -0,0 +1,98 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 nokoe +# +# 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/>. +# +map: + - "''''''''''''''''''*''''''" + - "'__~____██████''*''''''''" + - "'_______█TFLR██0█0█0█''*'" + - "'_______█....█ff#oo#█''''" + - "'__==██d█d████......███'*" + - "'__=>›s.............›v█==" + - "'__=^███CCp#p#p#SSf#█v█tc" + - "'__=X‹<█v<<<<<v<<<<<█v█c'" + - "'__==█^█v.cc.^v.cc.^█v██d" + - "'____█^█vc..c^vc..c^█v█tc" + - "'____█^█v....^v....^█v█c." + - "███__█^█vc..c^<c..c^█v█.c" + - "..█__█^‹<..........^‹<█ct" + - "█0█dd███0█00█dd█00█0████0" + - "'''''''''''*....*''''''''" + - "________________________!" + - "_________________________" +tiles: + "#": counter + "f": counter + "p": counter + "P": counter + ">": conveyor + "<": conveyor + "^": conveyor + "v": conveyor + "‹": counter-window + "›": counter-window + "0": wall-window + "s": sink + "o": oven + "S": stove + "C": cuttingboard + "R": raw-steak-crate + "T": tomato-crate + "F": flour-crate + "L": leek-crate + "X": trash + + "t": table + "c": chair + ".": floor + "'": grass + "=": fence + "*": tree + "~": path + "!": path + "_": path + "d": door + "█": wall + +tile_entities: + ">": !conveyor { dir: [1, 0] } + "<": !conveyor { dir: [-1, 0] } + "›": !conveyor { dir: [1, 0] } + "‹": !conveyor { dir: [-1, 0] } + "v": !conveyor { dir: [0, 1] } + "^": !conveyor { dir: [0, -1] } + "X": !conveyor { dir: [0, -1] } + + +items: + "S": pot + "P": pot + "w": plate + "p": plate + "f": foodprocessor + +chef_spawn: "~" +customer_spawn: "!" + +walkable: + - door + - floor + - chair + - grass + - path + +collider: + - wall + - tree + - fence |