From 30b65d1d5e7d0f742a430beda2c54c620a76ffce Mon Sep 17 00:00:00 2001 From: Sofviic Date: Mon, 17 Jun 2024 15:10:26 +0300 Subject: updated sketch --- data/items.yaml | 39 +++++++++++++++++++++++++++++---------- data/recipes.yaml | 54 +++++++++++++++++++++++++++++++++++++++++++++++------- data/tiles.yaml | 19 +++++++++++-------- 3 files changed, 87 insertions(+), 25 deletions(-) (limited to 'data') diff --git a/data/items.yaml b/data/items.yaml index 86d2e792..936f498a 100644 --- a/data/items.yaml +++ b/data/items.yaml @@ -1,30 +1,49 @@ -- flour: - - traits: - - raw -- dough: - - traits: - - bakeable +# tomato pipeline - tomato: - traits: - raw - sliced-tomato: - traits: - food +- sliced-tomato-meal: + - traits: + - meal +# bread pipeline +- flour: + - traits: + - raw +- dough: + - traits: + - bakeable - bread: - traits: - food +- bread-meal: + - traits: + - meal +# steak pipeline - raw-steak: - traits: - raw - steak: - traits: - food - -- water: +- steak-meal: - traits: - - liquid - + - meal + +# combination meals +- tomatosteak-meal: + - traits: + - meal +- burger-meal: + - traits: + - meal +- tomatoburger-meal: + - traits: + - meal +# containers - glass: - traits: - container diff --git a/data/recipes.yaml b/data/recipes.yaml index 3817fe3d..19a28301 100644 --- a/data/recipes.yaml +++ b/data/recipes.yaml @@ -1,34 +1,74 @@ - +# tomato pipeline - tile: counter inputs: [tomato] outputs: [sliced-tomato] - duration: 3 action: hold + duration: 3 +- tile: counter + inputs: [sliced-tomato,plate] + outputs: [sliced-tomato-meal] + action: instant + duration: 0 +# bread pipeline - tile: counter inputs: [flour] outputs: [dough] - duration: 5 action: hold + duration: 5 - tile: oven inputs: [dough] outputs: [bread] - duration: 20 action: wait + duration: 20 +- tile: counter + inputs: [bread,plate] + outputs: [bread-meal] + action: instant + duration: 0 +# steak pipeline - tile: oven inputs: [raw-steak] outputs: [steak] - duration: 15 action: wait + duration: 15 +- tile: counter + inputs: [steak,plate] + outputs: [steak-meal] + action: instant + duration: 0 + +# combination meals +- tile: counter + inputs: [steak-meal,bread] + outputs: [burger-meal] + action: instant + duration: 0 +- tile: counter + inputs: [steak-meal,tomato] + outputs: [tomatosteak-meal] + action: instant + duration: 0 +- tile: counter + inputs: [burger-meal,tomato] + outputs: [tomatoburger-meal] + action: instant + duration: 0 +- tile: counter + inputs: [tomatosteak-meal,bread] + outputs: [tomatoburger-meal] + action: instant + duration: 0 +# cleaning - tile: sink inputs: [dirty-glass] outputs: [glass] - duration: 5 action: hold + duration: 5 - tile: sink inputs: [dirty-plate] outputs: [plate] - duration: 5 action: hold + duration: 5 diff --git a/data/tiles.yaml b/data/tiles.yaml index 6f30126e..2e1f757d 100644 --- a/data/tiles.yaml +++ b/data/tiles.yaml @@ -1,23 +1,26 @@ - -- oven +# kitchen +- counter +- oven: - accepts: - bakeable -- service +- service: - accepts: - container -- table -- chair -- tomato-bag + +# supply +- tomato-bag: - generates: - tomato -- flour-bag +- flour-bag: - generates: - flour - freezer: - generates: - steak -- counter - sink: - accepts: - dirty +# customers +- table +- chair -- cgit v1.2.3-70-g09d2