Skip to content

Commit

Permalink
Hunting lodge Location (CleverRaven#44378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse authored and John-Candlebury committed Mar 24, 2021
1 parent 76f1c7d commit 0df8843
Show file tree
Hide file tree
Showing 8 changed files with 778 additions and 0 deletions.
80 changes: 80 additions & 0 deletions data/json/itemgroups/SUS/lodge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{
"id": "SUS_hunting_archery",
"type": "item_group",
"//": "items found in an archery space",
"subtype": "collection",
"entries": [
{ "item": "compbow", "prob": 50 },
{ "item": "compbow_high", "prob": 20 },
{ "item": "compbow_low", "prob": 40 },
{ "item": "recurbow", "prob": 30 },
{ "item": "reflexrecurvebow", "prob": 10 }
]
},
{
"id": "SUS_hunting_rifle",
"type": "item_group",
"//": "items found in a rifle hunting space",
"subtype": "collection",
"entries": [
{ "item": "ar15", "prob": 150, "charges-min": 0, "charges-max": 30 },
{ "item": "marlin_9a", "prob": 20, "charges-min": 0, "charges-max": 19 },
{ "item": "remington700_270", "prob": 10, "charges-min": 0, "charges-max": 4 },
{ "item": "remington_700", "prob": 40, "charges-min": 0, "charges-max": 4 },
{ "item": "ruger_1022", "prob": 70, "charges-min": 0, "charges-max": 10 },
{ "item": "ruger_mini", "prob": 10, "charges-min": 0, "charges-max": 5 },
{ "item": "win70", "prob": 20, "charges-min": 0, "charges-max": 3 },
{ "item": "colt_lightning", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "henry_big_boy", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "weatherby_5", "prob": 2, "charges-min": 0, "charges-max": 3 }
]
},
{
"id": "hunting_lodge_weapons",
"type": "item_group",
"//": "items found in a shotgun hunting space",
"subtype": "distribution",
"entries": [
{ "group": "guns_shotgun_common", "prob": 30 },
{ "group": "SUS_hunting_rifle", "prob": 20 },
{ "group": "SUS_hunting_archery", "prob": 15 }
]
},
{
"id": "cannibal_weapons",
"type": "item_group",
"//": "items found in a most dangerous game space",
"subtype": "distribution",
"entries": [
{ "group": "guns_shotgun_common", "prob": 30 },
{ "group": "SUS_hunting_rifle", "prob": 20 },
{ "group": "guns_smg_rare", "prob": 15 }
]
},
{
"id": "lodge_archery_ammo",
"type": "item_group",
"//": "archery ammo",
"subtype": "collection",
"entries": [
{ "item": "arrow_metal", "prob": 20 },
{ "item": "arrow_metal_bodkin", "prob": 20 },
{ "item": "arrow_metal_target", "prob": 30 },
{ "item": "arrow_cf", "prob": 10 }
]
},
{
"id": "cannibal_food",
"type": "item_group",
"subtype": "collection",
"entries": [
{ "item": "machete", "prob": 20 },
{ "group": "preserved_food", "custom-flags": [ "CANNIBALISM" ], "prob": 30 },
{ "group": "preserved_food", "prob": 20 },
{ "group": "dry_goods", "prob": 30 },
{ "group": "dry_goods", "custom-flags": [ "CANNIBALISM" ], "prob": 60 },
{ "group": "pantry", "prob": 10 }
]
}
]
180 changes: 180 additions & 0 deletions data/json/mapgen/hunting_lodge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ [ "lodge_ground1", "lodge_ground2" ] ],
"weight": 100,
"object": {
"fill_ter": "t_floor",
"rows": [
".%##W###W###W###W###+##W#################%......",
".*#c B#c B#B c#B c# #h s# >#*......",
".*Wd B#d B#B d#B d# #h T# W*......",
".*##=###=###=###=## ##=## #*......",
".*# #*......",
".*W W*......",
".*# YY YY AAAAAAAA a OOO >#*......",
".%########+######################## ###%......",
".*********G~~~~~~~~~~~~~~~~~~~~~~%# #***......",
"~~~~~~~~~~G~~~~~~~~~~~*############ #*........",
"oooooooooooooooo~~~~~~*w #%........",
"oooooooooooooooo~~~~~~*#Y w*........",
"ooooooooooooooooGGGGGGG+ ttttt bw*........",
"ooooooooooooooooGGGGGGG+ ttttt bw*........",
"oooooooooooooooo~~~~~G*#Y w*........",
"oooooooooooooooo~~~~~G*w w*........",
"~~~~~~~~~~~~~~~~~~~~~G*##### ########*........",
"~~~~~~~~~~~~~~~~~~~~~G***#<# #********........",
"~~~~~~~~~~~~~~~~%~~~~GGGG+ # #%****...........",
"......*###-###-###-######### #####*...........",
".....0*#UU URU URU URU #12C 5 F#*...........",
".....0*#R z C uW*...........",
".....0*#UU URU URU URU #3CC& 4CVuF#*...........",
"......%###-###-###-##########+######%..........."
],
"palettes": [ "lodge_palette" ],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": 29, "y": 4 } ],
"place_nested": [
{
"chunks": [ [ "lodge_pantry_15x15", 80 ], [ "lodge_cannibal_15x15", 20 ], [ "lodge_hunting_15x15", 50 ] ],
"x": 8,
"y": 9
}
]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ [ "lodge_2ndfloor1", "lodge_2ndfloor2" ] ],
"weight": 100,
"object": {
"fill_ter": "t_floor",
"rows": [
" ##W###W###W###W###w##W################# ",
" # <# ",
" W W ",
" # # ",
" # # ",
" W W ",
" # <# ",
" ########w#######wwww#############www### ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"palettes": [ "lodge_2ndfloor_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ [ "lodge_basement_residential1", "lodge_basement_residential2" ] ],
"weight": 100,
"object": {
"fill_ter": "t_rock",
"rows": [
" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ",
" % % ",
" % % ",
" % % ",
" % % ",
" % % ",
" % % ",
" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% ",
" % % ",
" %%%%%%%%%%%%%% % ",
" % BB% ",
" % % ",
" % % ",
" % % ",
" % % ",
" % % ",
" %%%%% %%%%%%%% ",
" %<| % ",
" % + % ",
" %%%%%%% ",
" ",
" ",
" ",
" "
],
"palettes": [ "basement_residential" ],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": 7, "y": 4 } ],
"place_nested": [
{ "chunks": [ [ "lodge_game_6x6", 80 ], [ "lodge_dungeon_6x6", 20 ], [ "lodge_drug_6x6", 50 ] ], "x": 2, "y": 1 },
{ "chunks": [ [ "5x5_sauna_W", 30 ], [ "5x5_pool", 10 ], [ "5x5_gym_W", 60 ] ], "x": 24, "y": 1 },
{
"chunks": [ [ "room_6x6_woodworker", 5 ], [ "room_6x6_bike", 15 ], [ "room_6x6_office_E", 5 ] ],
"x": 24,
"y": 10
}
]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "lodge_basement_laboratory_entrance" ],
"//": "doesn't work rebuild later",
"object": {
"fill_ter": "t_rock",
"rotation": [ 0, 3 ],
"rows": [
"##--------------------##",
"##| |>>| |##",
"##| |MM| |##",
"##| |..| |##",
"##| |..| |##",
"##| |..| |##",
"##| |..| |##",
"##| |..| |##",
"##|---+---|..|---+---|##",
"##|.......M..M.......|##",
"##|.......M..M.......|##",
"|----+----|..|----+----|",
"|.........|..|d.......d|",
"|.ccccccc.|..|xh..h..hx|",
"|.........|7.|d..dxd..d|",
"|---------|..|---------|",
"########--|LL6--########",
"########=,,,,,,=########",
"########=,,,,,,=########",
"########=,,,,,,=########",
"########===WW===########",
"##########=,,=##########",
"##########=<<=##########",
"##########====##########"
],
"palettes": [ "lab_palette" ],
"terrain": {
"=": "t_wall",
",": "t_rock_floor",
"6": "t_card_science",
"7": "t_rock_floor",
"<": "t_stairs_up",
">": "t_stairs_down"
},
"furniture": { "C": "f_centrifuge" },
"mapping": { "c": { "items": { "item": "chem_lab", "chance": 30 } }, "d": { "items": { "item": "office", "chance": 30 } } },
"monster": { "7": { "monster": "mon_turret_rifle" } },
"place_nested": [
{ "chunks": [ "lab_spawn_7x7_crossdoors" ], "x": 3, "y": 1 },
{ "chunks": [ "lab_spawn_7x7_crossdoors" ], "x": 14, "y": 1 }
]
}
}
]
Loading

0 comments on commit 0df8843

Please sign in to comment.