diff --git a/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml b/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml index 10081edb36..57ffdeb95e 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml @@ -170,3 +170,44 @@ - type: Sprite state: shuttle 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 \ No newline at end of file diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/furniture/ritualseat.yml b/Resources/Prototypes/Recipes/Construction/Graphs/furniture/ritualseat.yml new file mode 100644 index 0000000000..96dcf2e1d5 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/furniture/ritualseat.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/furniture.yml b/Resources/Prototypes/Recipes/Construction/furniture.yml index fff4c39cc8..a8ea591389 100644 --- a/Resources/Prototypes/Recipes/Construction/furniture.yml +++ b/Resources/Prototypes/Recipes/Construction/furniture.yml @@ -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 diff --git a/Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png b/Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png new file mode 100644 index 0000000000..9469e0b9c8 Binary files /dev/null and b/Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png differ diff --git a/Resources/Textures/Structures/Furniture/chairs.rsi/meta.json b/Resources/Textures/Structures/Furniture/chairs.rsi/meta.json index 58476ab5d1..18c588b280 100644 --- a/Resources/Textures/Structures/Furniture/chairs.rsi/meta.json +++ b/Resources/Textures/Structures/Furniture/chairs.rsi/meta.json @@ -74,6 +74,14 @@ { "name": "wooden-wings-knocked", "directions": 4 + }, + { + "name": "ritual", + "directions": 4 + }, + { + "name": "cursed", + "directions": 4 } ] } diff --git a/Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png b/Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png new file mode 100644 index 0000000000..6985ead4e3 Binary files /dev/null and b/Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png differ