summaryrefslogtreecommitdiff
path: root/vamp_stuff/Modification_Files/NPC/v_npc_responds/ghoul.json
blob: ef9a8652a9641c32b464e9af64f413b0e7902935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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" }
    ]
  }
]