From 69d6b4aeed1474336381e85a240aad4c3e9be989 Mon Sep 17 00:00:00 2001 From: Sofviic Date: Mon, 17 Jun 2024 14:53:23 +0300 Subject: quick sketch of testdata --- data/items.yaml | 48 +++++++++++++++++++++++++++++++++++++++++++++--- data/recipes.yaml | 31 ++++++++++++++++++++++++++++++- data/tiles.yaml | 23 +++++++++++++++++++++++ 3 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 data/tiles.yaml (limited to 'data') diff --git a/data/items.yaml b/data/items.yaml index a485daa5..86d2e792 100644 --- a/data/items.yaml +++ b/data/items.yaml @@ -1,4 +1,46 @@ -- flour -- water -- dough +- flour: + - traits: + - raw +- dough: + - traits: + - bakeable +- tomato: + - traits: + - raw +- sliced-tomato: + - traits: + - food +- bread: + - traits: + - food +- raw-steak: + - traits: + - raw +- steak: + - traits: + - food +- water: + - traits: + - liquid + + +- glass: + - traits: + - container + - glass + - contains: + - liquid +- plate: + - traits: + - container + - contains: + - food + - glass +- dirty-glass: + - traits: + - dirty + - glass +- dirty-plate: + - traits: + - dirty diff --git a/data/recipes.yaml b/data/recipes.yaml index 571b9633..3817fe3d 100644 --- a/data/recipes.yaml +++ b/data/recipes.yaml @@ -1,5 +1,34 @@ -- tile: table +- tile: counter inputs: [tomato] outputs: [sliced-tomato] duration: 3 + action: hold + +- tile: counter + inputs: [flour] + outputs: [dough] + duration: 5 + action: hold +- tile: oven + inputs: [dough] + outputs: [bread] + duration: 20 + action: wait + +- tile: oven + inputs: [raw-steak] + outputs: [steak] + duration: 15 + action: wait + +- tile: sink + inputs: [dirty-glass] + outputs: [glass] + duration: 5 + action: hold +- tile: sink + inputs: [dirty-plate] + outputs: [plate] + duration: 5 + action: hold diff --git a/data/tiles.yaml b/data/tiles.yaml new file mode 100644 index 00000000..6f30126e --- /dev/null +++ b/data/tiles.yaml @@ -0,0 +1,23 @@ + +- oven + - accepts: + - bakeable +- service + - accepts: + - container +- table +- chair +- tomato-bag + - generates: + - tomato +- flour-bag + - generates: + - flour +- freezer: + - generates: + - steak +- counter +- sink: + - accepts: + - dirty + -- cgit v1.3