From e9e8c8e1e57c4cf940f8c97198b864a4150c8405 Mon Sep 17 00:00:00 2001 From: Zymem <97173622+Zymem@users.noreply.github.com> Date: Mon, 10 Jan 2022 23:17:22 -0300 Subject: [PATCH] Added cursed chair (#6052) --- .../Entities/Structures/Furniture/chairs.yml | 41 +++++++++++++++ .../Graphs/furniture/ritualseat.yml | 49 ++++++++++++++++++ .../Recipes/Construction/furniture.yml | 16 ++++++ .../Furniture/chairs.rsi/cursed.png | Bin 0 -> 1350 bytes .../Structures/Furniture/chairs.rsi/meta.json | 8 +++ .../Furniture/chairs.rsi/ritual.png | Bin 0 -> 1236 bytes 6 files changed, 114 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Construction/Graphs/furniture/ritualseat.yml create mode 100644 Resources/Textures/Structures/Furniture/chairs.rsi/cursed.png create mode 100644 Resources/Textures/Structures/Furniture/chairs.rsi/ritual.png 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 0000000000000000000000000000000000000000..9469e0b9c843432215fcdaf5134096755e78df97 GIT binary patch literal 1350 zcmV-M1-bf(P)Px(|4BqaRCr$Pn_FuWK@`WQX}YEtt&|k4XuY6_B2s866hToGL4-nI`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