From d12f0be11beb53a0a8bb5d0c38091c27aef80388 Mon Sep 17 00:00:00 2001
From: jc_gargma <jc_gargma@iserlohn-fortress.net>
Date: Tue, 1 Jun 2021 12:19:33 -0700
Subject: Add blood drinking refusal dialogues to friendly/neutral npcs

---
 .../NPC/v_npc_responds/blood-drinking.json                  | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'vamp_stuff/Modification_Files/NPC/v_npc_responds')

diff --git a/vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json b/vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json
index ba47447..fc8c2e4 100644
--- a/vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json
+++ b/vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json
@@ -210,7 +210,14 @@
             ] }
           ]
         },
-        "topic": "TALK_BLOODDRINK_ALLY_REFUSE_LATER"
+        "trial": {
+          "type": "CONDITION",
+          "condition": {
+            "and": [ "npc_following" ]
+          }
+        },
+        "success": { "topic": "TALK_BLOODDRINK_ALLY_REFUSE_LATER" },
+        "failure": { "topic": "TALK_BLOODDRINK_FRIENDLY_REFUSE_LATER" }
       },
       {
         "text": "*Forcefully take blood*",
@@ -487,7 +494,7 @@
     ]
   },
   {
-    "id": [ "TALK_BLOODDRINK_ALLY_REFUSE" ],
+    "id": [ "TALK_BLOODDRINK_ALLY_REFUSE", "TALK_BLOODDRINK_FRIENDLY_REFUSE" ],
     "type": "talk_topic",
     "dynamic_line": "Not a chance vampire.",
     "note": "The human is very annoyed.",
@@ -496,7 +503,7 @@
     ]
   },
   {
-    "id": [ "TALK_BLOODDRINK_ALLY_REFUSE_LATER" ],
+    "id": [ "TALK_BLOODDRINK_ALLY_REFUSE_LATER", "TALK_BLOODDRINK_FRIENDLY_REFUSE_LATER" ],
     "type": "talk_topic",
     "dynamic_line": "I'm not feeling well enough to consider giving blood right now.",
     "note": "The human has recently given blood and will refuse to give more until recovered.",
-- 
cgit v1.2.1