Skip to content

Commit

Permalink
Lets-a see
Browse files Browse the repository at this point in the history
Adds a graph and the construction for the jar (i hope)
  • Loading branch information
TeaTimeDino committed Jan 4, 2025
1 parent 465dae7 commit 41559c7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,23 @@
# - !type:SpawnPrototype
# prototype: MaterialCloth1
# amount: 2
# - !type:DeleteEntity
# - !type:DeleteEntity

- type: constructionGraph
id: N14FoodJarBase
start: start
graph:
- node: start
edges:
- to: empty
steps:
- material: glass
- tag: Jam
name: a glass
icon:
sprite: _Nuclear14\Objects\Consumable\Food\preserves.rsi
state: empty
doAfter: 1

- node: empty
entity: N14FoodJarBase
17 changes: 12 additions & 5 deletions Resources/Prototypes/_Nuclear14/Recipes/Crafting/items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@
# state: bedroll_rolled
# objectType: Item

- type: latheRecipe
- type: construction
name: jar
id: N14FoodJarBase
result: N14FoodJarBase
completetime: 0.8
materials:
Glass: 100
graph: N14FoodJarBase
startNode: start
targetNode: empty
category: construction-category-medical
description: A glass jar
hide: false
icon:
sprite: _Nuclear14\Objects\Consumable\Food\preserves.rsi
state: empty
objectType: Item

0 comments on commit 41559c7

Please sign in to comment.