Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jar Recipe #774

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
- state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ]
scale: 0.5, 0.5
- type: Construction
graph: N14FoodJarBase
node: start

# JamBase
- type: entity
Expand Down
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: icon
steps:
- material: Glass
- tag: Jam
name: a glass
icon:
sprite: _Nuclear14/Objects/Consumable/Food/preserves.rsi
state: icon
doAfter: 1

- node: icon
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: icon
category: construction-category-medical
description: A glass jar
hide: false
icon:
sprite: _Nuclear14/Objects/Consumable/Food/preserves.rsi
state: icon
objectType: Item
Loading