Skip to content

Commit 75095a8

Browse files
Aftershock: Vehicle bay City Building (#81879)
1 parent a4cb000 commit 75095a8

File tree

6 files changed

+265
-1
lines changed

6 files changed

+265
-1
lines changed

data/mods/aftershock_exoplanet/itemgroups/tool_groups.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,42 @@
283283
{ "group": "duct_tape_roll_part", "prob": 10, "count": [ 1, 2 ] }
284284
]
285285
},
286+
{
287+
"id": "afs_vehicle_bay_rack",
288+
"type": "item_group",
289+
"subtype": "distribution",
290+
"items": [ { "group": "vehicle_bay_tools", "prob": 50 }, { "group": "vehicle_bay_mats", "prob": 50 } ]
291+
},
292+
{
293+
"type": "item_group",
294+
"id": "vehicle_bay_tools",
295+
"//": "Mechanic's tools, still mostly mundane.",
296+
"subtype": "collection",
297+
"items": [
298+
{ "group": "tools_toolbox", "prob": 5 },
299+
{ "group": "afs_hard_hat", "prob": 5 },
300+
{ "group": "afs_tools_welding", "prob": 5 },
301+
{ "group": "afs_tools_welding_consumable", "prob": 10 },
302+
{ "group": "tools_common_small", "prob": 20, "count": [ 2, 4 ] },
303+
{ "item": "screwdriver_set", "prob": 20 },
304+
{ "item": "pliers", "prob": 5 },
305+
{ "item": "multitool", "prob": 5 },
306+
{ "item": "gloves_work", "prob": 5 },
307+
{ "item": "glasses_safety", "prob": 5 },
308+
{ "item": "goggles_welding", "prob": 5 },
309+
{ "item": "polisher", "prob": 20 },
310+
{ "item": "angle_grinder", "prob": 20 },
311+
[ "thread_cutting_set", 5 ],
312+
[ "hand_pump", 5 ],
313+
[ "jumper_cable", 10 ],
314+
[ "extension_cable", 15 ],
315+
[ "hd_tow_cable", 5 ],
316+
[ "clamp", 5 ],
317+
[ "clamp", 5 ],
318+
[ "metal_file", 10 ],
319+
[ "hacksaw", 5 ]
320+
]
321+
},
286322
{
287323
"type": "item_group",
288324
"id": "afs_tools_scavenging",
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
[
2+
{
3+
"type": "item_group",
4+
"id": "vehicle_bay_mats",
5+
"subtype": "collection",
6+
"items": [
7+
{ "group": "afs_vehicle_wheels", "prob": 5 },
8+
{ "group": "afs_vehicle_utilities", "prob": 5 },
9+
{ "group": "afs_vehicle_seating", "prob": 5 },
10+
{ "group": "afs_vehicle_motors", "prob": 5 },
11+
{ "group": "afs_vehicle_lights", "prob": 5 },
12+
{ "group": "afs_vehicle_frames", "prob": 5 },
13+
{ "group": "afs_vehicle_controls", "prob": 5 },
14+
{ "group": "afs_vehicle_cargo", "prob": 5 },
15+
{ "group": "afs_vehicle_batteries", "prob": 5 }
16+
]
17+
},
18+
{
19+
"type": "item_group",
20+
"id": "afs_vehicle_wheels",
21+
"subtype": "distribution",
22+
"items": [
23+
{ "item": "wheel_mount_light", "prob": 50, "count": [ 1, 2 ] },
24+
{ "item": "wheel_mount_medium", "prob": 50, "count": [ 1, 4 ] },
25+
{ "item": "wheel_mount_heavy", "prob": 50, "count": [ 1, 4 ] },
26+
{ "item": "wheel_motorbike", "prob": 50, "count": [ 1, 2 ] },
27+
{ "item": "wheel", "prob": 50, "count": [ 1, 4 ] },
28+
{ "item": "wheel_wide_or", "prob": 50, "count": [ 1, 4 ] },
29+
{ "item": "wheel_wide", "prob": 50, "count": [ 1, 4 ] }
30+
]
31+
},
32+
{
33+
"type": "item_group",
34+
"id": "afs_vehicle_utilities",
35+
"subtype": "distribution",
36+
"items": [
37+
{ "item": "recharge_station", "prob": 50 },
38+
{ "item": "cantilever_medium", "prob": 50 },
39+
{ "item": "battery_charger", "prob": 50 },
40+
{ "item": "heattank", "prob": 60, "count": [ 1, 7 ] },
41+
{ "item": "workbench", "prob": 70, "count": [ 1, 3 ] },
42+
{ "item": "solar_panel", "prob": 70, "count": [ 3, 12 ] },
43+
{ "item": "reinforced_solar_panel", "prob": 20, "count": [ 1, 2 ] },
44+
{ "item": "solar_panel_v2", "prob": 20, "count": [ 2, 7 ] },
45+
{ "item": "beeper", "prob": 20, "count": [ 1, 6 ] },
46+
{ "item": "stereo", "prob": 20, "count": [ 1, 6 ] },
47+
{ "item": "v_motorcycle_kickstand_item", "prob": 20, "count": [ 1, 8 ] }
48+
]
49+
},
50+
{
51+
"type": "item_group",
52+
"id": "afs_vehicle_seating",
53+
"subtype": "distribution",
54+
"items": [ { "item": "seat", "prob": 60, "count": [ 3, 8 ] }, { "item": "seat_bench", "prob": 40, "count": [ 3, 8 ] } ]
55+
},
56+
{
57+
"type": "item_group",
58+
"id": "afs_vehicle_motors",
59+
"subtype": "distribution",
60+
"items": [
61+
{ "item": "motor", "prob": 30 },
62+
{ "item": "motor_enhanced", "prob": 10 },
63+
{ "item": "motor_super", "prob": 5 },
64+
{ "item": "motor_large", "prob": 40 },
65+
{ "item": "motor_small", "prob": 20 },
66+
{ "item": "motor_tiny", "prob": 20 }
67+
]
68+
},
69+
{
70+
"type": "item_group",
71+
"id": "afs_vehicle_lights",
72+
"subtype": "distribution",
73+
"items": [
74+
{ "item": "car_headlight", "prob": 60, "count": [ 5, 12 ] },
75+
{ "item": "motorcycle_headlight", "prob": 50, "count": [ 3, 7 ] },
76+
{ "item": "headlight_reinforced", "prob": 20, "count": [ 1, 3 ] },
77+
{ "item": "floodlight", "prob": 10, "count": [ 1, 3 ] },
78+
{ "item": "directed_floodlight", "prob": 10, "count": [ 1, 3 ] }
79+
]
80+
},
81+
{
82+
"type": "item_group",
83+
"id": "afs_vehicle_frames",
84+
"subtype": "distribution",
85+
"items": [
86+
{ "item": "xlframe", "prob": 40, "count": [ 2, 8 ] },
87+
{ "item": "frame", "prob": 60, "count": [ 7, 18 ] },
88+
{ "item": "hdframe", "prob": 30, "count": [ 3, 15 ] }
89+
]
90+
},
91+
{
92+
"type": "item_group",
93+
"id": "afs_vehicle_controls",
94+
"subtype": "distribution",
95+
"items": [
96+
{ "item": "camera_control", "prob": 20 },
97+
{ "item": "omnicamera", "prob": 20, "count": [ 3, 7 ] },
98+
{ "item": "omnicamera_reinforced", "prob": 10, "count": [ 1, 4 ] },
99+
{ "item": "vehicle_controls", "prob": 60, "count": [ 3, 8 ] },
100+
{ "item": "vehicle_dashboard", "prob": 40, "count": [ 3, 7 ] },
101+
{ "item": "electronics_controls", "prob": 40, "count": [ 2, 5 ] },
102+
{ "item": "turret_controls", "prob": 5 }
103+
]
104+
},
105+
{
106+
"type": "item_group",
107+
"id": "afs_vehicle_cargo",
108+
"subtype": "distribution",
109+
"items": [
110+
{ "item": "cargo_lock", "prob": 30, "count": [ 3, 7 ] },
111+
{ "item": "cargo_rack", "prob": 40, "count": [ 3, 8 ] },
112+
{ "item": "cargo_aisle", "prob": 40, "count": [ 3, 7 ] }
113+
]
114+
},
115+
{
116+
"type": "item_group",
117+
"id": "afs_vehicle_batteries",
118+
"subtype": "distribution",
119+
"ammo": 100,
120+
"items": [
121+
{ "item": "large_storage_battery", "prob": 10 },
122+
{ "item": "storage_battery", "prob": 30, "count": [ 1, 4 ] },
123+
{ "item": "medium_storage_battery", "prob": 40, "count": [ 3, 8 ] },
124+
{ "item": "small_storage_battery", "prob": 50, "count": [ 5, 15 ] }
125+
]
126+
}
127+
]

data/mods/aftershock_exoplanet/maps/city_buildings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,17 @@
366366
],
367367
"locations": [ "land" ]
368368
},
369+
{
370+
"id": "afs_vehicle_bay",
371+
"type": "city_building",
372+
"overmaps": [
373+
{ "point": [ 1, 0, 0 ], "overmap": "afs_vehicle_bay_a1_south" },
374+
{ "point": [ 0, 0, 0 ], "overmap": "afs_vehicle_bay_a2_south" },
375+
{ "point": [ 1, 0, 1 ], "overmap": "afs_vehicle_bay_a1_roof_south" },
376+
{ "point": [ 0, 0, 1 ], "overmap": "afs_vehicle_bay_a2_roof_south" }
377+
],
378+
"locations": [ "land" ]
379+
},
369380
{
370381
"id": "afs_gene_clinic_1",
371382
"type": "city_building",
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
[
2+
{
3+
"type": "mapgen",
4+
"om_terrain": [ [ "afs_vehicle_bay_a1", "afs_vehicle_bay_a2" ] ],
5+
"object": {
6+
"fill_ter": "t_metal_floor",
7+
"rows": [
8+
" ",
9+
" ññññññññññññññññññññññññññññññññññññ///// ",
10+
" ñ /222/ ",
11+
" ñ ©©©©© ©©©© ©©©© ©© ©©©©©©©© .'../ ",
12+
" ñ ©©____________________________©1 ..&&/ ",
13+
" ñ ©______ ____ _ ______3_ ___© ..&&////// ",
14+
" ñ ©______ __ ___ ____ ___ ____1 ....!...l/ ",
15+
" ñ _______ ____©©_____ _______© .'../.'.l/ ",
16+
" ñ ©_______ ________ _____ ______1 /222//!/// ",
17+
" ñ ©___ ___ __ __ ___ ______© //////./ ñ ",
18+
" ñ ©____ _____ __________________©°° °°°/!/ ñ ",
19+
" ñ ©__ ___ ___©©___ ___ ____©°°° °° °° ñ ",
20+
" ñ ©_ ___ __©©__ ___ ____©°° °°°°° ñ ",
21+
" ñ ©_________ _ ____________ _ ©°°°°°° ° ñ ",
22+
" ñ ____ _____ ______ __ ___ °° ° ñ ",
23+
" ñ _____ _ _________ _________© °° ñ ",
24+
" ñ __________ __©©_______ ______© °°° °°° ñ ",
25+
" ñ ©_____ _____ ___ __ ___ __ ___ °° °° ° ñ ",
26+
" ñ ©_____ ______ __ __ ___© °°°°°°° ñ ",
27+
" ñ ©©_____ _____ __ ___ ____ ____©© °°° °° ñ ",
28+
" ñ ©©____ ___©© ©©©©©________©© °° ñ ",
29+
" ñ ___ __ _ ___ °°° ñ ",
30+
" ñññññ _ ___ ññññññññ __ _ _ ñññññññ°°°ñññ ",
31+
" _ _ __ ° "
32+
],
33+
"palettes": [ "afs_habitat_structure", "afs_habitat_mech_furnishing", "afs_habitat_exterior", "afs_light_param_palette" ],
34+
"terrain": { "ñ": "t_chainfence", "_": "t_pavement", "3": "t_pavement" },
35+
"furniture": { "&": "f_sealed_intermodal_crate", "2": "f_rack" },
36+
"gaspumps": { "1": { } },
37+
"items": { "&": [ { "item": "afs_crate_civ_rand" } ], "2": [ { "item": "afs_vehicle_bay_rack" } ] },
38+
"place_monster": [ { "group": "AFS_GROUP_RUIN_MOXIE", "x": [ 2, 22 ], "y": [ 2, 22 ], "pack_size": [ 1, 2 ], "chance": 50 } ],
39+
"place_nested": [ { "chunks": [ { "param": "lightstatus", "fallback": "null" } ], "x": 24, "y": 0 } ],
40+
"vehicles": { "3": { "vehicle": "warehouse_vehicles", "chance": 12, "rotation": 180 } }
41+
}
42+
},
43+
{
44+
"type": "mapgen",
45+
"om_terrain": [ [ "afs_vehicle_bay_a1_roof", "afs_vehicle_bay_a2_roof" ] ],
46+
"object": {
47+
"fill_ter": "t_metal_floor",
48+
"rows": [
49+
" ",
50+
" ..... ",
51+
" ..... ",
52+
" .A... ",
53+
" .A... ",
54+
" .A........ ",
55+
" .A..s.s.s. ",
56+
" .A..s.s.s. ",
57+
" ..X....... ",
58+
" ........ ",
59+
" ... ",
60+
" ",
61+
" ",
62+
" ",
63+
" ",
64+
" ",
65+
" ",
66+
" ",
67+
" ",
68+
" ",
69+
" ",
70+
" ",
71+
" ",
72+
" "
73+
],
74+
"terrain": { " ": "t_open_air", ".": "t_metal_floor", "A": "t_glass_roof", "s": "t_metal_floor", "X": "t_metal_floor" },
75+
"furniture": { "X": "f_small_satellite_dish", "s": "f_solar_unit" }
76+
}
77+
}
78+
]

data/mods/aftershock_exoplanet/maps/overmap_terrain.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,18 @@
480480
"mondensity": 2,
481481
"flags": [ "SIDEWALK" ]
482482
},
483+
{
484+
"type": "overmap_terrain",
485+
"name": "vehicle bay",
486+
"spawns": { "group": "GROUP_ZOMBIE", "population": [ 2, 5 ], "chance": 80 },
487+
"id": [ "afs_vehicle_bay_a1", "afs_vehicle_bay_a2", "afs_vehicle_bay_a1_roof", "afs_vehicle_bay_a2_roof" ],
488+
"sym": "0",
489+
"looks_like": "s_lot",
490+
"color": "light_blue",
491+
"see_cost": "high",
492+
"mondensity": 2,
493+
"flags": [ "SIDEWALK" ]
494+
},
483495
{
484496
"type": "overmap_terrain",
485497
"name": "Solar Array",

data/mods/aftershock_exoplanet/region_settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"afs_habitat_block_2": 100,
4242
"afs_habitat_block_3": 200
4343
},
44-
"parks": { "afs_city_ruinfield": 100, "afs_shuttle_pad": 10, "afs_enclosed_park": 30 },
44+
"parks": { "afs_city_ruinfield": 70, "afs_shuttle_pad": 10, "afs_enclosed_park": 30, "afs_vehicle_bay": 50 },
4545
"shops": {
4646
"afs_augmentation_clinic_1": 400,
4747
"afs_gene_clinic_1": 400,

0 commit comments

Comments
 (0)