Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xedra Evolved] More paraclesian powers #73009

Merged
merged 17 commits into from
Apr 16, 2024
21 changes: 21 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,27 @@
"rating": "good",
"enchantments": [ { "values": [ { "value": "STEALTH_MODIFIER", "add": 50 } ] } ]
},
{
"type": "effect_type",
"id": "effect_homullus_add_learning_focus",
"name": [ "Scholar's Regard" ],
"desc": [ "It's time for a study session" ],
"apply_message": "",
"remove_message": "You were just on the cusp of something as your enhanced focus fades.",
"rating": "good",
"enchantments": [
{
"values": [
{
"value": "LEARNING_FOCUS",
"add": {
"math": [ "( ( u_spell_level('homullus_add_learning_focus_spell') * 1.5 ) + 5 ) * scaling_factor(u_val('intelligence') )" ]
}
}
]
}
]
},
{
"type": "effect_type",
"id": "telepathic_ignorance",
Expand Down
13 changes: 13 additions & 0 deletions data/mods/Xedra_Evolved/furniture_and_terrain/furniture.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,18 @@
"sound_fail": "whump.",
"items": [ { "item": "scrap_dreamdross", "count": [ 50, 80 ] } ]
}
},
{
"type": "furniture",
"id": "f_homullus_translocator_location",
"name": "civilization",
"symbol": "+",
"description": "A part of one of the last bastions of civilization. You could travel here in moments from any road you found yourself on.",
"color": "brown",
"required_str": -1,
"move_cost_mod": 0,
"flags": [ "TRANSLOCATOR", "MOUNTABLE", "TRANSPARENT", "ALLOW_FIELD_EFFECT", "EASY_DECONSTRUCT" ],
"examine_action": "translocator",
"deconstruct": { "items": [ ] }
}
]
32 changes: 32 additions & 0 deletions data/mods/Xedra_Evolved/furniture_and_terrain/terrain-flora.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,5 +398,37 @@
"coverage": 80,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOCOLLIDE" ],
"bash": { "str_min": 2, "str_max": 6, "ter_set": "t_dirt", "sound": "crunch.", "sound_fail": "whish." }
},
{
"type": "terrain",
"id": "t_arvore_living_tent",
"name": "den of brambles",
"description": "A structure made from quickly-grown vines and brambles, almost-entirely concealing the hollow inside.",
"symbol": "#",
"color": "brown_green",
"looks_like": "t_bramble_door_c",
"move_cost": 2,
"coverage": 80,
"floor_bedding_warmth": 2000,
"comfort": 3,
"flags": [
"TRANSPARENT",
"CONTAINER",
"FLAMMABLE_ASH",
"THIN_OBSTACLE",
"REDUCE_SCENT",
"INDOORS",
"MOUNTABLE",
"HIDE_PLACE",
"EASY_DECONSTRUCT"
],
"bash": {
"str_min": 12,
"str_max": 60,
"sound": "crunch.",
"sound_fail": "brush.",
"ter_set": "t_dirt",
"items": [ { "item": "stick", "count": [ 3, 6 ] }, { "item": "leaves", "count": [ 6, 18 ] } ]
}
}
]
7 changes: 7 additions & 0 deletions data/mods/Xedra_Evolved/jmath.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,12 @@
"//_1": "How big the speed changes per 1 degree",
"num_args": 2,
"return": "(fahrenheit(weather('temperature')) - _0 + u_climate_control_str_heat()) * _1"
},
{
"type": "jmath_function",
"id": "paraclesian_homullus_total_mutations",
"//": "Yes, this is horrible, but there's apparently no way to check the total number of mutations in a category otherwise.",
"num_args": 1,
"return": "_0 + u_has_trait('HOMULLUS_SKIN_1') + u_has_trait('HOMULLUS_SKIN_2') + u_has_trait('HOMULLUS_SKIN_3') + u_has_trait('HOMULLUS_EYES') + u_has_trait('HOMULLUS_BETTER_AT_LYING') + u_has_trait('HOMULLUS_DREAMWALKER') + u_has_trait('HOMULLUS_CHARM_FERALS') + u_has_trait('HOMULLUS_SUMMON_FERALS') + u_has_trait('HOMULLUS_SELF_DECEPTION') + u_has_trait('HOMULLUS_INVISIBLE_TO_HUMANS') + u_has_trait('HOMULLUS_REDUCED_VISIBILITY_ALLY') + u_has_trait('HOMULLUS_RESTORE_POWER') + u_has_trait('HOMULLUS_ADD_LEARNING_FOCUS') + u_has_trait('HOMULLUS_CULTIVATE_GOBLIN_FRUIT') + u_has_trait('NO_TRACE_YET_I_WISH') + u_has_trait('HOMULLUS_BACKSTAGE') + u_has_trait('HOMULLUS_CBM_INSTALL') + u_has_trait('HOMULLUS_CBM_MANA_1') + u_has_trait('HOMULLUS_CBM_MANA_2') + u_has_trait('HOMULLUS_PASSIVE_BIONIC_POWER') + u_has_trait('HOMULLUS_ARMOR_MULT_1') + u_has_trait('HOMULLUS_ARMOR_MULT_2') + u_has_trait('HOMULLUS_GAIN_BIONIC_POWER') + u_has_trait('HOMULLUS_GAIN_BIONIC_POWER_AND_MANA') + u_has_trait('HOMULLUS_CITY_STRIDER') + u_has_trait('HOMULLUS_THE_HUNTER') + u_has_trait('HOMULLUS_EAT_DEMIHUMANS') + u_has_trait('HOMULLUS_TEMPERATURE_TOLERANCE') + u_has_trait('HOMULLUS_CRAFTING_BONUS_1') + u_has_trait('HOMULLUS_CRAFTING_BONUS_2') + u_has_trait('HOMULLUS_CRAFTING_BONUS_3') + u_has_trait('HOMULLUS_GAIN_INTEGRATED_TOOLS') + u_has_trait('HOMULLUS_GAIN_INTEGRATED_HACKER') + u_has_trait('HOMULLUS_EXPANDED_MUTATIONS') + u_has_trait('HOMULLUS_THE_HUNTER2') + u_has_trait('HOMULLUS_DOLL_FORM') + u_has_trait('SOCIAL1') + u_has_trait('SOCIAL2') + u_has_trait('PRETTY') + u_has_trait('BEAUTIFUL') + u_has_trait('BEAUTIFUL2') + u_has_trait('BEAUTIFUL3') + u_has_trait('STR_UP') + u_has_trait('STR_UP_2') + u_has_trait('STR_ALPHA') + u_has_trait('DEX_UP')+ u_has_trait('DEX_UP_2') + u_has_trait('DEX_ALPHA') + u_has_trait('INT_UP') + u_has_trait('INT_UP_2') + u_has_trait('INT_ALPHA') + u_has_trait('PER_UP') + u_has_trait('PER_UP_2') + u_has_trait('PER_ALPHA')"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
}
]
},
"effect": [ { "u_cast_spell": { "id": "arvore_forest_translocate_real" } } ],
"effect": [ { "u_cast_spell": { "id": "paraclesian_translocate" } } ],
"false_effect": [ { "u_message": "You must be outdoors and within the depths of the forest to cast this spell.", "type": "mixed" } ]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@
"base_casting_time": 100,
"base_energy_cost": 800,
"final_energy_cost": 500,
"energy_increment": -40
"energy_increment": -40,
"learn_spells": { "arvore_create_living_tent_spell": 4 }
},
{
"id": "arvore_verdant_infusion",
Expand Down Expand Up @@ -592,7 +593,7 @@
"base_energy_cost": 600,
"final_energy_cost": 350,
"energy_increment": -15,
"learn_spells": { "arvore_tree_singing_spell": 6, "arvore_turn_into_tree": 12 }
"learn_spells": { "arvore_tree_singing_spell": 6, "arvore_create_living_tent_spell": 8, "arvore_turn_into_tree": 12 }
},
{
"id": "arvore_growing_wood_walls_wall",
Expand Down Expand Up @@ -683,7 +684,33 @@
"energy_increment": -25,
"base_casting_time": 150,
"final_casting_time": 75,
"casting_time_increment": -5
"casting_time_increment": -5,
"learn_spells": { "arvore_create_living_tent_spell": 10 }
},
{
"type": "SPELL",
"id": "arvore_create_living_tent_spell",
"name": "Den of Brambles",
"description": "When outside on diggable ground, create a small structure of wood near the Arvore, offering shelter against the elements.",
"flags": [ "SOMATIC", "VERBAL", "NO_FAIL" ],
"valid_targets": [ "ground" ],
"skill": "deduction",
"max_level": { "math": [ "int_to_level(1)" ] },
"difficulty": 5,
"teachable": false,
"spell_class": "ARVORE",
"effect": "ter_transform",
"effect_str": "ter_arvore_living_tent",
"shape": "blast",
"min_range": 1,
"max_range": 1,
"energy_source": "MANA",
"base_energy_cost": 500,
"final_energy_cost": 250,
"energy_increment": -20,
"base_casting_time": 12000,
"final_casting_time": 1500,
"casting_time_increment": -150
},
{
"id": "arvore_roots_spell",
Expand Down Expand Up @@ -886,21 +913,6 @@
"base_energy_cost": 1500,
"base_casting_time": 30000
},
{
"id": "arvore_forest_translocate_real",
"type": "SPELL",
"name": "From Root to Root the Forest Is Joined Real",
"description": "The actual spell that transports you for From Root to Root the Forest Is Joined. It's a bug if you have it.",
"teachable": false,
"valid_targets": [ "self" ],
"spell_class": "ARVORE",
"skill": "deduction",
"flags": [ "VERBAL", "SOMATIC" ],
"difficulty": 9,
"max_level": { "math": [ "per_to_level(1)" ] },
"effect": "translocate",
"shape": "blast"
},
{
"id": "arvore_forest_translocate_attune",
"type": "SPELL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
{ "math": [ "u_spell_level('arvore_summon_briars')", "<", "int_to_level(1)" ] },
{ "math": [ "u_spell_level('arvore_traverse_the_wilds')", "<", "per_to_level(1)" ] },
{ "math": [ "u_spell_level('arvore_cause_decay')", "<", "per_to_level(1)" ] },
{ "math": [ "u_spell_level('arvore_create_living_tent_spell')", "<", "int_to_level(1)" ] },
{ "math": [ "u_spell_level('arvore_summon_preservation_container')", "<", "per_to_level(1)" ] },
{ "math": [ "u_spell_level('arvore_summon_wood_spirit')", "<", "35" ] },
{ "math": [ "u_spell_level('arvore_roots_crack_the_foundation')", "<", "per_to_level(1)" ] },
Expand Down Expand Up @@ -139,6 +140,7 @@
[ "EOC_LEVELER_ARVORE_VERDANT_INFUSION", 6 ],
[ "EOC_LEVELER_ARVORE_ROOTS_SPELL", 8 ],
[ "EOC_LEVELER_ARVORE_CLIMBING_VINE_SPELL", 8 ],
[ "EOC_LEVELER_ARVORE_LIVING_TENT_SPELL", 6 ],
[ "EOC_LEVELER_ARVORE_ANTI_PLANT_SPELL", 7 ],
[ "EOC_LEVELER_ARVORE_DAMAGE_ZOMBIES_HEAL_LIVING", 1 ],
[ "EOC_LEVELER_ARVORE_TREE_TRANSFORM", 1 ],
Expand Down Expand Up @@ -401,6 +403,24 @@
],
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_ARVORE_LIVING_TENT_SPELL",
"condition": {
"and": [
{ "math": [ "u_spell_level('arvore_create_living_tent_spell')", ">=", "0" ] },
{ "math": [ "u_spell_level('arvore_create_living_tent_spell')", "<", "int_to_level(1)" ] }
]
},
"effect": [
{
"u_message": "Your time spent under the shadows of the trees has increased your facility with your fae magicks.",
"type": "good"
},
{ "math": [ "u_spell_exp('arvore_create_living_tent_spell')", "+=", "paraclesian_passive_spell_exp(1)" ] }
],
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_ARVORE_ANTI_PLANT_SPELL",
Expand Down
66 changes: 56 additions & 10 deletions data/mods/Xedra_Evolved/mutations/paraclesians/homullus_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,7 @@
"and": [
{ "u_has_trait": "HOMULLUS_DREAMWALKER" },
{ "x_in_y_chance": { "x": { "math": [ "1 + u_has_trait('THRESH_HOMULLUS')" ] }, "y": 10 } },
{
"or": [
{ "npc_allies": 1 },
{ "u_near_om_location": "evac_center_13", "range": 3 },
{ "u_near_om_location": "robofachq_surface_entrance", "range": 3 },
{ "u_near_om_location": "isolated_road_field_0", "range": 2 },
{ "u_near_om_location": "ranch_camp_41", "range": 3 },
{ "u_near_om_location": "godco_5", "range": 2 }
]
}
{ "math": [ "u_characters_nearby('radius': 30, 'attitude': 'any')", ">", "0" ] }
]
},
"effect": [
Expand Down Expand Up @@ -338,5 +329,60 @@
{ "u_add_trait": "HOMULLUS_DOLL_FORM_ANGER_RELATIONS" }
],
"false_effect": [ { "u_lose_trait": "HOMULLUS_DOLL_FORM_ANGER_RELATIONS_ATTACKER" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_HOMULLUS_ALL_ROADS_TRANSLOCATE_CHECK",
"condition": {
"and": [
"u_is_outside",
{
"or": [
{ "u_at_om_location": "road_curved" },
{ "u_at_om_location": "road_tee" },
{ "u_at_om_location": "road_four_way" },
{ "u_at_om_location": "road_end" },
{ "u_at_om_location": "road_sw" },
{ "u_at_om_location": "road_ne" },
{ "u_at_om_location": "road_ew" },
{ "u_at_om_location": "road_ns" },
{ "u_at_om_location": "road_nesw" },
{ "u_at_om_location": "road" },
{ "u_at_om_location": "road_straight" }
]
},
{ "u_is_on_terrain_with_flag": "ROAD" }
]
},
"effect": [ { "u_cast_spell": { "id": "paraclesian_translocate" } } ],
"false_effect": [ { "u_message": "You must be standing on a road to cast this spell.", "type": "mixed" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_HOMULLUS_ALL_ROADS_ATTUNEMENT_CHECK",
"condition": {
"and": [
{
"or": [
{ "u_near_om_location": "evac_center_13", "range": 3 },
{ "u_near_om_location": "evac_center_09", "range": 3 },
{ "u_near_om_location": "robofachq_surface_entrance", "range": 3 },
{ "u_near_om_location": "isolated_road_field_0", "range": 1 },
{ "u_near_om_location": "lumbermill_0_0_ocu", "range": 1 },
{ "u_near_om_location": "ranch_camp_41", "range": 3 },
{ "u_near_om_location": "ranch_camp_35", "range": 3 },
{ "u_near_om_location": "ranch_camp_22", "range": 3 },
{ "u_near_om_location": "ranch_camp_11", "range": 3 },
{ "u_near_om_location": "godco_5", "range": 3 },
{ "u_at_om_location": "FACTION_CAMP_ANY" },
{ "math": [ "u_characters_nearby('radius': 50, 'attitude': 'any')", ">=", "15" ] }
]
}
]
},
"effect": [ { "u_cast_spell": { "id": "homullus_civilization_translocate_attune_real" }, "targeted": true } ],
"false_effect": [
{ "u_message": "You must be within one of the remaining bastions of civilization to cast this spell.", "type": "mixed" }
]
}
]
Loading
Loading