add torch crafting

This commit is contained in:
Ed
2024-04-21 13:52:22 +03:00
parent c266046cbd
commit fb96392077
4 changed files with 42 additions and 2 deletions

View File

@@ -59,4 +59,7 @@
Heat: 0.01
- type: FireVisuals
sprite: _CP14/Structures/Decoration/wallmount_torch.rsi
normalState: fire
normalState: fire
- type: Construction
graph: CP14WallmountTorch
node: CP14WallmountTorch

View File

@@ -13,4 +13,22 @@
doAfter: 3
- node: CP14Bonfire
entity: CP14Bonfire
entity: CP14Bonfire
- type: constructionGraph
id: CP14WallmountTorch
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14WallmountTorch
steps:
- material: WoodPlank
amount: 5
doAfter: 3
- node: CP14WallmountTorch
entity: CP14WallmountTorch

View File

@@ -52,6 +52,25 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: Wallmount torch
description: A torch attached to the wall
id: CP14WallmountTorch
graph: CP14WallmountTorch
startNode: start
targetNode: CP14WallmountTorch
category: construction-category-furniture
icon:
sprite: _CP14/Structures/Decoration/wallmount_torch.rsi
state: fire
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
canRotate: true
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: Wooden chest