Skip to content

Commit

Permalink
feat(content): 2Story01 (#3663)
Browse files Browse the repository at this point in the history
2Story01
  • Loading branch information
LilShiningMan authored Nov 14, 2023
1 parent 33db1d8 commit 27c3230
Show file tree
Hide file tree
Showing 4 changed files with 370 additions and 0 deletions.
356 changes: 356 additions & 0 deletions data/json/mapgen/house/2Story01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,356 @@
[
{
"//": "ground floor: layout a ",
"type": "mapgen",
"om_terrain": "2Story01_1",
"weight": 50,
"method": "json",
"object": {
"palettes": [
"standard_domestic_palette",
"standard_domestic_lino_bathroom",
"standard_domestic_lino_kitchen",
"standard_domestic_landscaping_palette"
],
"fill_ter": "t_floor_waxed",
"rows": [
".$----------............",
".#¡¡¡¡¡¡¡#--..%%%....[..",
".#,,,,,,,#--..%X%.......",
".#U,,,,,,#--..%%%.......",
".#U,,,,,,#--p.....%%%%..",
"^#,,,,,,,#--%%%%%##oo##.",
".oN,,,,,,#--##oo##yyyy#.",
".oN,,,,,,#o*#r yyTsxs #.",
".#N,,,iii#y |r E #.",
".##+######L |r lll o.",
".oq q|S_|R ? #.",
".oZ W|t_|R ysHHHs#.",
".#|+|||+|R V||||||#.",
".# V|w8tSB#.",
".#<|RRR V|____B#.",
"^#||||| `````` ||||+||#.",
".#O5F12 `h/h/` + bo.",
".#____4 )ffff` |d ¤#.",
".oJnJ_6 `ffff) |d @@#.",
".oA_A__ `/h/h` a| @@#.",
".#Y____yÐ```{& a|DD ¤#^",
".###¶o###ooo#######oo##.",
"..------jjjj............",
"........................"
],
"terrain": {
"$": "t_gates_mech_control",
"¡": "t_door_metal_locked",
",": "t_thconc_floor",
"_": "t_linoleum_gray",
"A": "t_linoleum_gray",
"Y": "t_linoleum_gray",
"U": "t_thconc_floor",
"N": "t_thconc_floor",
"`": "t_carpet_red",
"/": "t_carpet_yellow",
"Ð": "t_carpet_red",
"&": "t_carpet_red",
"f": "t_carpet_yellow",
"{": "t_carpet_red",
"h": "t_carpet_yellow",
")": "t_carpet_red",
"i": "t_thconc_floor"
},
"furniture": {
"i": "f_rack",
"&": "f_piano",
"?": "f_table",
"{": [ "f_indoor_plant", "f_indoor_plant_y" ],
"Ð": [ "f_indoor_plant", "f_indoor_plant_y" ],
")": "f_chair"
},
"items": { "?": { "item": "table_foyer", "chance": 40 } },
"place_loot": [
{ "group": "guns_pistol_common", "x": 17, "y": 18, "chance": 50 },
{ "item": "log", "x": [ 6, 8 ], "y": 8, "repeat": [ 2, 3 ] },
{ "item": "television", "x": 19, "y": 7 }
],
"place_vehicles": [
{ "vehicle": "electric_car", "x": 6, "y": 5, "chance": 20, "rotation": 90 },
{ "vehicle": "swivel_chair", "x": 14, "y": 8, "chance": 100, "status": 5, "fuel": 0, "rotation": 90 }
]
}
},
{
"//": "ground floor: layout b ",
"type": "mapgen",
"om_terrain": "2Story01_1",
"weight": 50,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_lino_bathroom", "standard_domestic_landscaping_palette" ],
"fill_ter": "t_floor_waxed",
"rows": [
".$----------............",
".#¡¡¡¡¡¡¡#--.c...c...c..",
".#,,,,,,,#--............",
".#,,,,,,,#--..........[.",
".#,,,,,,,#--..000.......",
"^#/,,,,,,#--p.000##oo##.",
".o/,,,,,,#--#o####B8_S#.",
".o/,,,,,,#o*#y|QQ|B__t#.",
".#/,,NNNN#L &|++||+||#.",
".##+######b &yo.",
".#U W|}zz|R &||||||||#.",
".oq Z|z z|R V|y h h y:.",
".oq U|z z|R V| hffff :.",
".#|+|||+||R V| ffffh:.",
".o< h h :.",
"^#||||++| y:.",
".#d D|==| y{{{{ |6 Y 7#.",
".#d D||||+|sHHH |4 J 5#.",
".o |H |3 n O#.",
".o @@ |++|H l a|2 J J#.",
".#¤@@¤y|zz|H l a|1 F#^",
".#o##o######:::####¶o##.",
"..................----..",
"........................"
],
"terrain": {
"$": "t_gates_mech_control",
"¡": "t_door_metal_locked",
"Q": "t_null",
",": "t_thconc_floor",
"_": "t_linoleum_gray",
"0": "t_shrub_lilac",
"c": "t_region_groundcover_urban",
"/": "t_thconc_floor",
"N": "t_thconc_floor"
},
"furniture": { "{": "f_counter", "c": "f_boulder_large", "&": "f_table", "}": "f_gunsafe_ml", "=": "f_clothing_rail", "/": "f_rack" },
"items": {
"&": { "item": "table_foyer", "chance": 40 },
"}": { "item": "guns_pistol_common", "chance": 100 },
"=": { "item": "jackets", "chance": 50, "repeat": [ 2, 4 ] }
},
"place_loot": [
{ "group": "liquor_and_spirits", "x": [ 11, 14 ], "y": 16, "repeat": [ 2, 4 ] },
{ "item": "log", "x": 2, "y": [ 5, 8 ], "repeat": [ 2, 3 ] }
],
"place_vehicles": [ { "vehicle": "electric_car", "x": 6, "y": 5, "chance": 20, "rotation": 90 } ]
}
},
{
"//": "2nd floor: layout a ",
"type": "mapgen",
"om_terrain": "2Story01_2",
"weight": 50,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_lino_bathroom" ],
"fill_ter": "t_floor_waxed",
"rows": [
"........................",
".]]]]]]]]]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".],,,,,,,].......]]]]]].",
".],,,,,,,]..///////////.",
".],,,,,,,]]]/~~~~~~~~~/.",
".],,,,,,,,,,/~~~~~~~~~/.",
".],,,,,,,,,,/~~~~~~~~~/.",
".],,&,,,,,,,/~~~~~~~~=/.",
".],,,,,,,,,,/₸KK₸~~~~=/.",
".#######o#####oo#o¶####.",
".#||zv|iii|RREllEy |9t#.",
".#>|++|z |__#.",
".o xx +_So.",
"^#RR y|T |88#.",
".#||+|||+||||||++|+|||#.",
".#r T| +d|QQ| bd#.",
".orh z|@@ b|||||| o.",
".#r yPP|@@¤ +D||D+ @@¤#.",
".###o#####o#######o####^",
"........................",
"........................"
],
"terrain": {
",": "t_shingle_flat_roof",
"]": "t_gutter_south",
"₸": "t_floor_noroof",
"%": "t_gutter_drop",
"_": "t_linoleum_gray",
"~": "t_floor_noroof",
"/": "t_railing_v",
"Q": "t_null",
"&": "t_shingle_flat_roof",
"G": "t_floor_noroof",
"K": "t_floor_noroof",
".": "t_open_air"
},
"furniture": { "=": "f_rack", "&": "f_small_satelitte_dish", "₸": "f_deckchair" },
"items": { "=": { "item": "sports", "chance": 35, "repeat": [ 1, 2 ] } },
"place_loot": [
{ "group": "toy_store", "x": [ 18, 21 ], "y": [ 19, 20 ], "chance": 50, "repeat": [ 2, 3 ] },
{ "group": "child_items", "x": [ 18, 21 ], "y": [ 19, 20 ], "chance": 50, "repeat": [ 1, 2 ] },
{ "item": "lighter", "x": 16, "y": 20, "chance": 25 },
{ "item": "atomic_light", "x": 21, "y": 20, "chance": 5 },
{ "item": "fedora", "x": 21, "y": 20, "chance": 15 },
{ "item": "laptop", "x": 2, "y": 19 },
{ "item": "television", "x": 15, "y": 15 }
]
}
},
{
"//": "2nd floor: sniper perch ",
"type": "mapgen",
"om_terrain": "2Story01_2",
"weight": 20,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_lino_bathroom" ],
"fill_ter": "t_floor_waxed",
"rows": [
"........................",
".]]]]]]]]]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".],,,,,,,].......]]]]]].",
".],,,,,,,]..///////////.",
".],,,,,,,]]]/~~~E~~~~~/.",
".],,,,,,,,,,/~~~~~~~~~/.",
".],,,,&,,,,,/~~~~~~~?~/.",
".],,,,,,,,,,/~~~~~~~~~/.",
".],,,,,,,,,=/~~~~~~~~~/.",
".#######o#####oo#o¶####.",
".#||zv|iii| |9t#.",
".#>|++| |__#.",
".o R +_So.",
"^#R PP y|T xx |88#.",
".#||+|||+||||||++|+|||#.",
".#r T| +d|QQ| bd#.",
".orh z|@@ b|||||| o.",
".#r y |@@¤ +D||D+ @@¤#.",
".###o#####o#######o####^",
"........................",
"........................"
],
"terrain": {
",": "t_shingle_flat_roof",
"]": "t_gutter_south",
"_": "t_linoleum_gray",
"~": "t_floor_noroof",
"/": "t_railing_v",
"%": "t_gutter_drop",
"Q": "t_null",
"&": "t_shingle_flat_roof",
".": "t_open_air",
"E": "t_floor_noroof",
"=": "t_shingle_flat_roof",
"?": "t_floor_noroof"
},
"furniture": { "&": "f_small_satelitte_dish", "=": "f_ladder", "?": "f_brazier" },
"set": [
{ "point": "trap", "id": "tr_beartrap", "x": 3, "y": 16 },
{ "point": "trap", "id": "tr_nailboard", "x": 4, "y": 15 },
{ "point": "trap", "id": "tr_nailboard", "x": 5, "y": 15 }
],
"items": { " ": { "item": "trash", "chance": 5 } },
"place_loot": [
{ "group": "on_hand_270win", "x": 17, "y": 7, "repeat": [ 1, 2 ] },
{ "group": "stash_food", "x": [ 14, 16 ], "y": [ 13, 14 ], "repeat": [ 7, 10 ] },
{ "item": "remington700_270", "x": 16, "y": 8, "chance": 25 },
{ "item": "2x4", "x": [ 19, 21 ], "y": [ 10, 11 ], "repeat": [ 13, 17 ] },
{ "item": "survivor_scope", "x": 15, "y": 7, "chance": 75 },
{ "item": "binoculars", "x": 15, "y": 7, "chance": 50 },
{ "item": "laptop", "x": 17, "y": 14 }
],
"place_vehicles": [ { "vehicle": "swivel_chair", "x": 3, "y": 19, "chance": 100, "status": 5, "fuel": 0, "rotation": 180 } ]
}
},
{
"//": "2nd floor: layout b ",
"type": "mapgen",
"om_terrain": "2Story01_2",
"weight": 50,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_lino_bathroom" ],
"fill_ter": "t_floor_waxed",
"rows": [
"........................",
".]]]]]]]]]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".],,,,,,,]..............",
".%,,,,,,,].......]]]]]].",
".],,,,,,,]..]]]]]],,,,].",
".],,,,,,,]]]],,,,,,,,,].",
".],,,,,,,,,,,,,,,,,,,,].",
".],,,,&,,,,,,,,,,,,,,,].",
".],,,,,,,,,,,,,,,,,,,,].",
".],,,,,,,,,,,,,,,,,,,,].",
".#######o####oo####oo##.",
".#||z Q|BB|Ih@@¤ |D ¤#.",
".#>|z Q|_t|I @@ |d @@o.",
".o ||+||_S|d D|d @@o.",
"^# yb +_8|d D|b #.",
".# ||||||+|||||+||#.",
".o sxs RRRR #.",
".o T| #.",
".#lHHHl yy l E|=yPrrr#.",
".##oo###oo###o#####oo##^",
"........................",
"........................"
],
"terrain": {
",": "t_shingle_flat_roof",
"]": "t_gutter_south",
"_": "t_linoleum_gray",
"%": "t_gutter_drop",
"Q": "t_null",
"&": "t_shingle_flat_roof",
".": "t_open_air"
},
"furniture": { "&": "f_small_satelitte_dish", "=": "f_treadmill" },
"place_loot": [ { "item": "laptop", "x": 3, "y": 3 }, { "item": "television", "x": 4, "y": 18 } ],
"place_vehicles": [ { "vehicle": "swivel_chair", "x": 20, "y": 19, "chance": 100, "status": 5, "fuel": 0, "rotation": 90 } ]
}
},
{
"type": "mapgen",
"om_terrain": "2Story01_roof",
"method": "json",
"object": {
"palettes": [ "roof_palette" ],
"fill_ter": "t_shingle_flat_roof",
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ---------------------- ",
" -....................- ",
" -..XXX......oooo.....- ",
" -..XXX......oooo.....- ",
" 5...........oooo.....- ",
" -....................- ",
" -....................- ",
" -.............~......- ",
" -.............~......- ",
" ---------------------5 ",
" ",
" "
],
"terrain": { ".": "t_shingle_flat_roof", "X": "t_shingle_flat_roof", "~": "t_shingle_flat_roof" },
"furniture": { "X": "f_solar_unit" }
}
}
]
10 changes: 10 additions & 0 deletions data/json/overmap/multitile_city_buildings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
[
{
"type": "city_building",
"id": "2Story01",
"locations": [ "land" ],
"overmaps": [
{ "point": [ 0, 0, 0 ], "overmap": "2Story01_1_north" },
{ "point": [ 0, 0, 1 ], "overmap": "2Story01_2_north" },
{ "point": [ 0, 0, 2 ], "overmap": "2Story01_roof_north" }
]
},
{
"type": "city_building",
"id": "2storyModern01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
{
"type": "overmap_terrain",
"id": [
"2Story01_1",
"2Story01_2",
"2storyModern01_first",
"2storyModern01_second",
"2storyModern02_1",
Expand Down Expand Up @@ -259,6 +261,7 @@
{
"type": "overmap_terrain",
"id": [
"2Story01_roof",
"2storyModern01_roof",
"2storyModern02_roof",
"2StoryModern03_roof",
Expand Down
1 change: 1 addition & 0 deletions data/json/regional_map_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@
"park_radius": 20,
"park_sigma": 80,
"houses": {
"2Story01": 50,
"2storyModern01": 5,
"2storyModern02": 50,
"2StoryModern03": 50,
Expand Down

0 comments on commit 27c3230

Please sign in to comment.