summaryrefslogtreecommitdiff
path: root/backport-08_feat-Convert-non-pistol-only-energy-weapon-mods-to-b.patch
blob: 2d9da9eef6b0b5ebb4fcf27311267be53bfde65e (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
From 7d7dfe329b14390b4f45b42e8de701d993926641 Mon Sep 17 00:00:00 2001
From: KheirFerrum <102964889+KheirFerrum@users.noreply.github.com>
Date: Thu, 16 Nov 2023 02:47:48 +0000
Subject: [PATCH] feat: Convert non-pistol only energy weapon mods to be
 compatible with all energy weapons. (#3688)

Convert non-pistol only energy weapon mods

Now works with all energy weapons
---
 data/json/items/gunmod/laser_gunmods.json | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/json/items/gunmod/laser_gunmods.json b/data/json/items/gunmod/laser_gunmods.json
index 4d3bde9ff24..82ddd880c05 100644
--- a/data/json/items/gunmod/laser_gunmods.json
+++ b/data/json/items/gunmod/laser_gunmods.json
@@ -12,7 +12,7 @@
     "symbol": ":",
     "color": "light_gray",
     "location": "lens",
-    "mod_target_category": [ [ "ENERGY_WEAPONS", "PISTOLS" ], [ "ENERGY_WEAPONS", "RIFLES" ] ],
+    "mod_target_category": [ [ "ENERGY_WEAPONS" ] ],
     "range_modifier": -25,
     "damage_modifier": { "damage_type": "heat", "amount": 10 },
     "ammo_effects": [ "SHOT" ]
@@ -30,7 +30,7 @@
     "symbol": ":",
     "color": "light_gray",
     "location": "lens",
-    "mod_target_category": [ [ "ENERGY_WEAPONS", "PISTOLS" ], [ "ENERGY_WEAPONS", "RIFLES" ] ],
+    "mod_target_category": [ [ "ENERGY_WEAPONS" ] ],
     "range_modifier": 15,
     "damage_modifier": { "damage_type": "heat", "amount": 5 },
     "dispersion_modifier": 15
@@ -68,7 +68,7 @@
     "symbol": ":",
     "color": "light_gray",
     "location": "emitter",
-    "mod_target_category": [ [ "ENERGY_WEAPONS", "PISTOLS" ], [ "ENERGY_WEAPONS", "RIFLES" ] ],
+    "mod_target_category": [ [ "ENERGY_WEAPONS" ] ],
     "ups_charges_multiplier": 0.9
   },
   {
@@ -85,7 +85,7 @@
     "symbol": ":",
     "color": "light_gray",
     "location": "emitter",
-    "mod_target_category": [ [ "ENERGY_WEAPONS", "PISTOLS" ], [ "ENERGY_WEAPONS", "RIFLES" ] ],
+    "mod_target_category": [ [ "ENERGY_WEAPONS" ] ],
     "range_modifier": 5,
     "damage_modifier": { "damage_type": "heat", "amount": 10 },
     "ups_charges_multiplier": 2.0
-- 
2.42.0