Skip to content

Commit

Permalink
Add Envelope craft
Browse files Browse the repository at this point in the history
  • Loading branch information
Ady4ik committed Sep 8, 2024
1 parent b76cfd1 commit 3c4a6c9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,3 +696,8 @@
- !type:EmptyAllContainersBehaviour
- !type:DoActsBehavior
acts: [ "Destruction" ]
# SS220 EnvelopeCraft begin
- type: Construction
graph: envelope
node: envelope
# SS220 EnvelopeCraft end
13 changes: 13 additions & 0 deletions Resources/Prototypes/SS220/Recipes/Crafting/Graphs/paper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: constructionGraph
id: envelope
start: start
graph:
- node: start
edges:
- to: envelope
steps:
- material: Paper
amount: 1
doAfter: 2
- node: envelope
entity: Envelope
10 changes: 10 additions & 0 deletions Resources/Prototypes/SS220/Recipes/Crafting/paper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: construction
name: Конверт
id: envelope
graph: envelope
startNode: start
targetNode: envelope
category: construction-category-misc
description: "Простой конверт для отправки писем."
icon: { sprite: Objects/Misc/bureaucracy.rsi, state: envelope_closed }
objectType: Item

0 comments on commit 3c4a6c9

Please sign in to comment.