Added Stools (#1577)

* Added Stools

* Updated Textures, now craftable.

* Update chairs.yml

---------

Co-authored-by: Red <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
SketchiiArtist
2025-07-27 11:54:40 -04:00
committed by GitHub
parent fc30c36576
commit a55baf6c9b
6 changed files with 139 additions and 2 deletions

View File

@@ -79,3 +79,83 @@
CP14BirchWoodenPlanks1:
min: 1
max: 1
- type: entity
name: wooden stool
id: CP14StoolWooden
parent: CP14ChairWooden
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/chairs.rsi
state: stoolWooden
- type: Construction
graph: CP14Stool
node: CP14StoolWooden
- type: Rotatable
rotateWhileAnchored: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 1
max: 1
- type: entity
name: wooden stool
id: CP14StoolBirch
parent: CP14StoolWooden
components:
- type: Sprite
sprite: _CP14/Structures/Furniture/chairs.rsi
state: stoolBirch
- type: Construction
graph: CP14Stool
node: CP14StoolBirch
- type: Rotatable
rotateWhileAnchored: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
CP14BirchWoodenPlanks1:
min: 1
max: 1

View File

@@ -43,3 +43,26 @@
entity: CP14BenchWood
- node: CP14BenchWoodBirch
entity: CP14BenchWoodBirch
- type: constructionGraph
id: CP14Stool
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14StoolWooden
steps:
- material: CP14WoodenPlanks
amount: 2
doAfter: 1
- to: CP14StoolBirch
steps:
- material: CP14BirchWoodenPlanks
amount: 2
doAfter: 1
- node: CP14StoolWooden
entity: CP14StoolWooden
- node: CP14StoolBirch
entity: CP14StoolBirch

View File

@@ -24,6 +24,32 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14StoolWooden
graph: CP14Stool
startNode: start
targetNode: CP14StoolWooden
category: construction-category-furniture
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14StoolBirch
graph: CP14Stool
startNode: start
targetNode: CP14StoolBirch
category: construction-category-furniture
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14TableWooden
@@ -264,4 +290,4 @@
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- !type:TileNotBlocked

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by TheShuEd (Github) , modified by vladimir.s. Birch recolor by goblinsable (SS14).",
"copyright": "Created by TheShuEd (Github) , modified by vladimir.s. Birch recolor by goblinsable (SS14). Stool by SketchiiArtist (Github)",
"size": {
"x": 32,
"y": 32
@@ -14,6 +14,14 @@
{
"name": "birch",
"directions": 4
},
{
"name": "stoolWooden",
"directions": 4
},
{
"name": "stoolBirch",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B