summaryrefslogtreecommitdiff
path: root/vamp_stuff/Modification_Files
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-01 12:19:33 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-01 12:19:33 -0700
commitd12f0be11beb53a0a8bb5d0c38091c27aef80388 (patch)
treee559fefac68138cd6bcb0085a1f44e74bbb67f73 /vamp_stuff/Modification_Files
parentExpand blood drinking dialogue to allow recruiting non-allied blood dolls (diff)
downloadcataclysm-bn-mod_vampire-stuff-redone-d12f0be11beb53a0a8bb5d0c38091c27aef80388.tar.xz
Add blood drinking refusal dialogues to friendly/neutral npcs
Diffstat (limited to 'vamp_stuff/Modification_Files')
-rw-r--r--vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json13
1 files changed, 10 insertions, 3 deletions
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.",