Skip to content

Commit

Permalink
basement variety 9 (#39906)
Browse files Browse the repository at this point in the history
  • Loading branch information
curstwist authored Apr 26, 2020
1 parent 3e40376 commit 5c5876c
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 21 deletions.
11 changes: 8 additions & 3 deletions data/json/mapgen/house/house_detatched3.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"rows": [
" ",
" ||||||||||||||||| ",
" |...............| ",
" |1.........%..UU| ",
" |...............| ",
" |...............| ",
" |..............F| ",
Expand All @@ -119,7 +119,7 @@
" |...............| ",
" |..............W| ",
" |............A.Z| ",
" |..........zz..U| ",
" |...........zJJJ| ",
" ||||||||||||||||| ",
" ",
" ",
Expand All @@ -132,7 +132,12 @@
" ",
" "
],
"palettes": [ "basement_empty" ]
"palettes": [ "basement_empty" ],
"nested": {
"1": {
"chunks": [ [ "null", 70 ], [ "11x11_gym_open", 10 ], [ "11x11_recroom_open", 30 ], [ "room_11x11_apartment_E", 10 ] ]
}
}
}
}
]
9 changes: 7 additions & 2 deletions data/json/mapgen/house/house_garage5.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
" |J...%%......| ",
" |J...........| ",
" |||||||||............| ",
" |....................| ",
" |.1..................| ",
" |....................| ",
" |....................| ",
" |....................| ",
Expand All @@ -115,7 +115,12 @@
" ||||||||||||||||||||| ",
" "
],
"palettes": [ "basement_empty" ]
"palettes": [ "basement_empty" ],
"nested": {
"1": {
"chunks": [ [ "null", 70 ], [ "11x11_gym_open", 10 ], [ "11x11_recroom_open", 30 ], [ "room_11x11_apartment_E", 10 ] ]
}
}
}
}
]
42 changes: 32 additions & 10 deletions data/json/mapgen/house/house_w_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,28 +138,50 @@
" ",
" ",
" |||||||||||||| ",
" |............| ",
" |2...........| ",
" |............| ",
" |............| ",
" |............| ",
" |............| ",
" |||...........|| ",
" |U............| ",
" |U............| ",
" |.............| ",
" |F............| ",
" |g............| ",
" |||...........| ",
" |....<......| ",
" |z.z........|||| ",
" |zz...z........| ",
" |.............| ",
" |.............| ",
" |.............| ",
" |.............| ",
" |||F.........U| ",
" |....<.....g| ",
" |...........|||| ",
" |....1.........| ",
" |..............| ",
" |..............| ",
" |..............| ",
" |..............| ",
" |||||||||||||||| "
],
"palettes": [ "basement_empty" ]
"palettes": [ "basement_empty" ],
"nested": {
"2": {
"chunks": [ [ "null", 50 ], [ "11x11_gym_open", 10 ], [ "11x11_recroom_open", 30 ], [ "room_11x11_apartment_S", 10 ] ]
},
"1": {
"chunks": [
[ "null", 80 ],
[ "5x5_holdout_N", 2 ],
[ "5x5_holdout_W", 2 ],
[ "livingroom_5x5_S_1", 30 ],
[ "livingroom_5x5_E_1", 30 ],
[ "livingroom_5x5_N_1", 30 ],
[ "livingroom_5x5_W_1", 30 ],
[ "livingroom_5x5_S_2", 30 ],
[ "livingroom_5x5_E_2", 30 ],
[ "livingroom_5x5_N_2", 30 ],
[ "livingroom_5x5_W_2", 30 ],
[ "home_office_4x4_N", 20 ],
[ "home_office_4x4_S", 20 ]
]
}
}
}
}
]
5 changes: 3 additions & 2 deletions data/json/mapgen/house/urban_1_house.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
" |||||||||||||||| ",
" ||||| |..............| ",
" ||||||||||||||F.g||||||||..............| ",
" |..................UU..................| ",
" |1.................UU..................| ",
" |......................................| ",
" |......................................| ",
" |......................................| ",
Expand All @@ -157,7 +157,8 @@
" ",
" "
],
"palettes": [ "basement_empty" ]
"palettes": [ "basement_empty" ],
"nested": { "1": { "chunks": [ [ "recroom_12x12", 33 ], [ "tvroom_12x12", 33 ], [ "workoutroom_12x12", 33 ] ] } }
}
},
{
Expand Down
22 changes: 18 additions & 4 deletions data/json/mapgen/house/urban_4_house_basement.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
" ",
" ",
" |||||| ",
" ||||||||||||||||F.g.||||||||||||||||||| ",
" |............................WJJJZ....| ",
" ||||||||||||||||....||||||||||||||||||| ",
" |2...........................WJJJZ..Fg| ",
" |...................................zz| ",
" |...............................A....z| ",
" |..........%%%.............|||||||||||| ",
" |..........%.+.............| ",
" |..........%<%.............| ",
" |..........+<%.......1.....| ",
" |..........%%%.............| ",
" |..........................| ",
" |..........................| ",
Expand All @@ -32,7 +32,21 @@
" ",
" "
],
"palettes": [ "basement_empty" ]
"palettes": [ "basement_empty" ],
"nested": {
"2": {
"chunks": [ [ "null", 50 ], [ "11x11_gym_open", 10 ], [ "11x11_recroom_open", 30 ], [ "room_11x11_apartment_E", 10 ] ]
},
"1": {
"chunks": [
[ "null", 70 ],
[ "room_6x6_brewer_W", 5 ],
[ "room_6x6_guns_W", 5 ],
[ "room_6x6_junk_W", 30 ],
[ "room_6x6_office_W", 30 ]
]
}
}
}
},
{
Expand Down
207 changes: 207 additions & 0 deletions data/json/mapgen/nested/basement_nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -3999,5 +3999,212 @@
"!": [ { "item": "book_gunref", "chance": 80, "repeat": [ 1, 2 ] } ]
}
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "11x11_gym_open",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
" ",
" ",
" $ $ ",
" i$ $ ",
" i!!! ",
" i$ $ ",
" $ $ ",
" === ",
" & =%= ",
" &&& === ",
" "
],
"palettes": [ "standard_domestic_palette" ],
"terrain": { "=": "t_carpet_green", "%": "t_carpet_green" },
"furniture": { "&": "f_barricade_road", "%": "f_floor_canvas", "!": "f_sandbag_wall", "$": "f_sandbag_half" },
"place_loot": [
{ "item": "towel", "x": 5, "y": [ 3, 5 ], "chance": 100, "repeat": [ 1, 2 ] },
{ "item": "wheel_wide", "x": 1, "y": 1, "chance": 100 },
{ "item": "wheel_wide", "x": 2, "y": 2, "chance": 100 },
{ "item": "wheel_wide", "x": 1, "y": 3, "chance": 100 },
{ "item": "wheel_wide", "x": 2, "y": 4, "chance": 100 },
{ "item": "wheel_wide", "x": 1, "y": 5, "chance": 100 },
{ "item": "wheel_wide", "x": 2, "y": 6, "chance": 100 },
{ "item": "wheel_wide", "x": 1, "y": 7, "chance": 100 }
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "11x11_recroom_open",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
" ",
" T=====!== ",
" x====h=== ",
" x===ss=== ",
" !==hssh== ",
" ====ss=== ",
" =====h=== ",
" y======== ",
" Hll====== ",
" HHHH=A%== ",
" "
],
"palettes": [ "standard_domestic_palette" ],
"terrain": {
"=": "t_carpet_green",
"x": "t_carpet_green",
"!": "t_carpet_green",
"h": "t_carpet_green",
"s": "t_carpet_green",
"y": "t_carpet_green",
"A": "t_carpet_green",
"%": "t_carpet_green",
"H": "t_carpet_green",
"l": "t_carpet_green",
"T": "t_carpet_green"
},
"furniture": { "%": [ "f_floor_canvas", "f_arcade_machine", "f_pinball_machine" ], "!": "f_speaker_cabinet" },
"place_loot": [ { "item": "stereo", "x": 1, "y": 3, "chance": 100 }, { "item": "deck_of_cards", "x": 5, "y": 4, "chance": 100 } ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "11x11_recroom_open",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
" ",
" T=====!== ",
" x====h=== ",
" x===ss=== ",
" !==hssh== ",
" ===hss=== ",
" =====h=== ",
" y======== ",
" Hll====== ",
" HHHH=A%== ",
" "
],
"palettes": [ "standard_domestic_palette" ],
"terrain": {
"=": "t_carpet_purple",
"x": "t_carpet_purple",
"!": "t_carpet_purple",
"h": "t_carpet_purple",
"s": "t_carpet_purple",
"y": "t_carpet_purple",
"H": "t_carpet_purple",
"A": "t_carpet_purple",
"%": "t_carpet_purple",
"l": "t_carpet_purple",
"T": "t_carpet_purple"
},
"furniture": { "%": [ "f_floor_canvas", "f_arcade_machine", "f_pinball_machine" ], "!": "f_speaker_cabinet" },
"place_loot": [
{ "item": "stereo", "x": 1, "y": 3, "chance": 100 },
{ "item": "dnd_handbook", "x": 5, "y": 3, "chance": 100 },
{ "item": "novel_fantasy", "x": [ 5, 6 ], "y": [ 3, 5 ], "chance": 60, "repeat": [ 0, 4 ] },
{ "item": "character_sheet", "x": [ 5, 6 ], "y": [ 3, 5 ], "chance": 80, "repeat": [ 1, 5 ] },
{ "item": "metal_RPG_die", "x": 6, "y": 3, "chance": 10 },
{ "item": "RPG_die", "x": [ 5, 6 ], "y": [ 3, 5 ], "chance": 90, "repeat": [ 1, 4 ] }
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "room_11x11_apartment_N",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
"|||||+|||||",
"|ffh F|",
"|h 41O3|",
"|Hl x|||||",
"|Hl x|t89|",
"|TEs + S|",
"||||| |||||",
"|d + + R|",
"|@ y|+| hr|",
"|@IT|q|Y r|",
"|||||||||||"
],
"palettes": [ "standard_domestic_palette" ],
"place_loot": [ { "item": "television", "x": 5, "y": 3, "chance": 50 }, { "item": "stereo", "x": 5, "y": 4, "chance": 50 } ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "room_11x11_apartment_S",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
"|||||||||||",
"|@IT|U|Y r|",
"|@ y|+| hr|",
"|d + + R|",
"||||| |||||",
"|TEs + S|",
"|Hl x|t89|",
"|Hl x|||||",
"|h Y41O3|",
"|ffh F|",
"|||||+|||||"
],
"palettes": [ "standard_domestic_palette" ],
"place_loot": [ { "item": "television", "x": 5, "y": 6, "chance": 50 }, { "item": "stereo", "x": 5, "y": 7, "chance": 50 } ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "room_11x11_apartment_E",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
"|||||||||||",
"|@@I|s E T|",
"|@@ |Hl x|",
"|D |Hl x|",
"|||+| A y|",
"|Q+ ff +",
"|||+|+||3 |",
"|E | t|4 |",
"|I | 8|O |",
"|@@d|S9|F1|",
"|||||||||||"
],
"palettes": [ "standard_domestic_palette" ],
"place_loot": [ { "item": "television", "x": 9, "y": 2, "chance": 50 }, { "item": "stereo", "x": 9, "y": 3, "chance": 50 } ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "room_11x11_apartment_W",
"object": {
"mapgensize": [ 11, 11 ],
"rows": [
"|||||||||||",
"|@@I|s E T|",
"|@@ |Hl x|",
"|D |Hl x|",
"|||+| A y|",
"+ ff |",
"|||+|+||3 |",
"|E | t|4 |",
"|I | 8|O |",
"|@@d|S9|F1|",
"|||||||||||"
],
"palettes": [ "standard_domestic_palette" ],
"place_loot": [ { "item": "television", "x": 9, "y": 2, "chance": 50 }, { "item": "stereo", "x": 9, "y": 3, "chance": 50 } ]
}
}
]

0 comments on commit 5c5876c

Please sign in to comment.