Skip to content

Commit

Permalink
fix: remove root wall from survivor bunker (cataclysmbnteam#4239)
Browse files Browse the repository at this point in the history
* Update ws_survivor_bunker.json

* Update zombies.json

* Update locations.json

* style(autofix.ci): automated formatting

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
0Monet and autofix-ci[bot] authored Feb 20, 2024
1 parent 6cc0a80 commit da596ea
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 150 deletions.
92 changes: 92 additions & 0 deletions data/json/itemgroups/Locations_MapExtras/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2635,5 +2635,97 @@
{ "item": "chem_black_powder", "charges": [ 100, 2500 ], "container-item": "wooden_barrel_small", "prob": 50 },
{ "item": "4570_low", "charges": [ 1, 240 ], "prob": 50 }
]
},
{
"type": "item_group",
"id": "oa_ig_sb_food",
"items": [
{ "item": "veggy_pickled", "prob": 30, "charges": 2, "container-item": "jar_glass_sealed" },
{ "item": "fish_pickled", "prob": 26, "charges": 2, "container-item": "jar_glass_sealed" },
{ "item": "meat_pickled", "prob": 20, "charges": 2, "container-item": "jar_glass_sealed" },
[ "dry_meat", 20 ],
[ "dry_veggy", 20 ],
[ "carrot", 20 ],
[ "water_clean", 80 ],
[ "water_mineral", 5 ],
[ "cola", 70 ],
[ "creamsoda", 60 ],
[ "lemonlime", 60 ],
[ "orangesoda", 60 ],
[ "crispycran", 40 ],
[ "colamdew", 60 ],
[ "choc_drink", 30 ],
[ "jerky", 55 ],
[ "salted_fish", 35 ],
[ "porkstick", 55 ],
[ "cheese_hard", 15 ],
[ "can_beans", 40 ],
[ "can_corn", 35 ],
[ "can_spam", 30 ],
[ "salt", 10 ],
[ "seasoning_salt", 5 ],
[ "jar_sauerkraut_pickled", 20 ],
[ "lutefisk", 20 ],
[ "pemmican", 20 ]
]
},
{
"type": "item_group",
"id": "oa_ig_sb_equipment",
"items": [
[ "flask_hip", 20 ],
[ "shortbow", 20 ],
[ "arrow_wood_heavy", 20 ],
[ "arrow_fire_hardened_fletched", 20 ],
[ "quiver_birchbark", 30 ],
[ "fire_drill", 30 ],
[ "lighter", 30 ],
[ "matches", 30 ],
[ "sunglasses", 30 ],
[ "fitover_sunglasses", 20 ],
[ "ax", 10 ],
[ "saw", 10 ],
[ "backpack", 30 ],
[ "backpack_leather", 30 ],
[ "quiver", 20 ],
[ "canteen", 20 ],
[ "knife_hunting", 30 ],
[ "shovel", 30 ],
{ "group": "ammo_pocket_batteries_full", "prob": 30 }
]
},
{
"type": "item_group",
"id": "oa_ig_sb_rare",
"items": [
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 2000, "container-item": "jug_plastic" },
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 4000, "container-item": "jerrycan" },
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 10000, "container-item": "jerrycan_big" },
[ "gasoline_lantern", 15 ],
[ "electric_lantern", 15 ],
[ "oil_lamp", 15 ],
[ "lamp_oil", 15 ],
[ "compbow", 20 ],
[ "binoculars", 20 ],
[ "ref_lighter", 30 ],
[ "e_tool", 30 ],
[ "jackhammer", 5 ],
[ "elec_jackhammer", 5 ]
]
},
{
"type": "item_group",
"id": "oa_ig_sb_books",
"items": [ [ "book_archery", 20 ] ]
},
{
"type": "item_group",
"id": "oa_ig_sb_wood",
"items": [ [ "2x4", 20 ], [ "stick", 20 ], [ "pointy_stick", 10 ], [ "log", 20 ] ]
},
{
"type": "item_group",
"id": "oa_ig_sb_water",
"items": [ { "item": "water", "prob": 30, "charges-min": 0, "charges-max": 200, "container-item": "keg" } ]
}
]
177 changes: 27 additions & 150 deletions data/json/mapgen/ws_survivor_bunker.json
Original file line number Diff line number Diff line change
@@ -1,107 +1,4 @@
[
{
"type": "monstergroup",
"name": "GROUP_ZOMBIE_BUNKER",
"default": "mon_zombie_survivor",
"monsters": [
{ "monster": "mon_zombie_survivor", "freq": 250, "cost_multiplier": 0 },
{ "monster": "mon_zombie_child", "freq": 100, "cost_multiplier": 0 },
{ "monster": "mon_zombie_dog", "freq": 150, "cost_multiplier": 0 },
{ "monster": "mon_dog_zombie_rot", "freq": 150, "cost_multiplier": 0 }
]
},
{
"type": "item_group",
"id": "oa_ig_sb_food",
"items": [
{ "item": "veggy_pickled", "prob": 30, "charges": 2, "container-item": "jar_glass_sealed" },
{ "item": "fish_pickled", "prob": 26, "charges": 2, "container-item": "jar_glass_sealed" },
{ "item": "meat_pickled", "prob": 20, "charges": 2, "container-item": "jar_glass_sealed" },
[ "dry_meat", 20 ],
[ "dry_veggy", 20 ],
[ "carrot", 20 ],
[ "water_clean", 80 ],
[ "water_mineral", 5 ],
[ "cola", 70 ],
[ "creamsoda", 60 ],
[ "lemonlime", 60 ],
[ "orangesoda", 60 ],
[ "crispycran", 40 ],
[ "colamdew", 60 ],
[ "choc_drink", 30 ],
[ "jerky", 55 ],
[ "salted_fish", 35 ],
[ "porkstick", 55 ],
[ "cheese_hard", 15 ],
[ "can_beans", 40 ],
[ "can_corn", 35 ],
[ "can_spam", 30 ],
[ "salt", 10 ],
[ "seasoning_salt", 5 ],
[ "jar_sauerkraut_pickled", 20 ],
[ "lutefisk", 20 ],
[ "pemmican", 20 ]
]
},
{
"type": "item_group",
"id": "oa_ig_sb_equipment",
"items": [
[ "flask_hip", 20 ],
[ "shortbow", 20 ],
[ "arrow_wood_heavy", 20 ],
[ "arrow_fire_hardened_fletched", 20 ],
[ "quiver_birchbark", 30 ],
[ "fire_drill", 30 ],
[ "lighter", 30 ],
[ "matches", 30 ],
[ "sunglasses", 30 ],
[ "fitover_sunglasses", 20 ],
[ "ax", 10 ],
[ "saw", 10 ],
[ "backpack", 30 ],
[ "backpack_leather", 30 ],
[ "quiver", 20 ],
[ "canteen", 20 ],
[ "knife_hunting", 30 ],
[ "shovel", 30 ],
{ "group": "ammo_pocket_batteries_full", "prob": 30 }
]
},
{
"type": "item_group",
"id": "oa_ig_sb_rare",
"items": [
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 2000, "container-item": "jug_plastic" },
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 4000, "container-item": "jerrycan" },
{ "item": "gasoline", "prob": 5, "charges-min": 450, "charges-max": 10000, "container-item": "jerrycan_big" },
[ "gasoline_lantern", 15 ],
[ "electric_lantern", 15 ],
[ "oil_lamp", 15 ],
[ "lamp_oil", 15 ],
[ "compbow", 20 ],
[ "binoculars", 20 ],
[ "ref_lighter", 30 ],
[ "e_tool", 30 ],
[ "jackhammer", 5 ],
[ "elec_jackhammer", 5 ]
]
},
{
"type": "item_group",
"id": "oa_ig_sb_books",
"items": [ [ "book_archery", 20 ] ]
},
{
"type": "item_group",
"id": "oa_ig_sb_wood",
"items": [ [ "2x4", 20 ], [ "stick", 20 ], [ "pointy_stick", 10 ], [ "log", 20 ] ]
},
{
"type": "item_group",
"id": "oa_ig_sb_water",
"items": [ { "item": "water", "prob": 30, "charges-min": 0, "charges-max": 200, "container-item": "keg" } ]
},
{
"type": "mapgen",
"method": "json",
Expand Down Expand Up @@ -137,7 +34,6 @@
"terrain": {
".": "t_grass",
",": "t_dirt",
"O": "t_pit_shallow",
"T": "t_tree",
"Y": "t_tree_young",
"b": "t_underbrush",
Expand All @@ -155,53 +51,34 @@
"om_terrain": [ "ws_survivor_bunker_f-1" ],
"weight": 1000,
"object": {
"fill_ter": "t_rock_floor",
"rows": [
"####R#####R########RRR##",
"###RRR#########R####R###",
"########RRR#r##R########",
"####R####R#rrrRRR###R###",
"##RRR####Rrr<rR#####R###",
"####R######r2r####RRRR##",
"###RRRR####r1r#R####R###",
"#####R####r1.r#RRR######",
"#R###R####SsSRRR#####R##",
"#R###RRR##.1.##RRR###RR#",
"#R###R###--D--##R#####R#",
"###RRR###|b.t|RRRRR###R#",
"####R##R#|..h|###R###RR#",
"####RR#RR|k.W|#R#R####RR",
"####R##R#|C.B|RRR#####R#",
"#########|C.B|#R########",
"########R--D--#R#R######",
"###RRR####r.ssrr#RR#R###",
"####R######rr.rrr###R###",
"####RR#R####rr.rrr##R###",
"####R##RR#####rr####RR##",
"#######R######RR########",
"#####RRRR####RRRRR######",
"######R#########R#######"
"########################",
"########################",
"############r###########",
"###########rrr##########",
"##########rr<r##########",
"###########r2r##########",
"###########r1r##########",
"##########r1.r##########",
"##########SsS###########",
"##########.1.###########",
"#########--D--##########",
"#########|b.t|##########",
"#########|..h|##########",
"#########|k.W|##########",
"#########|C.B|##########",
"#########|C.B|##########",
"#########--D--##########",
"##########r.ssrr########",
"###########rr.rrr#######",
"############rr.rrr######",
"##############rr########",
"########################",
"########################",
"########################"
],
"terrain": {
"#": "t_rock",
"<": "t_ladder_up",
"-": "t_wall_wood",
"|": "t_wall_wood",
".": "t_rock_floor",
"D": "t_door_locked_interior",
"R": "t_root_wall",
"S": "t_rock_floor",
"s": "t_rock_floor",
"r": "t_rock_floor",
"1": "t_rock_floor",
"2": "t_rock_floor",
"k": "t_rock_floor",
"b": "t_rock_floor",
"t": "t_rock_floor",
"C": "t_rock_floor",
"B": "t_rock_floor",
"W": "t_rock_floor",
"h": "t_rock_floor"
},
"terrain": { "#": "t_rock", "<": "t_ladder_up", "-": "t_wall_wood", "|": "t_wall_wood", "D": "t_door_locked_interior" },
"furniture": {
"r": "f_rubble_rock",
"s": "f_sandbag_half",
Expand All @@ -220,7 +97,7 @@
"k": { "item": "oa_ig_sb_water", "chance": 60 },
"W": { "item": "oa_ig_sb_wood", "chance": 70 }
},
"add": [
"place_loot": [
{ "item": "ash", "chance": 2, "x": 12, "y": 13, "repeat": 2 },
{ "item": "charcoal", "chance": 3, "x": 12, "y": 13 },
{ "item": "survnote", "chance": 2, "x": 12, "y": 11 }
Expand Down
11 changes: 11 additions & 0 deletions data/json/monstergroups/zombies.json
Original file line number Diff line number Diff line change
Expand Up @@ -725,5 +725,16 @@
{ "monster": "mon_zombie_necro", "freq": 8, "cost_multiplier": 20, "starts": 500 },
{ "monster": "mon_zombie_master", "freq": 2, "cost_multiplier": 25, "starts": 1000 }
]
},
{
"type": "monstergroup",
"name": "GROUP_ZOMBIE_BUNKER",
"default": "mon_zombie_survivor",
"monsters": [
{ "monster": "mon_zombie_survivor", "freq": 250, "cost_multiplier": 0 },
{ "monster": "mon_zombie_child", "freq": 100, "cost_multiplier": 0 },
{ "monster": "mon_zombie_dog", "freq": 150, "cost_multiplier": 0 },
{ "monster": "mon_dog_zombie_rot", "freq": 150, "cost_multiplier": 0 }
]
}
]

0 comments on commit da596ea

Please sign in to comment.