summaryrefslogtreecommitdiff
path: root/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-01 01:34:47 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-06-01 01:34:47 -0700
commita0dabe709fd89018827a5c760e8ad43f824a6588 (patch)
tree6df2394f6b507897051e05d3905bde588312e639 /vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json
parentConvert VAMPSKIN to VAMP_SKIN (diff)
downloadcataclysm-dda-mod_vampire-stuff-redone-a0dabe709fd89018827a5c760e8ad43f824a6588.tar.xz
Expand blood drinking dialogue to allow recruiting non-allied blood dolls
Diffstat (limited to 'vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json')
-rw-r--r--vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json106
1 files changed, 106 insertions, 0 deletions
diff --git a/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json b/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json
new file mode 100644
index 0000000..ef9a865
--- /dev/null
+++ b/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json
@@ -0,0 +1,106 @@
+[
+ {
+ "id": [ "TALK_FRIEND", "TALK_GIVE_ITEM", "TALK_USE_ITEM", "TALK_RADIO" ],
+ "note": "Check if the player is a vampire, not busy, and in person with a follower.",
+ "type": "talk_topic",
+ "responses": [
+ {
+ "text": "*Consider making your follower into a ghoul*.",
+ "condition": { "and": [
+ { "u_has_trait": "THRESH_VAMP" },
+ { "not": { "npc_has_trait": "THRESH_VAMP" } },
+ { "not": "is_by_radio" },
+ { "not": "u_driving" },
+ { "not": "npc_driving" }
+ ] },
+ "topic": "TALK_GHOULIFY_MENU_ALLY"
+ }
+ ]
+ },
+ {
+ "id": [ "TALK_STRANGER_FRIENDLY", "TALK_STRANGER_NEUTRAL" ],
+ "note": "Check if the player is a vampire, not busy, and in person with a friendly or neutral npc.",
+ "type": "talk_topic",
+ "responses": [
+ {
+ "text": "*Consider making the stranger into a ghoul*.",
+ "condition": { "and": [
+ { "u_has_trait": "THRESH_VAMP" },
+ { "not": "is_by_radio" },
+ { "not": "u_driving" },
+ { "not": "npc_driving" }
+ ] },
+ "topic": "TALK_GHOULIFY_MENU_FRIENDLY"
+ }
+ ]
+ },
+ {
+ "id": [ "TALK_STRANGER_WARY", "TALK_STRANGER_SCARED" ],
+ "note": "Check if the player is a vampire, not busy, and in person with a wary or scared npc.",
+ "type": "talk_topic",
+ "responses": [
+ {
+ "text": "We'll see who is giving orders after I enslave you!.",
+ "condition": { "and": [
+ { "u_has_trait": "THRESH_VAMP" },
+ { "not": { "npc_has_trait": "THRESH_VAMP" } },
+ { "not": "is_by_radio" },
+ { "not": "u_driving" },
+ { "not": "npc_driving" }
+ ] },
+ "trial": { "type": "INTIMIDATE", "difficulty": 10 },
+ "success": { "topic": "TALK_GHOULIFY_BY_FORCE_SUCCESS",
+ "effect": [
+ "follow",
+ { "npc_add_trait": "VAMP_GHOUL" }
+ ],
+ "opinion": { "trust": -4, "fear": 3, "value": -1, "anger": 1 } },
+ "failure": { "topic": "TALK_GHOULIFY_BY_FORCE_FAILURE", "effect": "hostile" }
+ }
+ ]
+ },
+ {
+ "id": [ "TALK_STRANGER_AGGRESSIVE" ],
+ "note": "Check if the player is a vampire, not busy, and in person with a near-hostile npc.",
+ "type": "talk_topic",
+ "responses": [
+ {
+ "text": "We'll see who is giving orders after I enslave you!.",
+ "condition": { "and": [
+ { "u_has_trait": "THRESH_VAMP" },
+ { "not": { "npc_has_trait": "THRESH_VAMP" } },
+ { "not": "is_by_radio" },
+ { "not": "u_driving" },
+ { "not": "npc_driving" }
+ ] },
+ "trial": { "type": "INTIMIDATE", "difficulty": 20 },
+ "success": { "topic": "TALK_GHOULIFY_BY_FORCE_SUCCESS",
+ "effect": [
+ "follow",
+ { "npc_add_trait": "VAMP_GHOUL" }
+ ],
+ "opinion": { "trust": -4, "fear": 3, "value": -1, "anger": 1 } },
+ "failure": { "topic": "TALK_GHOULIFY_BY_FORCE_FAILURE", "effect": "hostile" }
+ }
+ ]
+ },
+ {
+ "id": "TALK_GHOULIFY_BY_FORCE_SUCCESS",
+ "type": "talk_topic",
+ "dynamic_line": "I'll do whatever you say! Just don't kill me!",
+ "responses": [
+ {
+ "text": "Follow me and do my bidding, then.",
+ "topic": "TALK_DONE"
+ }
+ ]
+ },
+ {
+ "id": "TALK_GHOULIFY_BY_FORCE_FAILURE",
+ "type": "talk_topic",
+ "dynamic_line": "I'd rather die!.",
+ "responses": [
+ { "text": "Have it your way.", "topic": "TALK_DONE", "effect": "hostile" }
+ ]
+ }
+]