Skip to content

Commit

Permalink
[Xedra Evolved] More Paraclesian powers (#71431)
Browse files Browse the repository at this point in the history
* Initial commit

* Add Reshape the Living Earth

* Add As Free as the Wind

* Add Like a Bird on the Wing and Mountain-Toppling Blow

* change hidden trait for enchantment name purposes
  • Loading branch information
Standing-Storm authored Feb 4, 2024
1 parent be38876 commit 0e94991
Show file tree
Hide file tree
Showing 13 changed files with 806 additions and 27 deletions.
9 changes: 9 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,15 @@
"rating": "good",
"flags": [ "LEVITATION" ]
},
{
"type": "effect_type",
"id": "effect_sylph_cannot_be_slowed",
"//": "Empty since the mutation explains what the effect is and does",
"name": [ "" ],
"desc": [ "" ],
"rating": "good",
"removes_effects": [ "grabbed", "slippery_terrain", "sap", "slimed", "webbed" ]
},
{
"type": "effect_type",
"id": "effect_undine_escape_grabs",
Expand Down
22 changes: 22 additions & 0 deletions data/mods/Xedra_Evolved/furniture_and_terrain/terrain-stairs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "terrain",
"id": "t_earthen_stairs_up",
"name": "earthen stairs",
"description": "A set of stone and dirt steps leading up.",
"symbol": "<",
"color": "dark_gray",
"move_cost": 2,
"flags": [ "SUPPORTS_ROOF", "TRANSPARENT", "GOES_UP", "INDOORS", "PLACE_ITEM" ]
},
{
"type": "terrain",
"id": "t_earthen_stairs_down",
"name": "earthen stairs",
"description": "A set of stone and dirt steps leading down.",
"symbol": ">",
"color": "dark_gray",
"move_cost": 2,
"flags": [ "TRANSPARENT", "GOES_DOWN", "INDOORS", "PLACE_ITEM", "SUPPORTS_ROOF" ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
{
"type": "mutation",
"id": "ARVORE_SUMMON_WOOD_WALL",
"name": { "str": "Forest Shelter" },
"name": { "str": "The Forest Offers Shelter" },
"points": 4,
"visibility": 0,
"ugliness": 0,
Expand Down
166 changes: 166 additions & 0 deletions data/mods/Xedra_Evolved/mutations/paraclesians/ierde_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,171 @@
"id": "EOC_IERDE_SLEEP_DEPRIVATION",
"condition": { "math": [ "u_val('sleep_deprivation')", ">=", "0" ] },
"effect": { "math": [ "u_val('sleep_deprivation')", "-=", "1" ] }
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SINK_INTO_EARTH_activate",
"condition": {
"or": [
{ "u_is_on_terrain": "t_soil" },
{ "u_is_on_terrain": "t_rock" },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "not": { "u_is_on_terrain": "t_grass_alien" } },
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
{ "not": { "u_is_on_terrain": "t_glassed_sand" } },
{ "not": { "u_is_on_terrain": "t_rubber_mulch" } },
{ "not": { "u_is_on_terrain": "t_swater_surf" } },
{ "not": { "u_is_on_terrain": "t_woodchips" } }
]
}
]
},
"effect": [ { "run_eocs": "EOC_IERDE_SLEEP_IN_EARTH" } ],
"false_effect": [ { "u_message": "You must be on living earth or stone to sink into it.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SLEEP_IN_EARTH",
"condition": { "not": { "math": [ "u_val('pos_z')", "==", "-9" ] } },
"effect": [
{
"run_eocs": {
"id": "EOC_IERDE_SLEEP_IN_EARTH_2",
"condition": {
"or": [
{ "u_is_on_terrain": "t_rock_floor_no_roof" },
{ "u_is_on_terrain": "t_rock_floor" },
{ "u_is_on_terrain": "t_rock_smooth" },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "not": { "u_is_on_terrain": "t_grass_alien" } },
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
{ "not": { "u_is_on_terrain": "t_glassed_sand" } },
{ "not": { "u_is_on_terrain": "t_rubber_mulch" } },
{ "not": { "u_is_on_terrain": "t_swater_surf" } },
{ "not": { "u_is_on_terrain": "t_woodchips" } }
]
}
]
},
"effect": [
{ "u_location_variable": { "u_val": "IERDE_sleep_in_earth_starting_point" }, "min_radius": 0, "max_radius": 0 },
{
"u_location_variable": { "u_val": "IERDE_sleep_in_earth_destination" },
"min_radius": 0,
"max_radius": 0,
"z_adjust": -9,
"z_override": true
},
{ "u_message": "The earth parts beneath you and you sink down into the stone.", "type": "good" },
{ "u_teleport": { "u_val": "IERDE_sleep_in_earth_destination" }, "force": true },
{ "u_add_trait": "IERDE_STONE_SLEEP" }
],
"false_effect": [ { "u_message": "You must be standing on the living earth to sink into the stone!", "type": "bad" } ]
}
}
],
"false_effect": [
{ "u_teleport": { "u_val": "IERDE_sleep_in_earth_starting_point" } },
{ "u_message": "You feel yourself rising until you stand in the clear air once again.", "type": "good" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SLEEP_IN_EARTH_REMOVER",
"eoc_type": "EVENT",
"//": "No cheating and teleporting out to keep your buffs",
"required_event": "avatar_moves",
"condition": { "and": [ { "not": { "math": [ "u_val('pos_z')", "==", "-9" ] } }, { "u_has_trait": "IERDE_STONE_SLEEP" } ] },
"effect": [ { "u_lose_trait": "IERDE_STONE_SLEEP" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_THE_EARTH_SELECTOR",
"effect": [
{
"run_eoc_selector": [
"EOC_RESHAPE_EARTH_MAKE_WALL",
"EOC_RESHAPE_EARTH_MAKE_PIT",
"EOC_RESHAPE_EARTH_RAISE_EARTH",
"EOC_RESHAPE_EARTH_LOWER_EARTH",
"EOC_RESHAPE_EARTH_SMOOTH_STONE",
"EOC_RESHAPE_EARTH_CHURN_EARTH",
"EOC_RESHAPE_EARTH_DIRT_TO_STONE",
"EOC_RESHAPE_EARTH_STONE_TO_DIRT",
"EOC_NULL"
],
"names": [
"Create or Destroy Wall",
"Create Pit",
"Earthen Stairs Up",
"Earthen Stairs Down",
"Smooth Stone",
"Churn Earth for Planting",
"Turn Earth to Stone",
"Turn Stone to Earth",
"Do nothing"
],
"keys": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ],
"descriptions": [
"Turn a dirt or stone floor into a wall or vice versa.",
"Create a pit.",
"Reshape the dirt or stone into a set of stairs going up.",
"Reshape the dirt or stone into a set of stairs going down.",
"Polish and smooth a stone wall into a mirror-like finish.",
"Create furrows in the earth suitable for planting crops",
"Turn dirt and earth into solid rock.",
"Turn solid rock into loose soil or dirt.",
"Do nothing."
]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_MAKE_WALL",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_walls" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_MAKE_PIT",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_pits" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_RAISE_EARTH",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_raise" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_LOWER_EARTH",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_lower" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_SMOOTH_STONE",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_smooth_stone" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_CHURN_EARTH",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_churn_earth" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_DIRT_TO_STONE",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_earth_to_stone" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_RESHAPE_EARTH_STONE_TO_DIRT",
"effect": [ { "u_cast_spell": { "id": "ierde_reshape_the_stone_to_dirt" }, "targeted": true } ]
}
]
Loading

0 comments on commit 0e94991

Please sign in to comment.