Skip to content

Commit

Permalink
[Xedra Evolved] More Ierde and Undine Paraclesian traits (#71132)
Browse files Browse the repository at this point in the history
* Initial commit

* Link Flow Like Water to its EoC

* Add Whirlpool Catches the Shoal and Crushing Pressure

* Add Tidal Wave and Mana Traits

* Add The Sea Is Always With Me

* Add The Soil Knows Those Who Tread Upon It

* Update "natural earth or stone" sensing conditions

* Deactivate trait, don't remove effect
  • Loading branch information
Standing-Storm authored Jan 24, 2024
1 parent 2c54b94 commit 1bcb36a
Show file tree
Hide file tree
Showing 11 changed files with 1,106 additions and 137 deletions.
32 changes: 32 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,27 @@
"limb_score_mods": [ { "limb_score": "breathing", "modifier": 0.6 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_ierde_no_mind_problems",
"//": "Empty to hide effect--it's linked to a mutation already",
"name": [ "" ],
"desc": [ "" ],
"removes_effects": [ "hallu", "taint", "hallucinogenic_acid_heavy", "hallucinogenic_acid_light", "visuals" ]
},
{
"type": "effect_type",
"id": "effect_ierde_sense_nearby_monsters",
"name": [ "Earth-Sensing" ],
"desc": [ "You are sensing the movements of nearby creatures upon the living earth." ],
"apply_message": "Nearby creatures' movements are revealed to you.",
"remove_message": "Your earth-sense fades away.",
"rating": "good",
"show_intensity": false,
"enchantments": [
{ "values": [ { "value": "MOTION_VISION_RANGE", "add": { "math": [ "u_val('strength') + u_val('perception')" ] } } ] }
]
},
{
"type": "effect_type",
"id": "effect_salamander_levitation",
Expand Down Expand Up @@ -1039,6 +1060,17 @@
"enchantments": [ { "values": [ { "value": "FALL_DAMAGE", "multiply": -0.6 }, { "value": "EVASION", "add": 0.33 } ] } ],
"flags": [ "DOWNED_RECOVERY", "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_undine_spell_slow",
"name": [ "Slowed by the Current" ],
"desc": [ "Currents of aetherial water are hindering your movements." ],
"rating": "bad",
"apply_message": "You feel like you're wading through a rushing river!",
"remove_message": "The drag on your movements is gone.",
"show_in_info": true,
"base_mods": { "speed_mod": [ -25 ] }
},
{
"type": "effect_type",
"id": "effect_paraclesian_dodge_bonus_1",
Expand Down
36 changes: 36 additions & 0 deletions data/mods/Xedra_Evolved/items/armor/integrated.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,42 @@
}
]
},
{
"id": "item_undine_liquid_water_pocket",
"type": "GENERIC",
"category": "clothing",
"name": { "str": "water pocket" },
"description": "Your skin is capable of .",
"to_hit": -1,
"material": [ "fae_flesh" ],
"symbol": ")",
"color": "blue",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"watertight": true,
"max_contains_volume": "3 L",
"max_item_volume": "17 ml",
"max_contains_weight": "6 kg",
"volume_encumber_modifier": 0,
"volume_multiplier": 0,
"weight_multiplier": 0,
"item_restriction": [ "water", "water_clean", "salt_water", "water_mineral" ]
}
],
"flags": [
"INTEGRATED",
"PADDED",
"SEMITANGIBLE",
"ZERO_WEIGHT",
"TARDIS",
"UNBREAKABLE",
"PERSONAL",
"SOFT",
"TRANSPARENT",
"WATER_FRIENDLY"
]
},
{
"id": "integrated_cloud_skin",
"type": "ARMOR",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
"difficulty": 4,
"spell_class": "ARVORE",
"valid_targets": [ "self" ],
"skill": "deduction",
"effect": "effect_on_condition",
"effect_str": "EOC_ARVORE_SUMMON_PRESERVATION_CONTAINER_CHECK",
"shape": "blast",
Expand Down Expand Up @@ -781,7 +782,7 @@
"id": "arvore_forest_translocate_attune",
"type": "SPELL",
"name": "Root to Root Attunement",
"description": "Attune to a location for later traveling. YOu must attune within the depths of a forest.",
"description": "Attune to a location for later traveling. You must attune within the depths of a forest.",
"teachable": false,
"valid_targets": [ "self" ],
"spell_class": "ARVORE",
Expand Down
155 changes: 98 additions & 57 deletions data/mods/Xedra_Evolved/mutations/paraclesians/ierde_eocs.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,81 @@
[
{
"type": "effect_on_condition",
"id": "EOC_IERDE_GOBLIN_FRUIT",
"id": "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_ON",
"condition": {
"or": [
{ "u_is_on_terrain_with_flag": "SHRUB" },
{ "u_is_on_terrain": "t_tree_young" },
{ "u_is_on_terrain": "t_bamboo_tall" },
{ "u_is_on_terrain": "t_dirt" },
{ "u_is_on_terrain": "t_dirtmound" },
{ "u_is_on_terrain": "t_clay" },
{ "u_is_on_terrain": "t_sand" },
{ "u_is_on_terrain": "t_sandmound" },
{ "u_is_on_terrain": "t_grave" },
{ "u_is_on_terrain": "t_forestfloor" },
{ "u_is_on_terrain": "t_grass" },
{ "u_is_on_terrain": "t_grass_long" },
{ "u_is_on_terrain": "t_grass_tall" },
{ "u_is_on_terrain": "t_grass_dead" },
{ "u_is_on_terrain": "t_dirtfloor_no_roof" },
{ "u_is_on_terrain": "t_mud" },
{ "u_is_on_terrain": "t_dirt_underground" },
{ "u_is_on_terrain": "t_moss" },
{ "u_is_on_terrain": "t_rock_floor_no_roof" },
{ "u_is_on_terrain": "t_rock_floor" },
{ "u_is_on_terrain": "t_rock_smooth" },
{ "u_is_on_terrain": "t_rock_wall_half" },
{ "u_is_on_terrain": "t_claymound_underground" },
{ "u_is_on_terrain": "t_mud_underground" },
{ "u_is_on_terrain": "t_moss_underground" },
{ "u_is_on_terrain": "t_clay_underground" },
{ "u_is_on_terrain": "t_sand_underground" },
{ "u_is_on_terrain": "t_dirt_underground" }
{ "math": [ "u_val('pos_z')", "<=", "-1" ] },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "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_add_effect": "effect_ierde_sense_nearby_monsters", "duration": "PERMANENT" } ],
"false_effect": [
{
"u_message": "You must be in contact with the living earth or underground to activate The Soil Knows Those Who Tread Upon It",
"type": "bad"
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_OFF",
"effect": [ { "u_lose_effect": "effect_ierde_sense_nearby_monsters" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_DETECT_NEARBY_MONSTERS_CHECK",
"eoc_type": "EVENT",
"required_event": "avatar_moves",
"condition": {
"and": [
{ "u_has_effect": "effect_ierde_sense_nearby_monsters" },
{
"or": [
{ "math": [ "u_val('pos_z')", ">=", "1" ] },
{
"or": [
{ "not": { "u_is_on_terrain_with_flag": "DIGGABLE" } },
{ "u_is_on_terrain": "t_grass_alien" },
{ "u_is_on_terrain": "t_vitrified_sand" },
{ "u_is_on_terrain": "t_pit_corpsed" },
{ "u_is_on_terrain": "t_fungus" },
{ "u_is_on_terrain": "t_glassed_sand" },
{ "u_is_on_terrain": "t_rubber_mulch" },
{ "u_is_on_terrain": "t_swater_surf" },
{ "u_is_on_terrain": "t_woodchips" }
]
}
]
}
]
},
"effect": [ { "u_deactivate_trait": "IERDE_DETECT_NEARBY_MONSTERS_EARTH" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_GOBLIN_FRUIT",
"condition": {
"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_cast_spell": { "id": "cultivate_goblin_fruit_real" } } ],
Expand All @@ -41,39 +85,36 @@
"type": "effect_on_condition",
"id": "EOC_IERDE_IRON_ARMOR_SPELL",
"condition": {
"or": [
{ "u_is_on_terrain_with_flag": "SHRUB" },
{ "u_is_on_terrain": "t_tree_young" },
{ "u_is_on_terrain": "t_bamboo_tall" },
{ "u_is_on_terrain": "t_dirt" },
{ "u_is_on_terrain": "t_dirtmound" },
{ "u_is_on_terrain": "t_clay" },
{ "u_is_on_terrain": "t_sand" },
{ "u_is_on_terrain": "t_sandmound" },
{ "u_is_on_terrain": "t_grave" },
{ "u_is_on_terrain": "t_forestfloor" },
{ "u_is_on_terrain": "t_grass" },
{ "u_is_on_terrain": "t_grass_long" },
{ "u_is_on_terrain": "t_grass_tall" },
{ "u_is_on_terrain": "t_grass_dead" },
{ "u_is_on_terrain": "t_dirtfloor_no_roof" },
{ "u_is_on_terrain": "t_mud" },
{ "u_is_on_terrain": "t_dirt_underground" },
{ "u_is_on_terrain": "t_moss" },
{ "u_is_on_terrain": "t_rock_floor_no_roof" },
{ "u_is_on_terrain": "t_rock_floor" },
{ "u_is_on_terrain": "t_rock_smooth" },
{ "u_is_on_terrain": "t_rock_wall_half" },
{ "u_is_on_terrain": "t_mud_underground" },
{ "u_is_on_terrain": "t_moss_underground" },
{ "u_is_on_terrain": "t_clay_underground" },
{ "u_is_on_terrain": "t_sand_underground" },
{ "u_is_on_terrain": "t_dirt_underground" }
"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_cast_spell": { "id": "ierde_iron_armor_spell_real", "hit_self": true } } ],
"false_effect": [ { "u_message": "You must be on living earth or stone to infuse yourself with iron.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SMASHING_PUNCH_activated",
"effect": [
{
"run_eoc_with": "EOC_GENERIC_SPELL_MUTATION",
"variables": {
"prep_time": "2",
"spell_to_cast": "ierde_smashing_punch_spell",
"message_success": "You gather yourself for a moment and strike.",
"message_fail": ""
}
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_NO_SLEEP_MEDITATE_activate",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"type": "enchantment",
"id": "ench_ierde_no_mind_problems",
"has": "HELD",
"condition": "ALWAYS",
"ench_effects": [ { "effect": "effect_ierde_no_mind_problems", "intensity": 1 } ]
},
{
"id": "ierde_stomp_ground_smash_spell",
"type": "SPELL",
Expand Down Expand Up @@ -109,6 +116,34 @@
},
"max_aoe": 15
},
{
"id": "ierde_summon_earth_spirit",
"type": "SPELL",
"name": "Calling the Children of the Stones",
"description": "A lesser earth elemental is summoned to support you.",
"valid_targets": [ "ground" ],
"skill": "deduction",
"spell_class": "IERDE",
"teachable": false,
"min_damage": 1,
"max_damage": 8,
"damage_increment": 0.5,
"min_range": 1,
"max_range": 15,
"range_increment": 1,
"max_level": 35,
"difficulty": 3,
"effect": "summon",
"effect_str": "GROUP_GENIUS_IERDE",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 200,
"base_casting_time": 3000,
"flags": [ "SOMATIC", "VERBAL", "SPAWN_GROUP", "SPAWN_GROUP" ],
"min_duration": 36000,
"max_duration": 1080000,
"duration_increment": 36000
},
{
"id": "ierde_no_sleep_meditate_spell",
"type": "SPELL",
Expand All @@ -122,6 +157,21 @@
"effect_str": "EOC_IERDE_NO_SLEEP_MEDITATE",
"shape": "blast"
},
{
"id": "ierde_smashing_punch_spell",
"type": "SPELL",
"name": "Avalanche Blow Spell",
"description": "The spell cast by the Avalanche Blow mutation. It's a bug if you have it directly.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"flags": [ "LOUD", "RANDOM_DAMAGE", "NO_LEGS" ],
"effect": "attack",
"shape": "blast",
"damage_type": "bash",
"min_damage": { "math": [ "u_val('strength') * 2.5" ] },
"max_damage": { "math": [ "u_val('strength') * 3.5" ] }
},
{
"id": "ierde_create_pits_spell",
"type": "SPELL",
Expand Down
Loading

0 comments on commit 1bcb36a

Please sign in to comment.