summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2023-12-30 14:31:52 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2023-12-30 14:31:52 -0800
commit2a44054075b42d1a1c7e57ef44a6ba1640a8289f (patch)
tree34a34e5af9fcade66ec7e10b874108f4f68216c1
parentAdd POWERARMOR_COMPATIBLE flag to crimson coat. (diff)
downloadcataclysm-bn-mod_vampire-stuff-redone-2a44054075b42d1a1c7e57ef44a6ba1640a8289f.tar.xz
Convert gave-blood debuff from intensity to effects_on_remove.
-rw-r--r--vamp_stuff/Modification_Files/NPC/v_npc_responds/blood-drinking.json6
-rw-r--r--vamp_stuff/Modification_Files/Others/v_effects.json19
2 files changed, 19 insertions, 6 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 786ab6b..ab91237 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
@@ -89,7 +89,8 @@
{ "npc_need": "thirst", "amount": 125 },
{ "npc_need": "hunger", "amount": 150 },
{ "npc_need": "fatigue", "amount": 200 },
- { "npc_has_effect": "vamp_given_blood" }
+ { "npc_has_effect": "vamp_given_blood" },
+ { "npc_has_effect": "vamp_given_blood_2" }
]
}
}
@@ -163,6 +164,7 @@
{ "npc_need": "hunger", "amount": 150 },
{ "npc_need": "fatigue", "amount": 200 },
{ "npc_has_effect": "vamp_given_blood" },
+ { "npc_has_effect": "vamp_given_blood_2" },
{ "npc_has_effect": "vamp_refused_blood" }
] }
}
@@ -202,6 +204,7 @@
{ "npc_need": "hunger", "amount": 150 },
{ "npc_need": "fatigue", "amount": 200 },
{ "npc_has_effect": "vamp_given_blood" },
+ { "npc_has_effect": "vamp_given_blood_2" },
{ "npc_has_effect": "vamp_refused_blood" }
] }
},
@@ -242,6 +245,7 @@
{ "npc_need": "hunger", "amount": 150 },
{ "npc_need": "fatigue", "amount": 200 },
{ "npc_has_effect": "vamp_given_blood" },
+ { "npc_has_effect": "vamp_given_blood_2" },
{ "npc_has_effect": "vamp_refused_blood" }
] }
]
diff --git a/vamp_stuff/Modification_Files/Others/v_effects.json b/vamp_stuff/Modification_Files/Others/v_effects.json
index 9925c72..f2cc33d 100644
--- a/vamp_stuff/Modification_Files/Others/v_effects.json
+++ b/vamp_stuff/Modification_Files/Others/v_effects.json
@@ -31,14 +31,23 @@
{
"type": "effect_type",
"id": "vamp_given_blood",
- "name": [ "Recently Gave Blood", "Just Gave Blood" ],
+ "name": [ "Just Gave Blood" ],
"desc": [
- "You are recovering from having had your blood taken.", "You are woozy from having had your blood recently taken."
+ "You are woozy from having had your blood recently taken."
],
- "max_intensity": 2,
"int_dur_factor": "24 h",
- "base_mods": { "per_mod": [ 0 ] },
- "scaling_mods": { "str_mod": [ -1 ], "dex_mod": [ -1 ], "int_mod": [ -1 ], "per_mod": [ -1 ] }
+ "base_mods": { "str_mod": [ -1 ], "dex_mod": [ -1 ], "int_mod": [ -1 ], "per_mod": [ -1 ] },
+ "effects_on_remove": [ { "allow_on_remove": true, "effect_type": "vamp_given_blood_2", "duration": "24 h" } ]
+ },
+ {
+ "type": "effect_type",
+ "id": "vamp_given_blood_2",
+ "name": [ "Recently Gave Blood" ],
+ "desc": [
+ "You are recovering from having had your blood taken."
+ ],
+ "int_dur_factor": "24 h",
+ "base_mods": { "per_mod": [ 0 ] }
},
{
"type": "effect_type",