Skip to content

Commit

Permalink
Merge pull request #57618 from dseguin/fix_house08_mapgen
Browse files Browse the repository at this point in the history
Fix house_08 mapgen errors
  • Loading branch information
Rivet-the-Zombie authored May 11, 2022
2 parents 9b1541e + 9745166 commit c1e2b3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions data/json/mapgen/house/house08.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@
".ŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦŦ.",
"........................"
],
"palettes": [ "standard_domestic_palette" ],
"terrain": { "?": "t_grass", "!": "t_grass", "%": [ "t_region_shrub", "t_region_shrub_fruit", "t_region_shrub_decorative" ] },
"furniture": { "?": "f_chair", "!": "f_table" },
"palettes": [
{ "distribution": [ [ "standard_domestic_palette", 10 ], [ "standard_domestic_palette_abandoned", 2 ] ] },
"standard_domestic_party_palette"
],
"place_fields": [ { "field": "fd_blood", "x": [ 9, 11 ], "y": [ 12, 14 ], "repeat": [ 4, 6 ] } ],
"place_loot": [
{ "group": "livingroom", "x": [ 9, 21 ], "y": [ 2, 7 ], "chance": 90, "repeat": [ 1, 4 ] },
Expand Down
7 changes: 7 additions & 0 deletions data/json/mapgen_palettes/house_general_palette.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,5 +333,12 @@
"`": "t_concrete"
},
"furniture": { "!": "f_region_flower" }
},
{
"type": "palette",
"id": "standard_domestic_party_palette",
"//": "Intended to be used in conjunction with standard_domestic_palette. Load the domestic palette first, then this one to use open symbols for house party decorations.",
"terrain": { "?": "t_grass", "!": "t_grass", "%": [ "t_region_shrub", "t_region_shrub_fruit", "t_region_shrub_decorative" ] },
"furniture": { "?": "f_chair", "!": "f_table" }
}
]

0 comments on commit c1e2b3c

Please sign in to comment.