Vault-Overseers / nuclear-14

Multiplayer survival role-playing game set in a post-nuclear apocalyptic world
https://nuclear14.com
GNU Affero General Public License v3.0
48 stars 95 forks source link

Cooking etc #129

Open Peptide90 opened 1 year ago

Peptide90 commented 1 year ago

Description

Food

Peptide90 commented 4 months ago

Adding to this for reference. Original issue is badly formatted now but:

To create a new cooking recipe for example for meat, head to Recipes/Cooking/steak.yml then copy one of the existing recipes, change the id: to something new, then change the final entity: to match the entity of what you want to produce when this thing is cooked.

To add a cooking recipe to meat for example, head to Objects/Consumables/Food/meat.yml

Then add the construction component to the thing that is going to be constructed:

  - type: Construction
    graph: MeatSteakRadstag
    node: start
    defaultTarget: SteakCooked

Change the graph to match your graph you stated earlier, the rest can remain as is. Bravo, now when that original meat that has the construction component on is heated up to the stated temperature, it'll change into the new entity.