Skip to content

Commit b39528b

Browse files
authored
[Experimental] legacy mods (#17)
* remove ammo_to_fire * remove activation_message * Create Faction.json * copy_from fix * remove move cost from medicine.json * Update monster_drops.json * lint * fix for subcategory * segfail mod fictionalweapons * fix for hd roof * lint
1 parent 75f2426 commit b39528b

File tree

13 files changed

+71
-45
lines changed

13 files changed

+71
-45
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"type": "MONSTER_FACTION",
4+
"name": "animatronics",
5+
"hate": [ "zombie", "triffid", "jabberwock", "fungus", "insect", "spider" ],
6+
"by_mood": "animatronics"
7+
}
8+
]

data/Legacy_mods/mods/Tanks/vehicles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
{ "x": 2, "y": 1, "parts": [ "hdframe_vertical_2", "hdhalfboard_horizontal", "plating_military" ] },
881881
{ "x": 2, "y": 2, "parts": [ "hdframe_vertical_2", "seat", "seatbelt_heavyduty", "cam_control" ] },
882882
{ "x": 2, "y": 2, "parts": [ "turret_mount", "mounted_m240" ] },
883-
{ "x": 2, "y": 2, "parts": [ "headlight_reinforced", "plating_military", "hdroof" ] },
883+
{ "x": 2, "y": 2, "parts": [ "headlight_reinforced", "plating_military", "hdroof" ] },
884884
{ "x": 2, "y": 3, "parts": [ "hdframe_vertical_2", "hdhalfboard_vertical", "tread3" ] },
885885
{ "x": 2, "y": 3, "parts": [ "omnicam", "plating_military" ] },
886886
{ "x": 2, "y": -1, "parts": [ "hdframe_vertical_2", "hdhalfboard_horizontal", "plating_military" ] },

data/Legacy_mods/mods/bio_mod/items/medicine.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"color": "light_cyan",
1414
"use_action": {
1515
"type": "heal",
16-
"activation_message": "You shake the can and spray the foam in the wound. Ouch.",
1716
"effects": [ { "id": "pkill1", "duration": 180 } ],
1817
"disinfectant_power": 5,
1918
"bite": 0.95,
@@ -36,7 +35,6 @@
3635
"color": "light_cyan",
3736
"use_action": {
3837
"type": "heal",
39-
"activation_message": "You slam the needle in and begin to feel the sensation of flesh crawling together...",
4038
"effects": [ { "id": "XE037", "duration": 450 } ],
4139
"limb_power": 10,
4240
"torso_power": 10,
@@ -56,6 +54,6 @@
5654
"charges": 5,
5755
"symbol": "!",
5856
"color": "light_cyan",
59-
"use_action": { "type": "consume_drug", "effects": [ { "id": "Nausea_Medicine", "duration": 300 } ], "move_cost": 100 }
57+
"use_action": { "type": "consume_drug", "effects": [ { "id": "Nausea_Medicine", "duration": 300 } ] }
6058
}
6159
]

data/Legacy_mods/mods/bio_mod/monsters/monster_drops.json

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,47 @@
33
"type": "item_group",
44
"subtype": "collection",
55
"id": "mon_zombie_scientist_death_drops",
6-
"copy-from": "mon_zombie_scientist_death_drops",
76
"entries": [
7+
{ "group": "lab_shoes", "damage": [ 1, 4 ] },
8+
{ "group": "lab_torso", "damage": [ 1, 4 ] },
9+
{ "group": "lab_pants", "damage": [ 1, 4 ] },
10+
{ "group": "underwear", "damage": [ 1, 4 ] },
811
{ "group": "BioCo_Software_Basic", "prob": 10 },
912
{ "group": "BioCo_Components", "prob": 10 },
10-
{ "group": "BioCo_Software_Advanced", "prob": 1 }
13+
{ "group": "BioCo_Software_Advanced", "prob": 1 },
14+
{
15+
"collection": [
16+
{ "group": "harddrugs", "prob": 25 },
17+
{ "group": "chem_lab", "prob": 60 },
18+
{ "group": "teleport", "prob": 6 },
19+
{ "group": "goo", "prob": 20 },
20+
{ "group": "cloning_vat", "prob": 1 },
21+
{ "group": "dissection", "prob": 50 },
22+
{ "group": "electronics", "prob": 40 },
23+
{ "group": "bionics", "prob": 10 },
24+
{ "group": "radio", "prob": 15 },
25+
{ "group": "textbooks", "prob": 25 },
26+
{ "group": "autodoc_installation_programs", "prob": 5 }
27+
]
28+
},
29+
{ "group": "wallets_science", "damage": [ 1, 4 ], "prob": 5 }
1130
]
1231
},
1332
{
1433
"id": "mon_zombie_technician_death_drops",
15-
"copy-from": "mon_zombie_technician_death_drops",
1634
"type": "item_group",
1735
"subtype": "collection",
18-
"entries": [ { "group": "BioCo_Software_Basic", "prob": 8 } ]
36+
"entries": [
37+
{ "group": "clothing_work_set", "damage": [ 1, 4 ] },
38+
{ "group": "underwear", "damage": [ 1, 4 ] },
39+
{ "group": "BioCo_Software_Basic", "prob": 8 },
40+
{
41+
"distribution": [ { "group": "tools_carpentry", "prob": 30 }, { "group": "tools_common", "prob": 70 } ],
42+
"prob": 30
43+
},
44+
{ "group": "supplies_electronics", "prob": 50 },
45+
{ "item": "id_industrial", "prob": 20 }
46+
]
1947
},
2048
{
2149
"id": "mon_BioCo_ScavBot_death_drops",

data/Legacy_mods/mods/bio_mod/recipies/bionics.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"activity_level": "LIGHT_EXERCISE",
66
"result": "bio_alarm",
77
"category": "CC_ELECTRONIC",
8-
"subcategory": "CSC_ELECTRONIC_CBMS",
8+
"subcategory": "CSC_ELECTRONIC_OTHER",
99
"skill_used": "electronics",
1010
"skills_required": [ "computer", 5 ],
1111
"difficulty": 5,
@@ -21,7 +21,7 @@
2121
"activity_level": "LIGHT_EXERCISE",
2222
"result": "bio_cable",
2323
"category": "CC_ELECTRONIC",
24-
"subcategory": "CSC_ELECTRONIC_CBMS",
24+
"subcategory": "CSC_ELECTRONIC_OTHER",
2525
"skill_used": "electronics",
2626
"skills_required": [ "computer", 5 ],
2727
"difficulty": 5,
@@ -37,7 +37,7 @@
3737
"activity_level": "LIGHT_EXERCISE",
3838
"result": "bio_remote",
3939
"category": "CC_ELECTRONIC",
40-
"subcategory": "CSC_ELECTRONIC_CBMS",
40+
"subcategory": "CSC_ELECTRONIC_OTHER",
4141
"skill_used": "electronics",
4242
"skills_required": [ "computer", 5 ],
4343
"difficulty": 5,
@@ -53,7 +53,7 @@
5353
"activity_level": "LIGHT_EXERCISE",
5454
"result": "bio_storage",
5555
"category": "CC_ELECTRONIC",
56-
"subcategory": "CSC_ELECTRONIC_CBMS",
56+
"subcategory": "CSC_ELECTRONIC_OTHER",
5757
"skill_used": "electronics",
5858
"skills_required": [ "computer", 5 ],
5959
"difficulty": 5,
@@ -69,7 +69,7 @@
6969
"activity_level": "LIGHT_EXERCISE",
7070
"result": "bio_tools",
7171
"category": "CC_ELECTRONIC",
72-
"subcategory": "CSC_ELECTRONIC_CBMS",
72+
"subcategory": "CSC_ELECTRONIC_OTHER",
7373
"skill_used": "electronics",
7474
"skills_required": [ "computer", 5 ],
7575
"difficulty": 5,
@@ -85,7 +85,7 @@
8585
"activity_level": "LIGHT_EXERCISE",
8686
"result": "bio_watch",
8787
"category": "CC_ELECTRONIC",
88-
"subcategory": "CSC_ELECTRONIC_CBMS",
88+
"subcategory": "CSC_ELECTRONIC_OTHER",
8989
"skill_used": "electronics",
9090
"skills_required": [ "computer", 5 ],
9191
"difficulty": 5,
@@ -101,7 +101,7 @@
101101
"activity_level": "LIGHT_EXERCISE",
102102
"result": "bio_armor_eyes",
103103
"category": "CC_ELECTRONIC",
104-
"subcategory": "CSC_ELECTRONIC_CBMS",
104+
"subcategory": "CSC_ELECTRONIC_OTHER",
105105
"skill_used": "electronics",
106106
"skills_required": [ "computer", 5 ],
107107
"difficulty": 5,
@@ -117,7 +117,7 @@
117117
"activity_level": "LIGHT_EXERCISE",
118118
"result": "bio_batteries",
119119
"category": "CC_ELECTRONIC",
120-
"subcategory": "CSC_ELECTRONIC_CBMS",
120+
"subcategory": "CSC_ELECTRONIC_OTHER",
121121
"skill_used": "electronics",
122122
"skills_required": [ "computer", 5 ],
123123
"difficulty": 5,
@@ -133,7 +133,7 @@
133133
"activity_level": "LIGHT_EXERCISE",
134134
"result": "bio_eye_optic",
135135
"category": "CC_ELECTRONIC",
136-
"subcategory": "CSC_ELECTRONIC_CBMS",
136+
"subcategory": "CSC_ELECTRONIC_OTHER",
137137
"skill_used": "electronics",
138138
"skills_required": [ "computer", 5 ],
139139
"difficulty": 5,
@@ -150,7 +150,7 @@
150150
"activity_level": "LIGHT_EXERCISE",
151151
"result": "bio_power_storage",
152152
"category": "CC_ELECTRONIC",
153-
"subcategory": "CSC_ELECTRONIC_CBMS",
153+
"subcategory": "CSC_ELECTRONIC_OTHER",
154154
"skill_used": "electronics",
155155
"skills_required": [ "computer", 5 ],
156156
"difficulty": 5,
@@ -166,7 +166,7 @@
166166
"activity_level": "LIGHT_EXERCISE",
167167
"result": "bio_power_storage_mkII",
168168
"category": "CC_ELECTRONIC",
169-
"subcategory": "CSC_ELECTRONIC_CBMS",
169+
"subcategory": "CSC_ELECTRONIC_OTHER",
170170
"skill_used": "electronics",
171171
"skills_required": [ "computer", 5 ],
172172
"difficulty": 5,
@@ -183,7 +183,7 @@
183183
"activity_level": "LIGHT_EXERCISE",
184184
"result": "bio_blood_anal",
185185
"category": "CC_ELECTRONIC",
186-
"subcategory": "CSC_ELECTRONIC_CBMS",
186+
"subcategory": "CSC_ELECTRONIC_OTHER",
187187
"skill_used": "electronics",
188188
"skills_required": [ "computer", 5 ],
189189
"difficulty": 5,
@@ -199,7 +199,7 @@
199199
"activity_level": "LIGHT_EXERCISE",
200200
"result": "bio_adrenaline",
201201
"category": "CC_ELECTRONIC",
202-
"subcategory": "CSC_ELECTRONIC_CBMS",
202+
"subcategory": "CSC_ELECTRONIC_OTHER",
203203
"skill_used": "electronics",
204204
"skills_required": [ "computer", 5 ],
205205
"difficulty": 5,
@@ -215,7 +215,7 @@
215215
"activity_level": "LIGHT_EXERCISE",
216216
"result": "bio_blood_filter",
217217
"category": "CC_ELECTRONIC",
218-
"subcategory": "CSC_ELECTRONIC_CBMS",
218+
"subcategory": "CSC_ELECTRONIC_OTHER",
219219
"skill_used": "electronics",
220220
"skills_required": [ "computer", 5 ],
221221
"difficulty": 6,
@@ -231,7 +231,7 @@
231231
"activity_level": "LIGHT_EXERCISE",
232232
"result": "bio_painkiller",
233233
"category": "CC_ELECTRONIC",
234-
"subcategory": "CSC_ELECTRONIC_CBMS",
234+
"subcategory": "CSC_ELECTRONIC_OTHER",
235235
"skill_used": "electronics",
236236
"skills_required": [ "computer", 7 ],
237237
"difficulty": 8,
@@ -248,7 +248,7 @@
248248
"activity_level": "LIGHT_EXERCISE",
249249
"result": "bio_cqb",
250250
"category": "CC_ELECTRONIC",
251-
"subcategory": "CSC_ELECTRONIC_CBMS",
251+
"subcategory": "CSC_ELECTRONIC_OTHER",
252252
"skill_used": "electronics",
253253
"skills_required": [ "computer", 7 ],
254254
"difficulty": 8,
@@ -264,7 +264,7 @@
264264
"activity_level": "LIGHT_EXERCISE",
265265
"result": "bio_dex_enhancer",
266266
"category": "CC_ELECTRONIC",
267-
"subcategory": "CSC_ELECTRONIC_CBMS",
267+
"subcategory": "CSC_ELECTRONIC_OTHER",
268268
"skill_used": "electronics",
269269
"skills_required": [ "computer", 7 ],
270270
"difficulty": 8,
@@ -280,7 +280,7 @@
280280
"activity_level": "LIGHT_EXERCISE",
281281
"result": "bio_eye_enhancer",
282282
"category": "CC_ELECTRONIC",
283-
"subcategory": "CSC_ELECTRONIC_CBMS",
283+
"subcategory": "CSC_ELECTRONIC_OTHER",
284284
"skill_used": "electronics",
285285
"skills_required": [ "computer", 7 ],
286286
"difficulty": 8,
@@ -296,7 +296,7 @@
296296
"activity_level": "LIGHT_EXERCISE",
297297
"result": "bio_faraday",
298298
"category": "CC_ELECTRONIC",
299-
"subcategory": "CSC_ELECTRONIC_CBMS",
299+
"subcategory": "CSC_ELECTRONIC_OTHER",
300300
"skill_used": "electronics",
301301
"skills_required": [ "computer", 7 ],
302302
"difficulty": 8,
@@ -312,7 +312,7 @@
312312
"activity_level": "LIGHT_EXERCISE",
313313
"result": "bio_ads",
314314
"category": "CC_ELECTRONIC",
315-
"subcategory": "CSC_ELECTRONIC_CBMS",
315+
"subcategory": "CSC_ELECTRONIC_OTHER",
316316
"skill_used": "electronics",
317317
"skills_required": [ "computer", 8 ],
318318
"difficulty": 8,
@@ -328,7 +328,7 @@
328328
"activity_level": "LIGHT_EXERCISE",
329329
"result": "bio_blade",
330330
"category": "CC_ELECTRONIC",
331-
"subcategory": "CSC_ELECTRONIC_CBMS",
331+
"subcategory": "CSC_ELECTRONIC_OTHER",
332332
"skill_used": "electronics",
333333
"skills_required": [ "computer", 8 ],
334334
"difficulty": 8,
@@ -344,7 +344,7 @@
344344
"activity_level": "LIGHT_EXERCISE",
345345
"result": "bio_claws",
346346
"category": "CC_ELECTRONIC",
347-
"subcategory": "CSC_ELECTRONIC_CBMS",
347+
"subcategory": "CSC_ELECTRONIC_OTHER",
348348
"skill_used": "electronics",
349349
"skills_required": [ "computer", 8 ],
350350
"difficulty": 8,

data/Legacy_mods/mods/blazemod/items/guns/blob_turret.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
"clip_size": 100,
6969
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "water": 100 } } ],
7070
"ammo_effects": [ "WIDE" ],
71-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN", "NO_RELOAD" ],
72-
"ammo_to_fire": 20
71+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN", "NO_RELOAD" ]
7372
},
7473
{
7574
"id": "fuzzle",
@@ -142,8 +141,7 @@
142141
"clip_size": 250,
143142
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "gasoline": 250 } } ],
144143
"ammo_effects": [ "JET", "BEANBAG", "BLINDS_EYES", "RECOVER_100", "WIDE", "CUSTOM_EXPLOSION" ],
145-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
146-
"ammo_to_fire": 20
144+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
147145
},
148146
{
149147
"id": "meltie",
@@ -167,8 +165,7 @@
167165
"clip_size": 250,
168166
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "water": 250 } } ],
169167
"ammo_effects": [ "JET", "ACID_BOMB", "WIDE" ],
170-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
171-
"ammo_to_fire": 20
168+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
172169
},
173170
{
174171
"id": "razorqueen",
@@ -192,8 +189,7 @@
192189
"clip_size": 250,
193190
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "bfeed": 250 } } ],
194191
"ammo_effects": [ "FRAG", "WIDE" ],
195-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
196-
"ammo_to_fire": 20
192+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
197193
},
198194
{
199195
"id": "spouterqueen",
@@ -218,8 +214,7 @@
218214
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "water": 1000 } } ],
219215
"ammo_effects": [ "WIDE", "ACT_ON_RANGED_HIT", "RECOVER_100", "NO_EMBED", "CUSTOM_EXPLOSION" ],
220216
"qualities": [ [ "JACK", 12 ] ],
221-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
222-
"ammo_to_fire": 100
217+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
223218
},
224219
{
225220
"id": "sharp",
@@ -310,8 +305,7 @@
310305
"clip_size": 500,
311306
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "water": 500 } } ],
312307
"ammo_effects": [ "JET", "BEANBAG", "WIDE" ],
313-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
314-
"ammo_to_fire": 20
308+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
315309
},
316310
{
317311
"id": "torchie",
@@ -337,8 +331,7 @@
337331
"clip_size": 180,
338332
"pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "gasoline": 180 } } ],
339333
"ammo_effects": [ "INCENDIARY", "FLARE", "WIDE", "STREAM" ],
340-
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ],
341-
"ammo_to_fire": 20
334+
"flags": [ "NEVER_JAMS", "MOUNTED_GUN" ]
342335
},
343336
{
344337
"id": "voideater",

data/Legacy_mods/mods/FictonalWeapons/fic_mods.json renamed to data/broken_mods/FictonalWeapons/fic_mods.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"color": "light_gray",
3535
"location": "underbarrel",
3636
"mod_targets": [ "pistol", "smg" ],
37-
"ammo_to_fire": 50,
3837
"gun_data": { "ammo": "flammable", "skill": "launcher", "dispersion": 320, "durability": 10, "clip_size": 300 },
3938
"dispersion_modifier": 25,
4039
"min_skills": [ [ "weapon", 2 ], [ "launcher", 2 ] ]

0 commit comments

Comments
 (0)