Added cursed chair (#6052)

This commit is contained in:
Zymem
2022-01-10 23:17:22 -03:00
committed by GitHub
parent 02a23eb29b
commit e9e8c8e1e5
6 changed files with 114 additions and 0 deletions

View File

@@ -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

View File

@@ -118,6 +118,22 @@
conditions:
- !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
- type: construction