From 98bd55e9cb12327f6af373eaee0c6111dbdbee09 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 18 Sep 2021 02:09:28 -0700 Subject: Ghouling has finally arrived. --- .../NPC/v_npc_responds/general.json | 5 +- .../NPC/v_npc_responds/ghoul.json | 249 +++++++++++++++++++-- 2 files changed, 235 insertions(+), 19 deletions(-) (limited to 'vamp_stuff') diff --git a/vamp_stuff/Modification_Files/NPC/v_npc_responds/general.json b/vamp_stuff/Modification_Files/NPC/v_npc_responds/general.json index 1816cbd..a4192ab 100644 --- a/vamp_stuff/Modification_Files/NPC/v_npc_responds/general.json +++ b/vamp_stuff/Modification_Files/NPC/v_npc_responds/general.json @@ -2,10 +2,7 @@ { "id": [ "TALK_VAMP_PLACEHOLDER", - "TALK_GHOULIFY_MENU_ALLY", - "TALK_EMBRACE_MENU_ALLY", - "TALK_GHOULIFY_MENU_FRIENDLY", - "TALK_BLOODDRINK_BY_FORCE_MUTANT_SUCCESS" + "TALK_EMBRACE_MENU_ALLY" ], "type": "talk_topic", "dynamic_line": "The dialogue is not yet complete.", diff --git a/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json b/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json index d633f72..fe5bc28 100644 --- a/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json +++ b/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json @@ -38,6 +38,225 @@ } ] }, + { + "id": [ "TALK_GHOULIFY_MENU_ALLY", "TALK_GHOULIFY_MENU_FRIENDLY" ], + "type": "talk_topic", + "dynamic_line": "What is it?", + "note": "The mutually-exclusive trait queries look identical on purpose for role-playing reasons.", + "responses": [ + { + "text": "Would you mind becoming my servant?", + "note": "humans with vampire hostile traits will refuse and possibly attack you for merely being asked to become a ghoul.", + "condition": { + "and": [ + { "not": + { "npc_has_any_trait": [ + "VAMP_BLOODDOLL", + "VAMP_GHOUL_REFUSED", + "THRESH_VAMP", + "VAMP_GHOUL" + ] } + }, + { "npc_has_any_trait": [ + "BADTEMPER", + "KILLER", + "MOODSWINGS", + "SPIRITUAL", + "THRESH_LUPINE" + ] } + ] + }, + "trial": { "type": "PERSUADE", "difficulty": 15, "mod": [ [ "TRUST", 6 ], [ "VALUE", 2 ], [ "ANGER", -6 ] ] }, + "success": { + "topic": "TALK_GHOULIFY_BADTRAIT_REFUSE", + "opinion": { "trust": -1, "anger": 1 }, + "effect": [ { "npc_add_trait": "VAMP_GHOUL_REFUSED" } ] + }, + "failure": { "topic": "TALK_GHOULIFY_BADTRAIT_ATTACK" } + }, + { + "text": "Would you mind becoming my servant?", + "note": "allied humans need to be convinced to become a ghoul.", + "condition": { + "and": [ + { "not": + { "npc_has_any_trait": [ + "VAMP_BLOODDOLL", + "VAMP_GHOUL_REFUSED", + "THRESH_VAMP", + "VAMP_GHOUL" + ] } + }, + { "not": + { "npc_has_any_trait": [ + "BADTEMPER", + "KILLER", + "MOODSWINGS", + "SPIRITUAL", + "THRESH_LUPINE" + ] } + }, + "npc_following" + ] + }, + "trial": { "type": "PERSUADE", "difficulty": 25, "mod": [ [ "TRUST", 6 ], [ "VALUE", 2 ], [ "ANGER", -6 ] ] }, + "success": { "topic": "TALK_GHOULIFY_ALLY_ACCEPT" }, + "failure": { + "topic": "TALK_GHOULIFY_ALLY_REFUSE", + "effect": [ { "npc_add_trait": "VAMP_GHOUL_REFUSED" } ] + } + }, + { + "text": "Would you mind becoming my servant?", + "note": "non-allied humans need to be convinced to become a ghoul.", + "condition": { + "and": [ + { "not": + { "npc_has_any_trait": [ + "VAMP_BLOODDOLL", + "VAMP_GHOUL_REFUSED", + "THRESH_VAMP", + "VAMP_GHOUL" + ] } + }, + { "not": + { "npc_has_any_trait": [ + "BADTEMPER", + "KILLER", + "MOODSWINGS", + "SPIRITUAL", + "THRESH_LUPINE" + ] } + }, + { "not": "npc_following" } + ] + }, + "trial": { "type": "PERSUADE", "difficulty": 30, "mod": [ [ "TRUST", 6 ], [ "VALUE", 2 ], [ "ANGER", -6 ] ] }, + "success": { "topic": "TALK_GHOULIFY_FRIENDLY_ACCEPT" }, + "failure": { + "topic": "TALK_GHOULIFY_FRIENDLY_REFUSE", + "opinion": { "trust": -1, "anger": 1 }, + "effect": [ { "npc_add_trait": "VAMP_GHOUL_REFUSED" } ] + } + }, + { + "text": "*Forcefully make ghoul*", + "note": "Make ghoul by force. Humans.", + "condition": { "and": [ + { "not": { "npc_has_trait": "THRESH_VAMP" } }, + { "not": { "npc_has_trait": "VAMP_GHOUL" } }, + { "not": { "npc_has_trait": "VAMP_BLOODDOLL" } } + ] }, + "topic": "TALK_GHOULIFY_BY_FORCE_HUMAN" + }, + { "text": "*You decide to talk more instead.*", "topic": "TALK_NONE" }, + { "text": "*You decide not to.*", "topic": "TALK_DONE" } + ] + }, + { + "id": [ "TALK_GHOULIFY_ALLY_ACCEPT", "TALK_GHOULIFY_FRIENDLY_ACCEPT" ], + "type": "talk_topic", + "dynamic_line": "Hmmm, so if I serve you I get to become stronger and live forever? That sounds pretty good.", + "note": "A human was convinced to become a ghoul. NPC gains the Ghoul mutation and joins the player's faction. Player should take a small amount of damage.", + "responses": [ + { + "text": "*You bite your wrist, and slowly feed them some blood*", + "trial": { + "type": "CONDITION", + "condition": { "not": "npc_following" } + }, + "success": { "topic": "TALK_GHOULIFY_ALLY_ACCEPT_AFTERMATH", "effect": [ { "npc_add_trait": "VAMP_GHOUL" } ] }, + "failure": { "topic": "TALK_GHOULIFY_FRIENDLY_ACCEPT_AFTERMATH", "effect": [ { "npc_add_trait": "VAMP_GHOUL" } ], "effect": "follow" } + } + ] + }, + { + "id": [ "TALK_GHOULIFY_ALLY_ACCEPT_AFTERMATH", "TALK_GHOULIFY_FRIENDLY_ACCEPT_AFTERMATH" ], + "type": "talk_topic", + "dynamic_line": "Wow~ This is great. Um, yes, I will serve you loyally, Mistress.", + "note": "The human is now a ghoul.", + "responses": [ + { "text": "I am sure you will.", "topic": "TALK_DONE" } + ] + }, + { + "id": [ "TALK_GHOULIFY_ALLY_REFUSE", "TALK_GHOULIFY_FRIENDLY_REFUSE" ], + "type": "talk_topic", + "dynamic_line": "I'd rather not.", + "note": "The human refuses to become a ghoul, and will not change their mind...willingly.", + "responses": [ + { "text": "Nevermind.", "topic": "TALK_DONE" } + ] + }, + { + "id": [ "TALK_GHOULIFY_BADTRAIT_REFUSE" ], + "type": "talk_topic", + "dynamic_line": "Not a chance, vampire.", + "note": "The human angrily refuses to become a ghoul, and will not change their mind...willingly.", + "responses": [ + { "text": "I shouldn't have asked...", "topic": "TALK_DONE" } + ] + }, + { + "id": [ "TALK_GHOULIFY_BADTRAIT_ATTACK" ], + "type": "talk_topic", + "dynamic_line": "I'll never become a slave to a monster. I'll kill you, vampire!", + "note": "The human is very angry.", + "responses": [ + { "text": "Not if I kill you first!", "topic": "TALK_DONE", "effect": "hostile" } + ] + }, + { + "id": [ "TALK_GHOULIFY_BY_FORCE_HUMAN" ], + "type": "talk_topic", + "dynamic_line": "Wh-what are you...", + "note": "You caught your human companion off-guard. Attempt to forcefully make them into a ghoul, though they might be able to avoid you if strong, fast, or hard to grab.", + "responses": [ + { + "text": "*Bite your wrist and attempt to force your vitae down their throat*", + "trial": { + "type": "CONDITION", + "condition": { "not": + { "npc_has_any_trait": [ + "QUICK", + "ADRENALINE", + "MARTIAL_ARTS2", + "STR_UP2", + "STR_UP3", + "STR_UP4", + "STR_ALPHA", + "SLIMY" + ] } + } + }, + "success": { + "topic": "TALK_GHOULIFY_BY_FORCE_HUMAN_SUCCESS", + "opinion": { "trust": 10, "fear": 3, "value": -1, "anger": -10 } + }, + "failure": { "topic": "TALK_GHOULIFY_BY_FORCE_HUMAN_FAILURE" } + }, + { "text": "Huh? Nothing.", "topic": "TALK_NONE" } + ] + }, + { + "id": "TALK_GHOULIFY_BY_FORCE_HUMAN_SUCCESS", + "type": "talk_topic", + "dynamic_line": "Ack.. *blub* *cough* *cough* What did you... So I have to do what you say now?", + "responses": [ + { + "text": "Yes you do, slave.", + "topic": "TALK_DONE" + } + ] + }, + { + "id": "TALK_GHOULIFY_BY_FORCE_HUMAN_FAILURE", + "type": "talk_topic", + "dynamic_line": "I'll never become your slave!", + "responses": [ + { "text": "Then you can die!", "topic": "TALK_DONE", "effect": "hostile" } + ] + } { "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.", @@ -55,13 +274,13 @@ { "not": "npc_driving" } ] }, "trial": { "type": "INTIMIDATE", "difficulty": 10 }, - "success": { "topic": "TALK_GHOULIFY_BY_FORCE_SUCCESS", + "success": { "topic": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_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" } + "opinion": { "trust": 10, "fear": 3, "value": -1, "anger": -10 } }, + "failure": { "topic": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_FAILURE", "effect": "hostile" } } ] }, @@ -82,31 +301,31 @@ { "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" } + "success": { "topic": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_SUCCESS" }, + "failure": { "topic": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_FAILURE", "effect": "hostile" } } ] }, { - "id": "TALK_GHOULIFY_BY_FORCE_SUCCESS", + "id": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_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" + "text": "Then come here and become mine. *You bite your wrist to make them drink some of your vitae.", + "topic": "TALK_GHOULIFY_BY_FORCE_HUMAN_SUCCESS", + "effect": [ + "follow", + { "npc_add_trait": "VAMP_GHOUL" } + ], + "opinion": { "trust": 10, "fear": 3, "value": -1, "anger": -10 } } ] }, { - "id": "TALK_GHOULIFY_BY_FORCE_FAILURE", + "id": "TALK_GHOULIFY_BY_FORCE_NEUTRAL_FAILURE", "type": "talk_topic", - "dynamic_line": "I'd rather die!.", + "dynamic_line": "I'd rather die!", "responses": [ { "text": "Have it your way.", "topic": "TALK_DONE", "effect": "hostile" } ] -- cgit v1.2.1