From 26cf6dc01aa67e5a37b1a71fb1b5c76d520dcf61 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:35:56 +0200 Subject: [PATCH] petting (#535) --- .../Prototypes/_CP14/Entities/Mobs/NPC/animals.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/animals.yml b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/animals.yml index 48ae346b19..330ed7489b 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/animals.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/animals.yml @@ -152,6 +152,13 @@ gender: epicene - type: ReplacementAccent accent: pig + - type: InteractionPopup + successChance: 0.7 + interactSuccessString: petting-success-pig + interactFailureString: petting-failure-generic + interactSuccessSpawn: EffectHearts + interactSuccessSound: + path: /Audio/Animals/pig_oink.ogg - type: StealTarget stealGroup: CP14Boar @@ -193,5 +200,12 @@ - type: NPCRetaliation attackMemoryLength: 10 - type: FactionException + - type: InteractionPopup + successChance: 0.2 + interactSuccessString: petting-success-pig + interactFailureString: petting-failure-generic + interactSuccessSpawn: EffectHearts + interactSuccessSound: + path: /Audio/Animals/pig_oink.ogg - type: StealTarget stealGroup: CP14Boar