summaryrefslogtreecommitdiff
path: root/0008-npc-can-use-soporific.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-01-18 05:01:02 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-01-18 05:01:02 -0800
commit42209cb39a6d278e0c3ad9dafd13bba47d3f9adb (patch)
tree45be71d6fb9f07a843180e65c2b46a995d3a7ba7 /0008-npc-can-use-soporific.patch
parentUpdate ammo names patch (diff)
downloadcataclysm-bn-42209cb39a6d278e0c3ad9dafd13bba47d3f9adb.tar.xz
Revert the npc sleep on tables patch
Add patch to prevent non-faction NPCs becoming sleep deprived
Diffstat (limited to '0008-npc-can-use-soporific.patch')
-rw-r--r--0008-npc-can-use-soporific.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/0008-npc-can-use-soporific.patch b/0008-npc-can-use-soporific.patch
new file mode 100644
index 0000000..ea0f8db
--- /dev/null
+++ b/0008-npc-can-use-soporific.patch
@@ -0,0 +1,10 @@
+--- a/data/json/bionics.json
++++ b/data/json/bionics.json
+@@ -1196,6 +1196,6 @@
+ "name": { "str": "Soporific Induction" },
+ "description": "An electrode has been implanted into your brain's ventrolateral preoptic nucleus. It turns on whenever you're trying to fall asleep, creating an artificial but effective sensation of fatigue.",
+ "occupied_bodyparts": [ [ "HEAD", 1 ] ],
+- "flags": [ "BIONIC_TOGGLED" ]
++ "flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
+ }
+ ]