summaryrefslogtreecommitdiff
path: root/revert-09_undo-yet-more-ammo-balancing.patch
blob: 01dd4e136cef7db5bb8c6f80fe186268774e8acc (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
From 30517b3811fa707a3dcfb0849efb0cfd4977c98d Mon Sep 17 00:00:00 2001
From: Chaosvolt <chaosvolt@users.noreply.github.com>
Date: Mon, 12 Dec 2022 08:08:09 -0600
Subject: [PATCH 148/177] Ammo rebalance project, part 7 (#2121)

* [WIP] Ammo rebalance project, part 7

* Typofix

Doi

* Update 40x46mm, casing description stuff

* And do 40x53mm

* Obsolete/migrate redundant 8mm ammo

* Re-add comment that got ate by merge conflict fix

* Updates per feedback
---
 .../itemgroups/Weapons_Mods_Ammo/ammo.json    |  1 -
 data/json/itemgroups/military.json            |  4 +-
 data/json/items/ammo/40x46mm.json             | 57 ++++++++-----------
 data/json/items/ammo/40x53mm.json             | 29 +++-------
 data/json/items/ammo/8x40mm.json              | 23 ++++----
 data/json/items/migration.json                | 15 +++++
 data/json/obsoletion/recipes.json             | 10 ++++
 data/json/professions.json                    |  4 +-
 data/json/recipes/ammo/shot.json              |  4 +-
 .../Generic_Guns/ammo/gg_ammo_migration.json  |  3 -
 .../Generic_Guns/recipes/recipe_obsolete.json |  7 +--
 data/mods/No_Rivtech_Guns/modinfo.json        |  1 -
 .../more_classes_scenarios/cs_classes.json    |  6 +-
 doc/GAME_BALANCE.md                           |  6 +-
 22 files changed, 110 insertions(+), 108 deletions(-)

diff --git a/data/json/itemgroups/Weapons_Mods_Ammo/ammo.json b/data/json/itemgroups/Weapons_Mods_Ammo/ammo.json
index c10de498fb4..63682ca9ef1 100644
--- a/data/json/itemgroups/Weapons_Mods_Ammo/ammo.json
+++ b/data/json/itemgroups/Weapons_Mods_Ammo/ammo.json
@@ -246,7 +246,6 @@
       { "item": "762_51_incendiary", "prob": 10 },
       { "item": "762_51", "prob": 40 },
       { "item": "8mm_caseless", "prob": 30 },
-      { "item": "8mm_fmj", "prob": 30 },
       { "item": "8mm_hvp", "prob": 10 },
       { "item": "8mm_inc", "prob": 20 },
       { "item": "8mm_jhp", "prob": 10 },
diff --git a/data/json/itemgroups/military.json b/data/json/itemgroups/military.json
index 67766ba566a..8f564eb87aa 100644
--- a/data/json/itemgroups/military.json
+++ b/data/json/itemgroups/military.json
@@ -226,7 +226,7 @@
       { "item": "8mm_caseless", "prob": 2 },
       { "item": "rm99_pistol", "prob": 1 },
       { "item": "8mm_jhp", "prob": 2 },
-      { "item": "8mm_fmj", "prob": 2 },
+      { "item": "8mm_hvp", "prob": 2 },
       { "item": "laser_rifle", "prob": 1 },
       { "item": "rm103a_pistol", "prob": 1 },
       { "item": "laser_sight", "prob": 15 },
@@ -388,7 +388,7 @@
       { "item": "50_mk211", "prob": 1 },
       { "item": "50ss", "prob": 8 },
       { "item": "50_incendiary", "prob": 8 },
-      { "item": "8mm_fmj", "prob": 6 },
+      { "item": "8mm_jhp", "prob": 6 },
       { "item": "8mm_inc", "prob": 6 },
       { "item": "8mm_caseless", "prob": 6 },
       { "item": "m202_flash", "prob": 15 },
diff --git a/data/json/items/ammo/40x46mm.json b/data/json/items/ammo/40x46mm.json
index 530278fd5d8..352b67d154c 100644
--- a/data/json/items/ammo/40x46mm.json
+++ b/data/json/items/ammo/40x46mm.json
@@ -69,19 +69,6 @@
     "casing": "40x46mm_m118_casing",
     "extend": { "effects": [ "SHOT" ] }
   },
-  {
-    "id": "40x46mm_buckshot_m199",
-    "copy-from": "40x46mm_grenade",
-    "type": "AMMO",
-    "name": { "str": "40x46mm buckshot" },
-    "description": "An improvised 40x46mm buckshot load somewhat resembling M576.",
-    "weight": "120 g",
-    "range": 10,
-    "damage": { "damage_type": "bullet", "amount": 90, "armor_penetration": 4 },
-    "recoil": 1000,
-    "casing": "40x46mm_m199_casing",
-    "extend": { "effects": [ "SHOT" ] }
-  },
   {
     "id": "40x46mm_slug_m118",
     "copy-from": "40x46mm_grenade",
diff --git a/data/json/items/ammo/40x53mm.json b/data/json/items/ammo/40x53mm.json
index 4541de0dab2..aeb0d2e732e 100644
--- a/data/json/items/ammo/40x53mm.json
+++ b/data/json/items/ammo/40x53mm.json
@@ -60,17 +61,4 @@
     "recoil": 1200,
     "casing": "40x53mm_m169_casing"
-  },
-  {
-    "id": "40x53mm_flechette_m169",
-    "copy-from": "40x53mm_grenade",
-    "type": "AMMO",
-    "name": { "str": "40x53mm flechette" },
-    "description": "An improvised 40x53mm flechette load containing 100 steel darts.",
-    "weight": "340 g",
-    "range": 10,
-    "damage": { "damage_type": "bullet", "amount": 85, "armor_penetration": 6 },
-    "recoil": 1200,
-    "casing": "40x53mm_m169_casing",
-    "extend": { "effects": [ "SHOT" ] }
   }
 ]
diff --git a/data/json/items/ammo/8x40mm.json b/data/json/items/ammo/8x40mm.json
index 25d9b16a37b..8ca62a1bfb3 100644
--- a/data/json/items/ammo/8x40mm.json
+++ b/data/json/items/ammo/8x40mm.json
@@ -39,14 +39,6 @@
       "dispersion": 1.2,
       "recoil": 0.5
   },
-  {
-    "id": "8mm_fmj",
-    "copy-from": "8mm_caseless",
-    "type": "AMMO",
-    "name": { "str": "8x40mm FMJ" },
-    "description": "8x40mm caseless rounds, full metal jacket.  Military grade ammunition for Rivtech firearms.  Being caseless rounds, these cannot be disassembled or reloaded.",
-    "relative": { "damage": { "damage_type": "bullet", "amount": -5, "armor_penetration": 10 } }
-  },
   {
     "id": "8mm_hvp",
     "copy-from": "8mm_caseless",
diff --git a/data/json/items/migration.json b/data/json/items/migration.json
index ed67da394f0..31158a8187c 100644
--- a/data/json/obsoletion/migration.json
+++ b/data/json/obsoletion/migration.json
@@ -1740,6 +1740,21 @@
     "id": "rubber_armor_horse",
     "type": "MIGRATION",
     "replace": "rubber_armor_medium_quadruped"
+  },
+  {
+    "id": "40x46mm_buckshot_m199",
+    "type": "MIGRATION",
+    "replace": "40x46mm_m576"
+  },
+  {
+    "id": "40x53mm_flechette_m169",
+    "type": "MIGRATION",
+    "replace": "40x53mm_m1001"
+  },
+  {
+    "id": "8mm_fmj",
+    "type": "MIGRATION",
+    "replace": "8mm_caseless"
   },
   {
     "id": "chem_zinc_powder",
diff --git a/data/json/obsoletion/recipes.json b/data/json/obsoletion/recipes.json
index c0c56cead36..8e1335380e2 100644
--- a/data/json/obsoletion/recipes.json
+++ b/data/json/obsoletion/recipes.json
@@ -3147,5 +3147,15 @@
     "type": "recipe",
     "result": "rubber_armor_horse_from_scratch",
     "obsolete": true
+  },
+  {
+    "type": "recipe",
+    "result": "40x46mm_buckshot_m199",
+    "obsolete": true
+  },
+  {
+    "type": "recipe",
+    "result": "40x53mm_flechette_m169",
+    "obsolete": true
   },
   {
     "type": "recipe",
diff --git a/data/json/professions.json b/data/json/professions.json
index cd30799fa83..f84f94b6d33 100644
--- a/data/json/professions.json
+++ b/data/json/professions.json
@@ -45,8 +45,8 @@
     "subtype": "collection",
     "id": "army_mags_rm11b",
     "entries": [
-      { "item": "8x40_10_mag", "ammo-item": "8mm_fmj", "charges": 10 },
-      { "item": "8x40_10_mag", "ammo-item": "8mm_fmj", "charges": 10 }
+      { "item": "8x40_10_mag", "ammo-item": "8mm_caseless", "charges": 10 },
+      { "item": "8x40_10_mag", "ammo-item": "8mm_caseless", "charges": 10 }
     ]
   },
   {
diff --git a/data/json/recipes/ammo/shot.json b/data/json/recipes/ammo/shot.json
index 80a7881ea64..27b7bb17832 100644
--- a/data/json/recipes/ammo/shot.json
+++ b/data/json/recipes/ammo/shot.json
@@ -149,7 +149,7 @@
     ]
   },
   {
-    "result": "40x53mm_flechette_m169",
+    "result": "40x53mm_m1001",
     "type": "recipe",
     "category": "CC_AMMO",
     "subcategory": "CSC_AMMO_SHOT",
@@ -197,7 +197,7 @@
     ]
   },
   {
-    "result": "40x46mm_buckshot_m199",
+    "result": "40x46mm_m576",
     "type": "recipe",
     "category": "CC_AMMO",
     "subcategory": "CSC_AMMO_SHOT",
diff --git a/data/mods/Generic_Guns/ammo/gg_ammo_migration.json b/data/mods/Generic_Guns/ammo/gg_ammo_migration.json
index 675f5ba932d..8e61d596190 100644
--- a/data/mods/Generic_Guns/ammo/gg_ammo_migration.json
+++ b/data/mods/Generic_Guns/ammo/gg_ammo_migration.json
@@ -147,7 +147,6 @@
       "556_incendiary",
       "762_m43",
       "8mm_caseless",
-      "8mm_fmj",
       "8mm_hvp",
       "8mm_inc",
       "reloaded_556",
@@ -260,11 +259,9 @@
     "id": [
       "40x46mm_m576",
       "40x46mm_buckshot_m118",
-      "40x46mm_buckshot_m199",
       "40x46mm_flechette_m118",
       "40x46mm_flechette_m199",
       "40x53mm_m1001",
-      "40x53mm_flechette_m169",
       "40x53mm_buckshot_m169"
     ],
     "type": "MIGRATION",
diff --git a/data/mods/Generic_Guns/recipes/recipe_obsolete.json b/data/mods/Generic_Guns/recipes/recipe_obsolete.json
index e4e3796a108..8653252ae1d 100644
--- a/data/mods/Generic_Guns/recipes/recipe_obsolete.json
+++ b/data/mods/Generic_Guns/recipes/recipe_obsolete.json
@@ -366,7 +366,7 @@
   },
   {
     "type": "recipe",
-    "result": "40x46mm_buckshot_m199",
+    "result": "40x46mm_m576",
     "obsolete": true
   },
   {
@@ -399,11 +399,6 @@
     "result": "40x53mm_slug_m169",
     "obsolete": true
   },
-  {
-    "type": "recipe",
-    "result": "40x53mm_flechette_m169",
-    "obsolete": true
-  },
   {
     "type": "recipe",
     "result": "shot_paper_00",
diff --git a/data/mods/No_Rivtech_Guns/modinfo.json b/data/mods/No_Rivtech_Guns/modinfo.json
index 716658fe996..983a1d1d2e4 100644
--- a/data/mods/No_Rivtech_Guns/modinfo.json
+++ b/data/mods/No_Rivtech_Guns/modinfo.json
@@ -14,7 +14,6 @@
     "items": [
       "8mm_caseless",
       "8mm_bootleg",
-      "8mm_fmj",
       "8mm_jhp",
       "8mm_inc",
       "5x50dart",
diff --git a/data/mods/more_classes_scenarios/cs_classes.json b/data/mods/more_classes_scenarios/cs_classes.json
index d10e81bd771..95a92381547 100644
--- a/data/mods/more_classes_scenarios/cs_classes.json
+++ b/data/mods/more_classes_scenarios/cs_classes.json
@@ -4,8 +4,8 @@
     "subtype": "collection",
     "id": "army_mags_rm2000",
     "entries": [
-      { "item": "8x40_10_mag", "ammo-item": "8mm_fmj", "charges": 10 },
-      { "item": "8x40_10_mag", "ammo-item": "8mm_fmj", "charges": 10 }
+      { "item": "8x40_10_mag", "ammo-item": "8mm_caseless", "charges": 10 },
+      { "item": "8x40_10_mag", "ammo-item": "8mm_caseless", "charges": 10 }
     ]
   },
   {
@@ -53,7 +53,7 @@
           { "item": "kukri", "container-item": "sheath" },
           {
             "item": "rm2000_smg",
-            "ammo-item": "8mm_fmj",
+            "ammo-item": "8mm_caseless",
             "charges": 25,
             "contents-item": [ "shoulder_strap", "suppressor", "holo_sight" ]
           },
-- 
2.39.0