Skip to content

Commit

Permalink
Merge pull request #77718 from Standing-Storm/ierde-craft-in-darkness
Browse files Browse the repository at this point in the history
[Xedra Evolved] Add new Ierde trait
  • Loading branch information
Maleclypse authored Nov 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents d1d2d02 + 1cfa8c2 commit 980e016
Showing 3 changed files with 44 additions and 3 deletions.
8 changes: 8 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
@@ -1251,6 +1251,14 @@
],
"flags": [ "BLEEDSLOW1" ]
},
{
"type": "effect_type",
"id": "effect_ierde_craft_in_darkness",
"//": "Empty to hide effect--it's linked to a mutation already",
"name": [ "" ],
"desc": [ "" ],
"flags": [ "CRAFT_IN_DARKNESS" ]
},
{
"type": "effect_type",
"id": "effect_ierde_no_mind_problems",
24 changes: 21 additions & 3 deletions data/mods/Xedra_Evolved/mutations/paraclesians/ierde_eocs.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,13 @@
{ "math": [ "u_val('pos_z')", "<=", "-1" ] },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{
"or": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "u_is_on_terrain": "t_rock_floor" },
{ "u_is_on_terrain": "t_rock_floor_no_roof" }
]
},
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
@@ -29,7 +35,13 @@
{ "math": [ "u_val('pos_z')", "<=", "-1" ] },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{
"or": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "u_is_on_terrain": "t_rock_floor" },
{ "u_is_on_terrain": "t_rock_floor_no_roof" }
]
},
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
@@ -67,7 +79,13 @@
{ "math": [ "u_val('pos_z')", ">=", "1" ] },
{
"or": [
{ "not": { "u_is_on_terrain_with_flag": "DIGGABLE" } },
{
"and": [
{ "not": { "u_is_on_terrain_with_flag": "DIGGABLE" } },
{ "not": { "u_is_on_terrain": "t_rock_floor" } },
{ "not": { "u_is_on_terrain": "t_rock_floor_no_roof" } }
]
},
{ "u_is_on_terrain": "t_grass_alien" },
{ "u_is_on_terrain": "t_vitrified_sand" },
{ "u_is_on_terrain": "t_pit_corpsed" },
Original file line number Diff line number Diff line change
@@ -150,6 +150,21 @@
"activated_eocs": [ "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_ON" ],
"deactivated_eocs": [ "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_OFF" ]
},
{
"type": "mutation",
"id": "IERDE_CRAFT_IN_DARKNESS",
"name": { "str": "Sense the Smallest Tremor" },
"points": 3,
"description": "The Ierde's ability to sense small movements is heightened to such a degree that with small movements of their fingers, they can sense the exact shape and position of objects nearby. They can craft in darkness, as long as \"The Soil Knows Those Who Tread Upon It\" is active.",
"prereqs": [ "IERDE_DETECT_NEARBY_MONSTERS_EARTH" ],
"category": [ "IERDE" ],
"enchantments": [
{
"condition": { "u_has_effect": "effect_ierde_sense_nearby_monsters" },
"values": [ { "value": "EQUIPMENT_DAMAGE_CHANCE", "multiply": -0.5 } ]
}
]
},
{
"type": "mutation",
"id": "IERDE_SMASHING_PUNCH",

0 comments on commit 980e016

Please sign in to comment.