Skip to content

Commit

Permalink
[Tweak] Craftable Bonfire (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
PuroSlavKing authored Jan 1, 2025
1 parent eb57e23 commit 739c26b
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
- type: Tag
tags:
- NoPaint
- type: Construction # WWDP
graph: Bonfires
node: Bonfire

- type: entity
id: LegionnaireBonfire
Expand All @@ -46,3 +49,6 @@
- state: legionnaire_bonfire
- type: PointLight
color: "#FF5601"
- type: Construction # WWDP
graph: Bonfires
node: LegionnaireBonfire
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
- type: constructionGraph
id: Bonfires
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: Bonfire
steps:
- material: WoodPlank
amount: 25
doAfter: 15
- to: LegionnaireBonfire
steps:
- material: WoodPlank
amount: 25
doAfter: 15
- tag: Head
name: любая голова
icon:
sprite: Mobs/Species/Skeleton/parts.rsi
state: skull_icon

- node: Bonfire
entity: Bonfire
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank10
steps:
- tool: Screwing
doAfter: 20

- node: LegionnaireBonfire
entity: LegionnaireBonfire
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank10
steps:
- tool: Screwing
doAfter: 20
27 changes: 27 additions & 0 deletions Resources/Prototypes/_White/Recipes/Construction/bonfire.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- type: construction
name: костёр
description: Тёплый, для зефирок.
id: Bonfire
graph: Bonfires
startNode: start
targetNode: Bonfire
category: construction-category-structures
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: /Textures/Structures/Decoration/bonfire.rsi
state: "bonfire"

- type: construction
name: костёр легиона
description: Тёплый, для зефирок и мяса.
id: LegionnaireBonfire
graph: Bonfires
startNode: start
targetNode: LegionnaireBonfire
category: construction-category-structures
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: /Textures/Structures/Decoration/bonfire.rsi
state: legionnaire_bonfire

0 comments on commit 739c26b

Please sign in to comment.