Skip to content

Commit

Permalink
[Xedra Evolved] Add "Tranquil Pool" Undine elemental eruption (Clever…
Browse files Browse the repository at this point in the history
…Raven#72412)

* Merge, remove TRANSPARENT

* Expand search range
  • Loading branch information
Standing-Storm authored Mar 21, 2024
1 parent b1857d6 commit 2c345a0
Show file tree
Hide file tree
Showing 4 changed files with 236 additions and 0 deletions.
24 changes: 24 additions & 0 deletions data/mods/Xedra_Evolved/eocs/elemental_eruptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"type": "effect_on_condition",
"id": "EOC_UNDINE_WARP_POOL_BOTTOM_FLOOR",
"eoc_type": "EVENT",
"required_event": "avatar_enters_omt",
"condition": { "u_at_om_location": "undine_warp_pool_warper" },
"effect": [
{
"u_location_variable": { "global_val": "undine_pool_lake_port" },
"target_params": { "om_terrain": "lake", "om_terrain_match_type": "PREFIX", "search_range": 400, "z": 0, "random": true }
},
{
"u_message": "You swim down and down, further and further, until you're no longer sure which way is up. You're in total darkness, still swimming, when you see a light up ahead. With a goal at last in reach, you swim toward it as the light broadens and expands and, finally, you breach the water's surface.",
"popup": true
},
{
"u_teleport": { "global_val": "undine_pool_lake_port" },
"fail_message": "Something is very wrong!",
"force": true
}
]
}
]
173 changes: 173 additions & 0 deletions data/mods/Xedra_Evolved/mapgen/elemental_eruptions/undine_pool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "undine_warp_pool_surface" ],
"weight": 100,
"object": {
"rotation": [ 0, 3 ],
"predecessor_mapgen": "forest",
"rows": [
" ",
" ",
" ?????????? ",
" ???????????????? ",
" ?????]]]]]]]]????? ",
" ???]]]]]]]]]]]]??? ",
" ??]]]]******]]]]?? ",
" ???]]**********]]??? ",
" ??]]]**[[[[[[**]]]?? ",
" ??]]**[[[[[[[[**]]?? ",
" ??]]**[[~~~~[[**]]?? ",
" ??]]**[[~~~~[[**]]?? ",
" ??]]**[[~~~~[[**]]?? ",
" ??]]**[[~~~~[[**]]?? ",
" ??]]**[[[[[[[[**]]?? ",
" ??]]]**[[[[[[**]]]?? ",
" ???]]**********]]??? ",
" ??]]]]******]]]]?? ",
" ???]]]]]]]]]]]]??? ",
" ?????]]]]]]]]????? ",
" ???????????????? ",
" ?????????? ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"terrain": {
"?": [ [ "t_water_sh", 2 ], [ "t_region_groundcover", 20 ] ],
"]": [ [ "t_water_sh", 6 ], "t_region_soil", "t_region_groundcover" ],
"*": "t_water_sh",
"[": [ [ "t_water_dp", 2 ], [ "t_water_sh", 3 ] ],
"~": "t_water_dp"
},
"nested": {
"]": { "chunks": [ [ "pond_water_furniture", 8 ], [ "null", 92 ] ] },
"*": { "chunks": [ [ "pond_water_furniture", 8 ], [ "null", 92 ] ] },
"[": { "chunks": [ [ "pond_water_furniture", 8 ], [ "null", 92 ] ] },
"~": { "chunks": [ [ "pond_water_furniture", 8 ], [ "null", 92 ] ] }
},
"place_monster": [
{ "group": "GROUP_GENIUS_UNDINE", "x": [ 0, 23 ], "y": [ 0, 23 ], "chance": 50, "repeat": [ 10, 20 ] },
{ "group": "GROUP_FISH", "x": [ 6, 18 ], "y": [ 6, 17 ], "chance": 15, "repeat": [ 1, 2 ] }
]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "undine_warp_pool_zneg_dirt" ],
"weight": 100,
"object": {
"rotation": [ 0, 3 ],
"fill_ter": "t_soil",
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"terrain": { "[": [ [ "t_water_cube", 2 ], [ "t_soil", 3 ] ], "~": "t_water_cube" },
"place_monster": [ { "group": "GROUP_GENIUS_UNDINE", "x": [ 10, 13 ], "y": [ 10, 13 ], "chance": 50 } ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "undine_warp_pool_zneg" ],
"weight": 100,
"object": {
"rotation": [ 0, 3 ],
"fill_ter": "t_rock",
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"terrain": { "[": [ [ "t_water_cube", 2 ], [ "t_soil", 3 ] ], "~": "t_water_cube" },
"place_monster": [ { "group": "GROUP_GENIUS_UNDINE", "x": [ 10, 13 ], "y": [ 10, 13 ], "chance": 50 } ]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "undine_warp_pool_warper" ],
"weight": 100,
"object": {
"rotation": [ 0, 3 ],
"fill_ter": "t_rock",
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[~~~~[[ ",
" [[[[[[[[ ",
" [[[[[[[[ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"terrain": { "[": [ [ "t_water_cube", 2 ], [ "t_soil", 3 ] ], "~": "t_water_cube" },
"place_monster": [ { "group": "GROUP_GENIUS_UNDINE", "x": [ 10, 13 ], "y": [ 10, 13 ], "chance": 50 } ]
}
}
]
22 changes: 22 additions & 0 deletions data/mods/Xedra_Evolved/mapgen/overmap_special.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,5 +423,27 @@
"occurrences": [ 66, 100 ],
"flags": [ "CLASSIC", "UNIQUE" ],
"spawns": { "group": "GROUP_GENIUS_ARVORE", "population": [ 150, 500 ], "radius": [ 5, 30 ] }
},
{
"type": "overmap_special",
"id": "Tranquil Pool",
"overmaps": [
{ "point": [ 0, 0, 0 ], "overmap": "undine_warp_pool_surface_north" },
{ "point": [ 0, 0, -1 ], "overmap": "undine_warp_pool_zneg_dirt_north" },
{ "point": [ 0, 0, -2 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -3 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -4 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -5 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -6 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -7 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -8 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -9 ], "overmap": "undine_warp_pool_zneg_north" },
{ "point": [ 0, 0, -10 ], "overmap": "undine_warp_pool_warper_north" }
],
"locations": [ "wilderness" ],
"city_distance": [ 30, -1 ],
"city_sizes": [ 0, 12 ],
"occurrences": [ 66, 100 ],
"flags": [ "CLASSIC", "UNIQUE" ]
}
]
17 changes: 17 additions & 0 deletions data/mods/Xedra_Evolved/mapgen/overmap_terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,22 @@
"sym": "#",
"color": "brown",
"see_cost": 1
},
{
"type": "overmap_terrain",
"id": "undine_warp_pool_surface",
"name": "tranquil pool",
"sym": ".",
"color": "blue",
"looks_like": "pond_field",
"see_cost": 5
},
{
"type": "overmap_terrain",
"id": [ "undine_warp_pool_zneg", "undine_warp_pool_zneg_dirt", "undine_warp_pool_warper" ],
"name": "pool depths",
"sym": ".",
"color": "blue",
"see_cost": 5
}
]

0 comments on commit 2c345a0

Please sign in to comment.