summaryrefslogtreecommitdiff
path: root/bionics-01_npc-can-use-more-bionics.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-10-29 18:01:32 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-10-29 18:01:32 -0700
commit444181f77cb649760c3099d9b96c8f863a8f8ddf (patch)
tree3e9e1e8c44a208c342fc919de1a24081739db884 /bionics-01_npc-can-use-more-bionics.patch
parentFix .50bmg ammo ordering (diff)
downloadcataclysm-bn-444181f77cb649760c3099d9b96c8f863a8f8ddf.tar.xz
Updated to 2021-10-29-1727
Reorganize patches into categories. Add patch to allow followers to eat from the basecamp stocks from farther away. -Reduces NPCs being prone to starve on large camps. Temporarily revert the book changes commit.
Diffstat (limited to 'bionics-01_npc-can-use-more-bionics.patch')
-rw-r--r--bionics-01_npc-can-use-more-bionics.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/bionics-01_npc-can-use-more-bionics.patch b/bionics-01_npc-can-use-more-bionics.patch
new file mode 100644
index 0000000..d140ab1
--- /dev/null
+++ b/bionics-01_npc-can-use-more-bionics.patch
@@ -0,0 +1,48 @@
+--- a/data/json/bionics.json
++++ b/data/json/bionics.json
+@@ -338,7 +338,7 @@
+ "name": { "str": "Enhanced Hearing" },
+ "description": "When this bionic is active, your hearing will be drastically improved, allowing you to hear ten times better than the average person. Additionally, high-intensity sounds will be automatically dampened before they can damage your hearing.",
+ "occupied_bodyparts": [ [ "head", 3 ] ],
+- "flags": [ "BIONIC_TOGGLED" ],
++ "flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
+ "included_bionics": [ "bio_earplugs" ]
+ },
+ {
+@@ -1200,6 +1200,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" ]
+ }
+ ]
+--- a/data/json/items/bionics.json
++++ b/data/json/items/bionics.json
+@@ -268,7 +268,7 @@
+ },
+ {
+ "id": "bio_ears",
+- "copy-from": "bionic_general",
++ "copy-from": "bionic_general_npc_usable",
+ "type": "BIONIC_ITEM",
+ "name": { "str": "Enhanced Hearing CBM" },
+ "looks_like": "bio_int_enhancer",
+@@ -743,7 +743,7 @@
+ },
+ {
+ "id": "bio_fuel_cell_gasoline",
+- "copy-from": "bionic_general",
++ "copy-from": "bionic_general_npc_usable",
+ "type": "BIONIC_ITEM",
+ "name": { "str": "Gasoline Fuel Cell CBM" },
+ "looks_like": "bio_int_enhancer",
+@@ -841,7 +841,7 @@
+ },
+ {
+ "id": "bio_surgical_razor",
+- "copy-from": "bionic_general",
++ "copy-from": "bionic_general_npc_usable",
+ "type": "BIONIC_ITEM",
+ "name": { "str": "Autonomous Surgical Scalpels CBM" },
+ "looks_like": "bio_int_enhancer",