Skip to content

Commit

Permalink
Merge branch 'main' into construction-veh-spawns
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt committed Jun 3, 2024
2 parents e3cef8d + de6c3ac commit f5927eb
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 97 deletions.
27 changes: 27 additions & 0 deletions data/json/itemgroups/Locations_MapExtras/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2733,5 +2733,32 @@
"type": "item_group",
"id": "oa_ig_sb_water",
"items": [ { "item": "water", "prob": 30, "charges-min": 0, "charges-max": 200, "container-item": "keg" } ]
},
{
"type": "item_group",
"id": "os_items",
"items": [
[ "flashlight", 50 ],
[ "heavy_flashlight", 40 ],
[ "gloves_work", 30 ],
[ "gloves_rubber", 60 ],
[ "boots_rubber", 60 ],
[ "hat_hard", 60 ],
[ "shovel", 40 ],
[ "jackhammer", 5 ],
[ "elec_jackhammer", 5 ],
[ "folding_poncho", 40 ],
[ "radio", 40 ],
[ "well_pump", 10 ],
[ "toolbox", 5 ],
[ "wrench", 15 ],
[ "bag_canvas", 40 ],
[ "jumper_cable", 40 ],
[ "jumper_cable_heavy", 20 ],
[ "glasses_safety", 30 ],
[ "crowbar", 15 ],
[ "mask_filter", 30 ],
[ "electric_lantern", 30 ]
]
}
]
123 changes: 26 additions & 97 deletions data/json/mapgen/cs_open_sewer_small.json
Original file line number Diff line number Diff line change
@@ -1,114 +1,43 @@
[
{
"type": "monstergroup",
"name": "GROUP_ZOMBIE_SEWER",
"default": "mon_zombie_technician",
"monsters": [
{ "monster": "mon_zombie_technician", "freq": 250, "cost_multiplier": 3 },
{ "monster": "mon_zombie_electric", "freq": 150, "cost_multiplier": 5 }
]
},
{
"type": "vehicle",
"id": "oa_work_light",
"name": "work light",
"blueprint": [ "^" ],
"parts": [
{ "x": 0, "y": 0, "part": "xlframe_vertical_2" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "small_storage_battery" },
{ "x": 0, "y": 0, "part": "floodlight" },
{ "x": 0, "y": 0, "part": "controls_electronic" }
]
},
{
"type": "vehicle_group",
"id": "os_work_vehicles",
"vehicles": [ [ "wheelbarrow", 60 ], [ "portable_generator", 40 ], [ "oa_work_light", 50 ] ]
},
{
"type": "item_group",
"id": "os_items",
"items": [
[ "flashlight", 50 ],
[ "heavy_flashlight", 40 ],
[ "gloves_work", 30 ],
[ "gloves_rubber", 60 ],
[ "boots_rubber", 60 ],
[ "hat_hard", 60 ],
[ "shovel", 40 ],
[ "jackhammer", 5 ],
[ "elec_jackhammer", 5 ],
[ "folding_poncho", 40 ],
[ "radio", 40 ],
[ "well_pump", 10 ],
[ "toolbox", 5 ],
[ "wrench", 15 ],
[ "bag_canvas", 40 ],
[ "jumper_cable", 40 ],
[ "jumper_cable_heavy", 20 ],
[ "glasses_safety", 30 ],
[ "crowbar", 15 ],
[ "mask_filter", 30 ],
[ "electric_lantern", 30 ]
]
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "cs_open_sewer" ],
"weight": 1000,
"object": {
"fill_ter": "t_region_soil",
"rows": [
",,.,,..,.,,.,,..,,.,..,.",
".,bbbb..bbb.,.bbbb,..,b,",
".,...,.,rr,r.,,..,.,.,b.",
"b..,.r,r,r,rr,r,,,,,,,b,",
"b.,o,,r,rrr,rr,,,,,,,,,,",
"b,oo.,r,rrrrr,r,,,w,ww,,",
",b.o,,,,r,r,,r,,,ww,w,,b",
".ooo,,,,,ssssss,wwww,w,b",
"..,o,,,,sswwwwwwww,w,w,.",
",b.o,,,sswwwwwwwwwww,,b,",
".b,o,,oooopooowwoopooo,b",
".b.,,,sswwwwwwwwwwsw,o,,",
",,oo,ooooopowwwooopowob.",
".b,.,,,sswwwwwwwwwwo,ob,",
"..,oo,oooopoowwoopsosob.",
",ooo,,,,,ssswwwwwoso,ob,",
".b,..,,,,,,sssssso,owooo",
",b,,-DOD-,,,.,,,,o,o,o.,",
".,.,|fff|,.,,,,.oo,ooo,b",
",b.,|fff|,.,.,.,o.,.,o.b",
".b.,|LBB|.,.,,.,o,.,.o.b",
",b,,-----,.,.,.,o.,.,.,.",
",.,,.,.,bbbbb,..,.,..,b.",
",.bbb,.,..,.,..,bbb,bb.,"
" ",
" bbbb bbb bbbb b ",
" rr r b ",
"b r r r rr r b ",
"b o r rrr rr ",
"b oo r rrrrr r w ww ",
" b o r r r ww w b",
" ooo ssssss wwww w b",
" o sswwwwwwww w w ",
" b o sswwwwwwwwwww b ",
" b o oooopooowwoopooo b",
" b sswwwwwwwwwwsw o ",
" oo ooooopowwwooopowob ",
" b sswwwwwwwwwwo ob ",
" oo oooopoowwoopsosob ",
" ooo ssswwwwwoso ob ",
" b sssssso owooo",
" b |DOD| o o o ",
" |fff| oo ooo b",
" b |fff| o o b",
" b |LBB| o o b",
" b ||||| o ",
" bbbbb b ",
" bbb bbb bb "
],
"terrain": {
",": "t_dirt",
".": "t_grass",
"o": "t_sewage_pipe",
"p": "t_sewage_pump",
"w": "t_sewage",
"b": "t_dirt",
"r": "t_dirt",
"s": "t_dirt",
"S": "t_dirt",
"-": "t_dirt",
"|": "t_dirt",
"D": "t_dirt",
"O": "t_dirt",
"f": "t_dirt",
"L": "t_dirt",
"B": "t_dirt"
},
"terrain": { "o": "t_sewage_pipe", "p": "t_sewage_pump", "w": "t_sewage" },
"furniture": {
"b": "f_barricade_road",
"r": "f_rubble",
"s": "f_sandbag_half",
"S": "f_sandbag_wall",
"-": "f_large_canvas_wall",
"|": "f_large_canvas_wall",
"D": "f_large_canvas_door",
"O": "f_large_canvas_door_o",
Expand Down
9 changes: 9 additions & 0 deletions data/json/monstergroups/zombies.json
Original file line number Diff line number Diff line change
Expand Up @@ -749,5 +749,14 @@
{ "monster": "mon_zombie_child", "freq": 20, "cost_multiplier": 1 },
{ "monster": "mon_zombie_crawler", "freq": 10, "cost_multiplier": 1 }
]
},
{
"type": "monstergroup",
"name": "GROUP_ZOMBIE_SEWER",
"default": "mon_zombie_technician",
"monsters": [
{ "monster": "mon_zombie_technician", "freq": 250, "cost_multiplier": 3 },
{ "monster": "mon_zombie_electric", "freq": 150, "cost_multiplier": 5 }
]
}
]
5 changes: 5 additions & 0 deletions data/json/vehicle_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -877,5 +877,10 @@
"id": "military_display_vehicles",
"type": "vehicle_group",
"vehicles": [ [ "whillys_mb_display", 75 ], [ "cannon_3in", 20 ], [ "gatling_carriage", 5 ] ]
},
{
"type": "vehicle_group",
"id": "os_work_vehicles",
"vehicles": [ [ "wheelbarrow", 60 ], [ "portable_generator", 40 ], [ "oa_work_light", 50 ] ]
}
]
13 changes: 13 additions & 0 deletions data/json/vehicles/utility.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,5 +334,18 @@
{ "x": 0, "y": 0, "part": "engine_electric" },
{ "x": 0, "y": 0, "part": "storage_battery" }
]
},
{
"type": "vehicle",
"id": "oa_work_light",
"name": "work light",
"blueprint": [ "^" ],
"parts": [
{ "x": 0, "y": 0, "part": "xlframe_vertical_2" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "small_storage_battery" },
{ "x": 0, "y": 0, "part": "floodlight" },
{ "x": 0, "y": 0, "part": "controls_electronic" }
]
}
]

0 comments on commit f5927eb

Please sign in to comment.