recolored birch (#1591)

This commit is contained in:
Nim
2025-07-30 14:19:42 +03:00
committed by GitHub
parent 76e7cb9464
commit 96e15dfb71
107 changed files with 87 additions and 12 deletions

View File

@@ -183,6 +183,49 @@
graph: CP14TableWoodenRound
node: CP14TableWoodenRound
- type: entity
parent: CP14WoodenTableBase
id: CP14TableWoodenBirchRound
name: round birch table
description: A simple table made of boards.
components:
- type: Sprite
snapCardinals: true
sprite: _CP14/Structures/Furniture/Tables/birch.rsi
state: round
- type: Icon
sprite: _CP14/Structures/Furniture/Tables/birch.rsi
state: round
- type: Construction
graph: CP14TableWoodenBirchRound
node: CP14TableWoodenBirchRound
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- trigger:
!type:DamageTrigger
damage: 60
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
CP14BirchWoodenPlanks1:
min: 1
max: 1
- type: entity
parent: CP14TableWooden
id: CP14TableWoodenCounter
@@ -200,7 +243,7 @@
- type: entity
parent: CP14TableWoodenBirch
id: CP14TableWoodenBirchCounter
name: wooden counter
name: birch counter
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/Tables/birch_counter.rsi

View File

@@ -122,12 +122,28 @@
edges:
- to: CP14TableWoodenRound
steps:
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- material: CP14WoodenPlanks
amount: 3
doAfter: 2
- node: CP14TableWoodenRound
entity: CP14TableWoodenRound
- type: constructionGraph
id: CP14TableWoodenBirchRound
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14TableWoodenBirchRound
steps:
- material: CP14BirchWoodenPlanks
amount: 3
doAfter: 2
- node: CP14TableWoodenBirchRound
entity: CP14TableWoodenBirchRound
- type: constructionGraph
id: CP14Workbench
start: start

View File

@@ -89,6 +89,19 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14TableWoodenBirchRound
graph: CP14TableWoodenBirchRound
startNode: start
targetNode: CP14TableWoodenBirchRound
category: construction-category-furniture
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14TableWoodenCounter