Skip to content

Commit

Permalink
Merge pull request #7 from Standing-Storm/More-mutations
Browse files Browse the repository at this point in the history
More mutations
  • Loading branch information
Standing-Storm authored Sep 20, 2023
2 parents ed31aee + 93fddef commit eb5783e
Show file tree
Hide file tree
Showing 5 changed files with 603 additions and 12 deletions.
87 changes: 87 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,19 @@
"dur_add_perc": 5,
"base_mods": { "health_min": [ 1 ], "health_chance": [ 50 ], "h_mod_min": [ 1 ], "h_mod_chance": [ 100 ], "health_tick": [ 60 ] }
},
{
"type": "effect_type",
"id": "effect_hungry_roots",
"name": [ "Hungry Thirsty Roots" ],
"desc": [ "Roots and vines clutch at you." ],
"max_intensity": 4,
"int_add_val": 1,
"apply_message": "Roots and vines entangle your foes to slow them!",
"remove_message": "The roots and vines wither up and die.",
"base_mods": { "speed_mod": [ -30 ] },
"scaling_mods": { "speed_mod": [ -5 ] },
"flags": [ "EFFECT_IMPEDING" ]
},
{
"type": "effect_type",
"id": "arvore_verdant_infusion",
Expand All @@ -730,6 +743,80 @@
"name": [ "Reborn" ],
"desc": [ "Your were reborn and your soul and new body are still finding their balance." ]
},
{
"type": "effect_type",
"id": "effect_paraclesian_dodge_bonus_1",
"name": [ "Enhanced Dodging" ],
"desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
"apply_message": "",
"remove_message": "Your enhanced dodging ability fades away.",
"rating": "good",
"base_mods": { "dodge_mod": [ 1 ] },
"enchantments": [
{
"values": [
{
"value": "BONUS_DODGE",
"add": {
"math": [
"(1 + ( u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') / 10) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
}
]
},
{
"type": "effect_type",
"id": "effect_paraclesian_dodge_bonus_2",
"name": [ "Enhanced Dodging" ],
"desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
"apply_message": "",
"remove_message": "Your enhanced dodging ability fades away.",
"rating": "good",
"base_mods": { "dodge_mod": [ 2 ] },
"enchantments": [
{
"values": [
{
"value": "BONUS_DODGE",
"add": {
"math": [
"(1 + ( u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') / 10) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
}
],
"flags": [ "UNCANNY_DODGE" ]
},
{
"type": "effect_type",
"id": "effect_paraclesian_dodge_bonus_3",
"name": [ "Enhanced Dodging" ],
"desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
"apply_message": "",
"remove_message": "Your enhanced dodging ability fades away.",
"rating": "good",
"base_mods": { "dodge_mod": [ 3 ] },
"enchantments": [
{
"values": [
{
"value": "BONUS_DODGE",
"add": {
"math": [
"(1 + ( u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') / 10) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
}
],
"flags": [ "UNCANNY_DODGE", "HARDTOHIT" ]
},
{
"type": "mutation",
"id": "karma_arms",
Expand Down
25 changes: 25 additions & 0 deletions data/mods/Xedra_Evolved/items/armor/integrated.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,31 @@
}
]
},
{
"id": "integrated_arvore_thorns",
"type": "ARMOR",
"category": "armor",
"name": { "str_sp": "woody thorns" },
"description": "Your skin is covered in thick, woody thorns.",
"weight": "0 g",
"volume": "0 ml",
"price": 0,
"price_postapoc": 0,
"material": [ "mut_wood" ],
"symbol": ",",
"color": "green",
"to_hit": 1,
"flags": [ "INTEGRATED", "SEMITANGIBLE", "ZERO_WEIGHT", "ALLOWS_NATURAL_ATTACKS", "UNBREAKABLE", "OUTER", "PADDED" ],
"armor": [
{
"material": [ { "type": "mut_wood", "covered_by_mat": 100, "thickness": 3.2 } ],
"covers": [ "hand_l", "hand_r" ],
"coverage": 0,
"encumbrance": 0
}
],
"melee_damage": { "stab": 4 }
},
{
"id": "integrated_coal_skin",
"type": "ARMOR",
Expand Down
81 changes: 79 additions & 2 deletions data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,54 @@
],
"false_effect": [ { "u_message": "You must be surrounded by nature to commune with nature.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_APPLY_PARACLESIAN_DODGE_BONUS",
"effect": {
"switch": { "math": [ "u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus')" ] },
"cases": [
{
"case": 0,
"effect": [
{
"u_add_effect": "effect_paraclesian_dodge_bonus_1",
"duration": {
"math": [
"( (u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') * 3000) + 30000) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
},
{
"case": 15,
"effect": [
{
"u_add_effect": "effect_paraclesian_dodge_bonus_2",
"duration": {
"math": [
"( (u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') * 3000) + 30000) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
},
{
"case": 25,
"effect": [
{
"u_add_effect": "effect_paraclesian_dodge_bonus_3",
"duration": {
"math": [
"( (u_val('spell_level', 'spell: paraclesian_spell_dodge_bonus') * 3000) + 30000) * (scaling_factor(u_val('perception') ) )"
]
}
}
]
}
]
}
},
{
"type": "effect_on_condition",
"id": "EOC_ARVORE_GOBLIN_FRUIT",
Expand Down Expand Up @@ -152,7 +200,7 @@
},
"false_effect": [
{
"u_message": "Your soul is still attaching itself to your new body. You need to give it time before battempting to bind it to the forest again.",
"u_message": "Your soul is still attaching itself to your new body. You need to give it time before attempting to bind it to the forest again.",
"type": "bad"
}
]
Expand Down Expand Up @@ -192,7 +240,7 @@
{ "u_lose_trait": "PERENNIAL_REBIRTH" },
{ "u_add_effect": "arvore_perennial_rebirth_cooldown", "duration": 2419200 },
{ "math": [ "u_pain()", "=", "0" ] },
{ "math": [ "u_val('stored_kcal')", "=", "75000" ] },
{ "math": [ "u_val('stored_kcal')", "=", "65000" ] },
{ "math": [ "u_val('thirst')", "=", "0)" ] },
{ "math": [ "u_val('vitamin', 'name: bad_food')", "=", "0" ] },
{ "math": [ "u_val('vitamin', 'name: blood')", "=", "0" ] },
Expand Down Expand Up @@ -241,5 +289,34 @@
{ "math": [ "u_val('vitamin', 'name: redcells')", "=", "0" ] },
{ "math": [ "u_val('vitamin', 'name: vitC')", "=", "0" ] }
]
},
{
"type": "effect_on_condition",
"type": "EOC_SUN_FOODS_ON_KCAL",
"//": "Numbers here assuming 8 hours of time in the sun. 480 minutes * 5 kcals per minute = 2400 kcals, up to 3840 kcals per 8 hours if you're low.",
"condition": { "math": [ "u_val('stored_kcal')", ">=", "110000" ] },
"effects": [],
"false_effect": {
"run_eocs": [
{
"id": "EOC_SUN_FOODS_ON_HUNGER_2",
"condition": { "and": [ { "math": [ "u_val('stored_kcal')", "<=", "109999" ] }, { "math": [ "u_val('stored_kcal')", ">=", "75000" ] } ] },
"effect": [
{ "math": [ "u_val('stored_kcal')", "+=", "5" ] },
],
"false_effect": {
"run_eocs": [
{
"id": "EOC_SUN_FOODS_ON_HUNGER_3",
"condition": { "math": [ "u_val('stored_kcal')", "<=", "74999" ] },
"effect": [
{ "math": [ "u_val('stored_kcal')", "+=", "8" ] },
]
}
]
}
}
]
}
}
]
Loading

0 comments on commit eb5783e

Please sign in to comment.