Added cursed chair (#6052)
This commit is contained in:
@@ -170,3 +170,44 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: shuttle
|
state: shuttle
|
||||||
netsync: false
|
netsync: false
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: ritual chair
|
||||||
|
id: ChairRitual
|
||||||
|
parent: SeatBase
|
||||||
|
description: Looks uncomfortable.
|
||||||
|
components:
|
||||||
|
- type: Anchorable
|
||||||
|
- type: Rotatable
|
||||||
|
- type: Sprite
|
||||||
|
state: ritual
|
||||||
|
- type: Construction
|
||||||
|
graph: ritualseat
|
||||||
|
node: chairRitual
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: cursed chair
|
||||||
|
id: ChairCursed
|
||||||
|
parent: SeatBase
|
||||||
|
description: It's staring back.
|
||||||
|
components:
|
||||||
|
- type: Anchorable
|
||||||
|
- type: Rotatable
|
||||||
|
- type: Sprite
|
||||||
|
state: cursed
|
||||||
|
- type: Strap
|
||||||
|
buckleSound:
|
||||||
|
collection: MaleScreams
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Voice/Human/womanlaugh.ogg
|
||||||
|
graph: ritualseat
|
||||||
|
node: chairCursed
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
- type: constructionGraph
|
||||||
|
id: ritualseat
|
||||||
|
start: start
|
||||||
|
graph:
|
||||||
|
- node: start
|
||||||
|
actions:
|
||||||
|
- !type:DeleteEntity {}
|
||||||
|
edges:
|
||||||
|
- to: chairRitual
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
steps:
|
||||||
|
- material: WoodPlank
|
||||||
|
amount: 2
|
||||||
|
doAfter: 1
|
||||||
|
|
||||||
|
- node: chairRitual
|
||||||
|
entity: ChairRitual
|
||||||
|
edges:
|
||||||
|
- to: start
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: MaterialWoodPlank1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Screwing
|
||||||
|
doAfter: 1
|
||||||
|
|
||||||
|
- to: chairCursed
|
||||||
|
steps:
|
||||||
|
- prototype: HeadHuman
|
||||||
|
icon:
|
||||||
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
|
state: "head_m"
|
||||||
|
name: human head
|
||||||
|
doAfter: 1
|
||||||
|
|
||||||
|
- node: chairCursed
|
||||||
|
entity: ChairCursed
|
||||||
|
edges:
|
||||||
|
- to: chairRitual
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: HeadHuman
|
||||||
|
amount: 1
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 1
|
||||||
@@ -118,6 +118,22 @@
|
|||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: ritual chair
|
||||||
|
id: ChairRitual
|
||||||
|
graph: ritualseat
|
||||||
|
startNode: start
|
||||||
|
targetNode: chairRitual
|
||||||
|
category: Furniture
|
||||||
|
description: A strangely carved chair.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Furniture/chairs.rsi
|
||||||
|
state: ritual
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
#tables
|
#tables
|
||||||
- type: construction
|
- type: construction
|
||||||
|
|||||||
BIN
Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png
Normal file
BIN
Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -74,6 +74,14 @@
|
|||||||
{
|
{
|
||||||
"name": "wooden-wings-knocked",
|
"name": "wooden-wings-knocked",
|
||||||
"directions": 4
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ritual",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cursed",
|
||||||
|
"directions": 4
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png
Normal file
BIN
Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user