Skip to content

Commit

Permalink
3 more houses
Browse files Browse the repository at this point in the history
  • Loading branch information
curstwist committed Jan 11, 2020
1 parent 64b5e04 commit fcb57f3
Show file tree
Hide file tree
Showing 6 changed files with 306 additions and 267 deletions.
152 changes: 72 additions & 80 deletions data/json/mapgen/house/house_garage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,99 +2,91 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "house" ],
"weight": 300,
"om_terrain": [ "house_garage" ],
"weight": 200,
"object": {
"fill_ter": "t_floor",
"rows": [
".............Psssssss...",
".--vv--;--vv--=======--.",
".|ooo o o| e|.",
".| | |.",
".| | |.",
".| | |.",
".| + |.",
".v | |.",
".v h | |.",
".| nn | |.",
".|S nnh| |.",
".|COfC |cccccccc|.",
".|------+-------------|.",
".|B S| kk|.",
".|B t| h k|.",
".| | h |.",
".| + |.",
".--vv-| |.",
"......v |.",
"......v |.",
"....T.| @@ |.",
"......| @@ d|.",
"......-----------------.",
"...!!.---.!!.p________..",
".##oo##*##oo##=======##.",
".#y yL|~~~~~~~&#.",
".#r hhhh y|~~~~~~~~#.",
".#r ffff E|~~~~~~~~#.",
".#r ffff T|~~~~~~~~#.",
".# hhhh +~~~~~~~~#.",
".o |+|~~~~~~~~#.",
".o7 AAA |>|~~~~~~~~#.",
".#4 JJJJ |||~~~~~~~~#.",
".#5 6|~~~~~~~~#.",
".#1OF23Y 6|qqqqqqqq#.",
".#|||||| |||||||||||#.",
".#B S|N RR|d hI#.",
".#B t|NE + @ Io.",
".# + y| s@T D#.",
"^#Y88 | sHHH T||||||||#^",
".##oo## E |y @@ D#.",
".-----o + @@ b#.",
".-KG--* xxx y|ET d#.",
".-----##o###o####o##o##.",
"..X.....................",
"........................",
"........................"
],
"set": [
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 0 ], "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 23, 23 ], "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 23 ], "y": [ 23, 23 ], "repeat": [ 5, 8 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 14 ], "y": [ 0, 0 ], "repeat": [ 5, 8 ] }
],
"palettes": [ "standard_domestic_palette" ],
"terrain": {
"+": "t_door_c",
"-": "t_wall",
".": "t_grass",
";": "t_door_locked",
"%": [ "t_region_shrub", "t_region_shrub_fruit", "t_region_shrub_decorative" ],
"!": "t_region_groundcover_urban",
"=": "t_door_metal_locked",
"@": "t_floor",
"B": "t_floor",
"C": "t_floor",
"O": "t_floor",
"P": "t_grass",
"S": "t_floor",
"T": "t_tree",
"c": "t_floor",
"d": "t_floor",
"e": "t_gates_mech_control",
"f": "t_floor",
"h": "t_floor",
"k": "t_floor",
"n": "t_floor",
"o": "t_floor",
"s": "t_sidewalk",
"v": "t_window_domestic",
"|": "t_wall"
},
"furniture": {
"@": "f_bed",
"B": "f_bathtub",
"C": "f_cupboard",
"O": "f_oven",
"P": "f_mailbox",
"S": "f_sink",
"c": "f_counter",
"d": "f_dresser",
"f": "f_fridge",
"h": "f_chair",
"k": "f_desk",
"n": "f_table",
"o": "f_bookcase"
"_": "t_pavement",
"&": "t_gates_control_brick",
"G": "t_sidewalk",
"K": "t_sidewalk",
"~": "t_thconc_floor",
"q": "t_thconc_floor"
},
"toilets": { "t": { } },
"items": { "P": { "item": "mail", "chance": 30, "repeat": [ 2, 5 ] } },
"furniture": { "!": "f_region_flower" },
"place_loot": [
{ "group": "bed", "x": [ 13, 14 ], "y": [ 20, 21 ], "chance": 90, "repeat": [ 1, 3 ] },
{ "group": "bedroom", "x": [ 6, 21 ], "y": [ 13, 20 ], "chance": 80, "repeat": [ 1, 4 ] },
{ "group": "livingroom", "x": [ 1, 12 ], "y": [ 2, 6 ], "chance": 90, "repeat": [ 1, 5 ] },
{ "group": "guns_pistol_common", "x": [ 6, 21 ], "y": [ 9, 10 ], "chance": 5, "ammo": 90, "magazine": 100 },
{ "group": "dresser", "x": [ 21, 21 ], "y": [ 21, 21 ], "chance": 85, "repeat": [ 1, 4 ] },
{ "group": "kitchen", "x": [ 1, 12 ], "y": [ 8, 11 ], "chance": 75, "repeat": [ 1, 3 ] },
{ "group": "fridge", "x": [ 4, 4 ], "y": [ 11, 11 ], "chance": 90, "repeat": [ 1, 5 ] },
{ "group": "mischw", "x": [ 13, 20 ], "y": [ 2, 11 ], "chance": 80, "repeat": [ 1, 4 ] },
{ "group": "oven", "x": [ 3, 3 ], "y": [ 11, 11 ], "chance": 75, "repeat": [ 1, 3 ] },
{ "group": "softdrugs", "x": [ 2, 4 ], "y": [ 13, 16 ], "chance": 75, "repeat": [ 1, 3 ] },
{ "group": "cleaning", "x": [ 2, 4 ], "y": [ 13, 16 ], "chance": 90, "repeat": [ 1, 2 ] }
{ "item": "television", "x": 10, "y": 19, "chance": 100 }
],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 2, 21 ], "y": [ 2, 21 ], "chance": 2 } ],
"place_vehicles": [ { "vehicle": "suburban_home", "x": 17, "y": 6, "chance": 15, "fuel": 70, "status": 0, "rotation": 90 } ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_garage_roof",
"object": {
"fill_ter": "t_shingle_flat_roof",
"rows": [
" ",
" |222222222222222222223 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |....................3 ",
" |..&.................3 ",
" 5....................5 ",
" |-----...............3 ",
" |..=............3 ",
" |...............3 ",
" |---------------3 ",
" ",
" ",
" "
],
"palettes": [ "roof_palette" ],
"terrain": { ".": "t_shingle_flat_roof" }
}
}
]
174 changes: 79 additions & 95 deletions data/json/mapgen/house/house_garage2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,115 +2,99 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "house" ],
"om_terrain": [ "house_garage2" ],
"weight": 300,
"object": {
"fill_ter": "t_floor",
"rows": [
"............p.sssssss...",
".QQQQQQQ99QQQ-=======--.",
".q...........| e|.",
".q...........| |.",
".q...........| |.",
".q...........| |.",
".q...........; |.",
".q...........| Z|.",
".q...........| |.",
".q...........| r|.",
".q...........| c|.",
".q...........| c|.",
".|-----v;;v-----+-----|.",
".|B S|Y |D f|.",
".|B t| | nnh Ov.",
".| | + nnh cv.",
".| + | c|.",
".--vv-|o |-----+----|.",
"......|o + n|.",
"......|o ?| @@|.",
"....T.| ?| @@|.",
"......| ?| d|.",
"......--vv-------vv----.",
"............p._______%..",
".$$$$$$$??$$$#=======##.",
".$.[...!``!..#~~~~~~~&#.",
".$..X..!``![.#~~~~~~~~#.",
".$.....!``!..#~~~~~~~~#.",
".$.....!``!..#~~~~~~~~#.",
".$.....!``!..*~~~~~~~~#.",
".$...[.!``!..#~~~~~~~A#.",
".$.....!``!..#~~~~~~~~#.",
".$.....!``!..#~~~~~~~q#.",
".$.[...!``!..#||~~~~~q#.",
".$.....!``!.^#>+~~~NNq#.",
".######o**o###||+|||||#.",
".#B S|L y YF47#.",
".#B t| hhh Oo.",
".# + fff 5o.",
".#b88Y| hhh 66n321#.",
".##oo##| |||||||||#.",
".....^#y + s#.",
".[....#x H R|d @@#.",
"....[.#x H R|D @@#.",
"..u...# EsET R|y s#.",
"......##oo#######oo####.",
"........................"
],
"set": [
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 0 ], "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 23, 23 ], "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 23 ], "y": [ 23, 23 ], "repeat": [ 5, 8 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 0, 14 ], "y": [ 0, 0 ], "repeat": [ 5, 8 ] },
{ "point": "terrain", "id": "t_dirt", "x": [ 2, 11 ], "y": [ 2, 11 ], "repeat": [ 8, 12 ] }
],
"palettes": [ "standard_domestic_palette" ],
"terrain": {
"+": "t_door_c",
"-": "t_wall",
".": "t_grass",
"p": "t_grass",
"9": "t_fencegate_c",
";": "t_door_locked",
"%": [ "t_region_shrub", "t_region_shrub_fruit", "t_region_shrub_decorative" ],
"[": [ [ "t_region_tree_fruit", 2 ], [ "t_region_tree_nut", 2 ], "t_region_tree_shade" ],
"!": "t_region_groundcover_urban",
"=": "t_door_metal_locked",
"?": "t_floor",
"@": "t_floor",
"B": "t_floor",
"Z": "t_floor",
"D": "t_floor",
"Y": "t_floor",
"O": "t_floor",
"Q": "t_fence_h",
"S": "t_floor",
"T": "t_tree",
"c": "t_floor",
"d": "t_floor",
"e": "t_gates_mech_control",
"f": "t_floor",
"h": "t_floor",
"k": "t_floor",
"n": "t_floor",
"o": "t_floor",
"q": "t_fence_v",
"r": "t_floor",
"s": "t_sidewalk",
"v": "t_window_domestic",
"|": "t_wall"
},
"furniture": {
"?": "f_sofa",
"@": "f_bed",
"B": "f_bathtub",
"D": "f_trashcan",
"O": "f_oven",
"S": "f_sink",
"p": "f_mailbox",
"Z": "f_stool",
"Y": "f_rack_coat",
"c": "f_counter",
"d": "f_dresser",
"f": "f_fridge",
"h": "f_chair",
"k": "f_desk",
"n": "f_table",
"o": "f_bookcase",
"r": "f_rack"
"_": "t_pavement",
"&": "t_gates_control_brick",
"G": "t_sidewalk",
"K": "t_sidewalk",
"~": "t_thconc_floor",
"q": "t_thconc_floor",
"A": "t_thconc_floor",
"N": "t_thconc_floor",
"`": "t_concrete",
"?": "t_fencegate_c",
"$": "t_fence"
},
"toilets": { "t": { } },
"items": { "Y": { "item": "coat_rack", "chance": 35 }, "p": { "item": "mail", "chance": 30, "repeat": [ 2, 5 ] } },
"furniture": { "!": "f_region_flower" },
"place_loot": [
{ "group": "bed", "x": [ 19, 20 ], "y": [ 19, 20 ], "chance": 90, "repeat": [ 1, 3 ] },
{ "group": "bedroom", "x": [ 15, 21 ], "y": [ 18, 21 ], "chance": 80, "repeat": [ 1, 4 ] },
{ "group": "livingroom", "x": [ 7, 13 ], "y": [ 18, 21 ], "chance": 90, "repeat": [ 1, 5 ] },
{ "group": "guns_pistol_common", "x": [ 21, 21 ], "y": [ 21, 21 ], "chance": 5, "ammo": 90, "magazine": 100 },
{ "group": "homebooks", "x": [ 7, 7 ], "y": [ 16, 18 ], "chance": 75, "repeat": [ 1, 2 ] },
{ "group": "dresser", "x": [ 21, 21 ], "y": [ 21, 21 ], "chance": 85, "repeat": [ 1, 4 ] },
{ "group": "kitchen", "x": [ 13, 21 ], "y": [ 16, 13 ], "chance": 65, "repeat": [ 1, 3 ] },
{ "group": "fridge", "x": [ 21, 21 ], "y": [ 13, 13 ], "chance": 90, "repeat": [ 1, 5 ] },
{ "group": "kitchen", "x": [ 21, 21 ], "y": [ 15, 16 ], "chance": 85, "repeat": [ 1, 2 ] },
{ "group": "trash_forest", "x": [ 11, 11 ], "y": [ 12, 12 ], "chance": 70, "repeat": [ 1, 2 ] },
{ "group": "mischw", "x": [ 13, 20 ], "y": [ 2, 11 ], "chance": 80, "repeat": [ 1, 4 ] },
{ "item": "television", "x": 7, "y": 19, "chance": 100 },
{ "group": "home_hw", "x": [ 13, 20 ], "y": [ 2, 11 ], "chance": 65, "repeat": [ 1, 4 ] },
{ "group": "home_hw", "x": [ 21, 21 ], "y": [ 9, 11 ], "chance": 85, "repeat": [ 1, 2 ] },
{ "group": "oven", "x": [ 21, 21 ], "y": [ 14, 14 ], "chance": 75, "repeat": [ 1, 3 ] },
{ "group": "softdrugs", "x": [ 2, 4 ], "y": [ 13, 16 ], "chance": 75, "repeat": [ 1, 3 ] },
{ "group": "cleaning", "x": [ 2, 4 ], "y": [ 13, 16 ], "chance": 90, "repeat": [ 1, 2 ] }
{ "group": "home_hw", "x": [ 21, 21 ], "y": [ 9, 11 ], "chance": 85, "repeat": [ 1, 2 ] }
],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 2, 21 ], "y": [ 2, 21 ], "chance": 2 } ],
"place_vehicles": [ { "vehicle": "suburban_home", "x": 17, "y": 6, "chance": 15, "fuel": 80, "status": 0, "rotation": 90 } ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_garage2_roof",
"object": {
"fill_ter": "t_shingle_flat_roof",
"rows": [
" ",
" |222222223 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |........3 ",
" |222222222225........3 ",
" |....................3 ",
" |....................3 ",
" |.......&............3 ",
" |.................=..3 ",
" |----5...............3 ",
" |...............3 ",
" |...............3 ",
" |...............3 ",
" |...............3 ",
" |---------------3 ",
" "
],
"palettes": [ "roof_palette" ],
"terrain": { ".": "t_shingle_flat_roof" }
}
}
]
Loading

0 comments on commit fcb57f3

Please sign in to comment.