Skip to content

Commit

Permalink
Add core
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm committed Aug 25, 2024
1 parent 74fdc14 commit 8731275
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
47 changes: 47 additions & 0 deletions data/mods/MindOverMatter/mapgen/alien_meadow.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,53 @@
"palettes": [ "alien_meadow_palette" ]
}
},
{
"om_terrain": "alien_meadow_join",
"type": "mapgen",
"method": "json",
"object": {
"rows": [
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111",
"111111111111111111111111"
],
"place_nested": [
{
"chunks": [
[ "null", 500 ],
[ "alien_meadow_12x12_pond", 20 ],
[ "alien_meadow_12x12_shrubs", 20 ],
[ "alien_meadow_12x12_trees", 20 ]
],
"x": 8,
"y": 8
}
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "alien_meadow_palette" ]
}
},
{
"om_terrain": "alien_meadow_end",
"type": "mapgen",
Expand Down
11 changes: 9 additions & 2 deletions data/mods/MindOverMatter/overmap/mutable/alien_meadow.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id": "alien_meadow_mutable",
"subtype": "mutable",
"locations": [ "field_no_meadow" ],
"occurrences": [ 10, 100 ],
"occurrences": [ 5, 100 ],
"//": "Place before all priority buildings and before meadows",
"priority": 3,
"flags": [ "WILDERNESS", "OVERMAP_UNIQUE" ],
Expand All @@ -18,6 +18,13 @@
"south": "alien_meadow_to_alien_meadow",
"west": "alien_meadow_to_alien_meadow"
},
"alien_meadow_join": {
"overmap": "alien_meadow_join",
"north": "alien_meadow_to_alien_meadow",
"east": "alien_meadow_to_alien_meadow",
"south": "alien_meadow_to_alien_meadow",
"west": "alien_meadow_to_alien_meadow"
},
"alien_meadow_end": { "overmap": "alien_meadow_end_north", "north": "alien_meadow_to_alien_meadow" },
"alien_meadow_fill": {
"overmap": "alien_meadow_end_north",
Expand All @@ -29,7 +36,7 @@
"root": "alien_meadow_core",
"phases": [
[
{ "overmap": "alien_meadow_core", "weight": 200 },
{ "overmap": "alien_meadow_join", "weight": 200 },
{ "overmap": "alien_meadow_end", "weight": 100 },
{ "overmap": "alien_meadow_fill", "weight": 1 }
]
Expand Down
6 changes: 6 additions & 0 deletions data/mods/MindOverMatter/overmap/overmap_terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@
"copy-from": "alien_meadow",
"extend": { "flags": [ "NO_ROTATE" ] }
},
{
"type": "overmap_terrain",
"id": "alien_meadow_join",
"copy-from": "alien_meadow",
"extend": { "flags": [ "NO_ROTATE" ] }
},
{
"type": "overmap_terrain",
"id": "alien_meadow_end",
Expand Down

0 comments on commit 8731275

Please sign in to comment.