diff options
| -rw-r--r-- | data/items.yaml | 48 | ||||
| -rw-r--r-- | data/recipes.yaml | 31 | ||||
| -rw-r--r-- | data/tiles.yaml | 23 | ||||
| -rw-r--r-- | specs/readme.md | 3 | 
4 files changed, 101 insertions, 4 deletions
| 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
 +
 diff --git a/specs/readme.md b/specs/readme.md new file mode 100644 index 00000000..26a65472 --- /dev/null +++ b/specs/readme.md @@ -0,0 +1,3 @@ +# Undercooked
 +
 +
 | 
