From 792de205e29fda3a5a9198d219a1a3c24bcb1a4b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 9 Jul 2024 13:07:44 +0200 Subject: improve bus and add two-player bus-like map --- data/index.yaml | 1 + data/maps/bus.yaml | 58 +++++++++++++++++------------- data/maps/duplex.yaml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+), 25 deletions(-) create mode 100644 data/maps/duplex.yaml (limited to 'data') diff --git a/data/index.yaml b/data/index.yaml index baf96693..c2787670 100644 --- a/data/index.yaml +++ b/data/index.yaml @@ -35,6 +35,7 @@ maps: - bbq - station - smallest + - duplex recipes: - none diff --git a/data/maps/bus.yaml b/data/maps/bus.yaml index 907bf900..cff24538 100644 --- a/data/maps/bus.yaml +++ b/data/maps/bus.yaml @@ -14,28 +14,29 @@ # along with this program. If not, see . # map: - - "''''''''''''''''''''" - - "'███████c__c███████'" - - "'█#SSSS█t__t█RTFL.█'" - - "'█#....█c__c█.....█'" - - "'d.....█'__'█.....d'" - - "'█...>>>>»»>>>v...█'" - - "'█oo.A██▒dd▒██v...█'" - - "'████A█.c..c.█v████'" - - "'''''A▒ct..tc▒v'''''" - - "'''''A<......v<'''''" - - "'''''>A......>v'''''" - - "'''''A▒ct..tc▒v'''''" - - "'████A█.c..c.█v████'" - - "'█#..A██▒dd▒██v.pp█'" - - "'█#..A<<<««<<<<..p█'" - - "'d.....█'__'█.....d'" - - "'█.....█'__'█....p█'" - - "'█ff#CC█'__'█Xsspp█'" - - "'███████'__'███████'" - - "'''''''''__'''''''''" - - "'''''''''__'''''''''" - - "'''''''''!~'''''''''" + - "''''''''''''''''''''''" + - "''''''''''''''''''''''" + - "''███████c__c███████''" + - "''█#SSSS█t__t█RTFL#█''" + - "''█#....█c__c█.....█''" + - "''d.....█'__'█.....d''" + - "''█...>>›>»»>›>v...█''" + - "''█oo.^██▒dd▒██v.##█''" + - "''████“█.c..c.█„████''" + - "'''''▒^.ct..tc.v▒'''''" + - "'''''█^........v█'''''" + - "'''''█^........v█'''''" + - "'''''▒^.ct..tc.v▒'''''" + - "''████“█.c..c.█„████''" + - "''█#..^██▒dd▒██v.pp█''" + - "''█#..^<‹<««<‹<<..p█''" + - "''d.....█'__'█.....d''" + - "''█.....█'__'█....p█''" + - "''█ff#CC█'__'█Xsspp█''" + - "''███████'__'███████''" + - "''''''''''__''''''''''" + - "''''''''''__''''''''''" + - "''''''''''!~''''''''''" tiles: "#": counter @@ -43,10 +44,13 @@ tiles: "p": counter ">": conveyor "<": conveyor - "A": conveyor + "^": conveyor "v": conveyor "t": table - "w": counter-window + "‹": counter-window + "›": counter-window + "„": counter-window + "“": counter-window "s": sink "o": oven "S": stove @@ -75,8 +79,12 @@ tile_entities: "<": !conveyor { dir: [-1, 0] } "»": !conveyor { dir: [1, 0] } "«": !conveyor { dir: [-1, 0] } + "›": !conveyor { dir: [1, 0] } + "‹": !conveyor { dir: [-1, 0] } "v": !conveyor { dir: [0, 1] } - "A": !conveyor { dir: [0, -1] } + "^": !conveyor { dir: [0, -1] } + "„": !conveyor { dir: [0, 1] } + "“": !conveyor { dir: [0, -1] } items: "S": pot diff --git a/data/maps/duplex.yaml b/data/maps/duplex.yaml new file mode 100644 index 00000000..8c068683 --- /dev/null +++ b/data/maps/duplex.yaml @@ -0,0 +1,99 @@ +# 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: + - "''''''''''''''''''''''''''''" + - "'c'c''''''''''''''''''''c'c'" + - "'t_t'███████c__c███████'t_t'" + - "''_''█SSSS#█t__t█RTFL#█''_''" + - "'c_c'█....#█c__c█....#█'c_c'" + - "'t_t'█....#█'__'█....#█'t_t'" + - "'c_c'█....>›>»»>›v...#█'c_c'" + - "''___d....^‹<««<‹<....d___''" + - "''___d....>›>»»>›v....d___''" + - "'c_c'█....^‹<««<‹<...p█'c_c'" + - "'t_t'█#....█'__'█....p█'t_t'" + - "'c_c'█#....█'__'█....p█'c_c'" + - "''_''█#ffCC█'__'█Xsspp█''_''" + - "'t_t'███████'__'███████'t_t'" + - "'c_c''''=''''__''''=''''c_c'" + - "''_'''''=''''__''''='''''_''" + - "''''''''=''''!~''''=''''''''" + +tiles: + "#": counter + "f": counter + "p": counter + ">": conveyor + "<": conveyor + "^": conveyor + "v": conveyor + "t": table + "‹": counter-window + "›": counter-window + "s": sink + "o": oven + "S": stove + "C": cuttingboard + "R": raw-steak-crate + "T": tomato-crate + "F": flour-crate + "L": leek-crate + "X": trash + + "c": chair + ".": floor + "'": grass + "=": fence + "*": tree + "~": path + "!": path + "_": path + "«": path + "»": path + "d": door + "█": wall + "▒": wall-window + +tile_entities: + ">": !conveyor { dir: [1, 0] } + "<": !conveyor { dir: [-1, 0] } + "›": !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] } + +items: + "S": pot + "w": plate + "p": plate + "f": foodprocessor + +chef_spawn: "~" +customer_spawn: "!" + +walkable: + - door + - floor + - chair + - grass + - path + +collider: + - wall + - tree + - fence -- cgit v1.2.3-70-g09d2