Skip to content

Commit

Permalink
Remove guaranteed residential solar, add random residential solar (#7…
Browse files Browse the repository at this point in the history
…5227)

* Remove guaranteed residential solar, add random residential solar

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Lint

* fix irradiator and ice cream palette

* move the most popular chunk variation into the palette definition

* do not intersect the single unique nest with palette nest

* more fixes

* more fixes

* replace lmoe_solar with nest

* fix nest placed out of bounds of OMT

* Update data/json/mapgen_palettes/roof_palette.json

* Fixes

* Update data/json/mapgen_palettes/roof_palette.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/roof_palette.json

* Apply suggestions from code review

* Update nested_chunks_roof.json

* Update data/json/mapgen/nested/nested_chunks_roof.json

* Update nested_chunks_roof.json

* Update data/json/mapgen_palettes/roof_palette.json

* Apply suggestions from code review

* Update house43.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anton Simakov <[email protected]>
  • Loading branch information
3 people authored Jul 29, 2024
1 parent 5ac6d4a commit 1f31d54
Show file tree
Hide file tree
Showing 118 changed files with 204 additions and 166 deletions.
2 changes: 1 addition & 1 deletion data/json/mapgen/dive_shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"-.....................- ",
"-..............ooo..Я.- ",
"-....A.........ooo..Я.- ",
"-....MM........ooo....- ",
"-....1.........ooo....- ",
"-..................&..- ",
"-.....................- ",
"-5--------------------- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/2storymodern01.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@
" -.................- ",
" -...N.............- ",
" -.................- ",
" -----.............- ",
" -----....1........- ",
" -............-- ",
" -............5 ",
" -.......~....- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/2storymodern02.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
" --....-- -.......- ",
" -......-------.......- ",
" -.................=..- ",
" -....................- ",
" -....1...............- ",
" -...................-- ",
" -............-------- ",
" -............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/2storymodern03.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
" ------------......-- ",
" -...........=.....- ",
" -.A...............- ",
" -.................- ",
" -........1........- ",
" --.....N.......&..- ",
" ------...........- ",
" -----..------ ",
Expand Down
13 changes: 9 additions & 4 deletions data/json/mapgen/house/2storymodern04.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@
" -......................- ",
" -......................- ",
" -.................X....- ",
" -...MMMM...............- ",
" -...MMMM...............- ",
" -...MMMM...............- ",
" -...2..................- ",
" -......................- ",
" -......................- ",
" -......................- ",
" -..............ooooo...- ",
" -..............ooooo...- ",
Expand All @@ -201,7 +201,12 @@
" ------------ ",
" ",
" "
]
],
"nested": {
"2": {
"chunks": [ [ "residential_3x3_solar", 6 ], [ "residential_2x2_solar", 2 ], [ "residential_1x3_solar", 3 ], [ "null", 88 ] ]
}
}
}
}
]
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow01.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"`-.........-----------``",
"`-...................-``",
"`-...................-``",
"`-...................-``",
"`-.....1.............-``",
"`-...................-``",
"`-...................-``",
"`-................X..-``",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow02.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
" -..........=.......- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -..........1.......- ",
" --------...........- ",
" -...........- ",
" -........X..- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow03.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
" -------------------- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -.......1..........- ",
" -..................- ",
" -..................- ",
" -..N...............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow04.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
" -...............- ",
" -------.........----- ",
" 5.............- ",
" -.............- ",
" -....1........- ",
" -.............- ",
" -.............- ",
" -.............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow05.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
" -.......- ",
" -------.......- ",
" -.............- ",
" -.............- ",
" -.......1.....- ",
" -.............- ",
" -.............- ",
" -.............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow06.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
" ------------.......- ",
" --..................- ",
" -...................- ",
" -...................- ",
" -.........1.........- ",
" -...................- ",
" -...................- ",
" --...=..............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow07.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
" -......- ",
" -------......------- ",
" -..................- ",
" -..................- ",
" -...........1......- ",
" -..................- ",
" -...N..............- ",
" -..................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow08.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
" ------------.......- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -......1...........- ",
" -..................- ",
" -..................- ",
" -..................- ",
Expand Down
4 changes: 2 additions & 2 deletions data/json/mapgen/house/bungalow09.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
" -..................- ",
" -...N..............- ",
" -..................- ",
" -.............MMMM.- ",
" -.............MMMM.- ",
" -............1.....- ",
" -..................- ",
" -..................- ",
" -..................- ",
" 5..................5 ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow10.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
" -....................- ",
" -....................- ",
" -....................- ",
" -....................- ",
" -..........1.........- ",
" -....................5 ",
" -....................- ",
" -...X................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow11.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
" -.................- ",
" -.................- ",
" -.................5 ",
" -.................- ",
" -.......1.........- ",
" -.................- ",
" -.................- ",
" 5.................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow12.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
" -...................- ",
" -...................- ",
" -...................- ",
" -...................- ",
" -.......1...........- ",
" -...................- ",
" 5..................-- ",
" -..................5 ",
Expand Down
7 changes: 3 additions & 4 deletions data/json/mapgen/house/bungalow13.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@
" -....................- ",
" -....................- ",
" -....................- ",
" -.............1......- ",
" -....................- ",
" -....................- ",
" -.A...............M..- ",
" -.A..................- ",
" -........=...........- ",
" -....................- ",
" 5....................- ",
Expand All @@ -112,8 +112,7 @@
"=": "t_shingle_flat_roof",
"A": "t_shingle_flat_roof",
"~": "t_shingle_flat_roof"
},
"furniture": { "M": "f_solar_unit" }
}
}
}
]
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow14.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
" 5....................- ",
" -.....=..............- ",
" -....................- ",
" -....................- ",
" -............1.......- ",
" -....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow15.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
" -...............- ",
" -...............5 ",
" -...............- ",
" -...............- ",
" -....1..........- ",
" -...............- ",
" .... -...........=...- ",
" .... -...............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow16.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
" -.X..................- ",
" -....................5 ",
" -....................- ",
" -....................- ",
" -............1.......- ",
" -....................- ",
" -....................- ",
" -....=...............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow17.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
" ---------------------- ",
" -....................- ",
" -....................- ",
" -....................- ",
" -............1.......- ",
" 5....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow18.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
" ",
" ---------------------- ",
" -....................- ",
" -....................- ",
" -..........1.........- ",
" -....................- ",
" 5....=...............- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow19.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
" ---...............~- ",
" -..................- ",
" -..................- ",
" -..................--- ",
" -.........1........--- ",
" -....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow20.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
" -....................- ",
" -....X...............- ",
" -....................- ",
" -...................-- ",
" -.............1.....-- ",
" -...................- ",
" 5...N...............- ",
" -...................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow21.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
" --------- ",
" -----------.......- ",
" -.................- ",
" -.................- ",
" -....1............- ",
" -.................- ",
" -.................- ",
" -.................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow22.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
" -......------------ ",
" -.................- ",
" -.................- ",
" -.................- ",
" -..........1......- ",
" -~................- ",
" -.................- ",
" -.................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow23.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
" -----...............- ",
" -...................- ",
" -...................- ",
" -...................- ",
" -....1..............- ",
" -...................- ",
" -...................- ",
" -...................- ",
Expand Down
11 changes: 5 additions & 6 deletions data/json/mapgen/house/bungalow24.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
" -...................- ",
" --...................- ",
" -....................- ",
" -..............YYY...- ",
" -..............YYY...- ",
" --.....X.......YYY...- ",
" -.............YYY...- ",
" -..............1.....- ",
" -....................- ",
" --.....X.............- ",
" -.............1.....- ",
" -...................- ",
" -...................- ",
" -...................- ",
Expand All @@ -93,8 +93,7 @@
" ------------ ",
" "
],
"terrain": { ".": "t_shingle_flat_roof" },
"furniture": { "Y": "f_solar_unit" }
"terrain": { ".": "t_shingle_flat_roof" }
}
}
]
2 changes: 1 addition & 1 deletion data/json/mapgen/house/bungalow25.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
" -...................- ",
" -...................- ",
" -....X..............- ",
" -...................- ",
" -.........1.........- ",
" -...................- ",
" -...................- ",
" -...............----- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/garden_house_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
" -.............- ",
" -.............- ",
" -.............- ",
" -.............- ",
" -.....1.......- ",
" -.............- ",
" -.............- ",
" -.............- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house01.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
" -.................- ",
" -.................- ",
" -.............N...- ",
" 5.................- ",
" 5.....1...........- ",
" -.................- ",
" -.................- ",
" -........&........- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house02.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
" -..................- ",
" -....=......N......- ",
" -..................- ",
" -..................- ",
" -........1.........- ",
" -..................- ",
" -..................- ",
" -..................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house03.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
" -..................- ",
" -..................- ",
" -...........&......- ",
" -..................- ",
" -...1..............- ",
" -..................- ",
" -..................- ",
" -.....--------.....- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house04.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
" -....................- ",
" -....................- ",
" -....................- ",
" -....................- ",
" -.....1..............- ",
" -....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house08.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
" 5..............:....- ",
" -...................- ",
" --...................- ",
" -....................- ",
" -........1...........- ",
" -....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house09.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
" -....X...............- ",
" -....................- ",
" -....................- ",
" -....................- ",
" -.........1..........- ",
" -....................- ",
" -....................- ",
" -....................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house10.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
" -........----------5 ",
" -..................- ",
" -..................- ",
" -..................- ",
" -......1...........- ",
" -..................- ",
" -..................- ",
" -..................- ",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/house/house11.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
" -..................- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -....1.............- ",
" -..................- ",
" -.............&....- ",
" -..................- ",
Expand Down
Loading

0 comments on commit 1f31d54

Please sign in to comment.