From 4c0e69164a034d560c2d5106f69df62dac5c6bb9 Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Thu, 23 May 2024 19:21:48 -0500 Subject: [PATCH 1/5] Initial commit --- ...paraclesian_magic_terrain_adjustments.json | 475 ++++++++++++++++++ 1 file changed, 475 insertions(+) create mode 100644 data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json diff --git a/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json new file mode 100644 index 0000000000000..91a7471ba65a1 --- /dev/null +++ b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json @@ -0,0 +1,475 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_ARVORE_ELEMENTAL_MAGIC_ADJUSTMENT_IN_THE_WILDERNESS", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "and": [ + "u_is_outside", + { + "or": [ + { "u_is_on_terrain_with_flag": "SHRUB" }, + { "u_is_on_terrain_with_flag": "DIGGABLE" }, + { "u_is_on_terrain_with_flag": "YOUNG" } + ] + }, + { "not": { "u_near_om_location": "road_curved", "range": 1 } }, + { "not": { "u_near_om_location": "road_four_way", "range": 1 } }, + { "not": { "u_near_om_location": "road_tee", "range": 1 } }, + { "not": { "u_near_om_location": "road_straight", "range": 1 } }, + { "not": { "u_near_om_location": "road_end", "range": 1 } }, + { "not": { "u_near_om_location": "road_sw", "range": 1 } }, + { "not": { "u_near_om_location": "road_ne", "range": 1 } }, + { "not": { "u_near_om_location": "road_ew", "range": 1 } }, + { "not": { "u_near_om_location": "road_ns", "range": 1 } }, + { "not": { "u_near_om_location": "road_nesw", "range": 1 } }, + { "not": { "u_near_om_location": "road", "range": 1 } } + ] + }, + { "u_has_trait": "ARVORE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'ARVORE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_ARVORE_ELEMENTAL_MAGIC_ADJUSTMENT_HEAVY_FOREST", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "and": [ + { "or": [ "u_is_outside", { "u_is_on_terrain": "t_barkfloor" } ] }, + { + "or": [ + { "u_at_om_location": "forest_thick" }, + { "u_at_om_location": "arvore_genius_loci_NW" }, + { "u_at_om_location": "arvore_genius_loci_NE" }, + { "u_at_om_location": "arvore_genius_loci_SW" }, + { "u_at_om_location": "arvore_genius_loci_SE" }, + { "u_near_om_location": "great_tree_z0_nw", "range": 2 }, + { "u_near_om_location": "great_tree_z0_se", "range": 2 }, + { "u_near_om_location": "great_tree_z1_nw", "range": 2 }, + { "u_near_om_location": "great_tree_z1_se", "range": 2 }, + { "u_near_om_location": "great_tree_z2_nw", "range": 2 }, + { "u_near_om_location": "great_tree_z2_se", "range": 2 }, + { "u_near_om_location": "great_tree_z3_06", "range": 2 }, + { "u_near_om_location": "great_tree_z3_11", "range": 2 }, + { "u_near_om_location": "great_tree_z4_06", "range": 2 }, + { "u_near_om_location": "great_tree_z4_11", "range": 2 }, + { "u_near_om_location": "great_tree_z5_06", "range": 2 }, + { "u_near_om_location": "great_tree_z5_11", "range": 2 }, + { "u_near_om_location": "great_tree_z6_nw", "range": 2 }, + { "u_near_om_location": "great_tree_z6_se", "range": 2 }, + { "u_near_om_location": "great_tree_z6_n2", "range": 2 }, + { "u_near_om_location": "great_tree_z6_se", "range": 2 }, + { "u_near_om_location": "great_tree_z7_nw", "range": 2 }, + { "u_near_om_location": "great_tree_z7_se", "range": 2 }, + { "u_near_om_location": "great_tree_crown_06", "range": 2 }, + { "u_near_om_location": "great_tree_crown_11", "range": 2 }, + { "u_near_om_location": "great_tree_crown_top_01", "range": 2 }, + { "u_near_om_location": "great_tree_crown_top_04", "range": 2 }, + { "u_near_om_location": "great_tree_roots", "range": 2 }, + { "u_near_om_location": "great_tree_roots_se", "range": 2 }, + { "u_near_om_location": "great_tree_roots_nw", "range": 2 } + ] + }, + { "not": { "u_near_om_location": "road_curved", "range": 1 } }, + { "not": { "u_near_om_location": "road_four_way", "range": 1 } }, + { "not": { "u_near_om_location": "road_tee", "range": 1 } }, + { "not": { "u_near_om_location": "road_straight", "range": 1 } }, + { "not": { "u_near_om_location": "road_end", "range": 1 } }, + { "not": { "u_near_om_location": "road_sw", "range": 1 } }, + { "not": { "u_near_om_location": "road_ne", "range": 1 } }, + { "not": { "u_near_om_location": "road_ew", "range": 1 } }, + { "not": { "u_near_om_location": "road_ns", "range": 1 } }, + { "not": { "u_near_om_location": "road_nesw", "range": 1 } }, + { "not": { "u_near_om_location": "road", "range": 1 } } + ] + }, + { "u_has_trait": "ARVORE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'ARVORE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_ARVORE_ELEMENTAL_MAGIC_PENALTY_IN_BUILDING", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "or": [ + { + "and": [ + { "not": "u_is_outside" }, + { "or": [ { "u_is_on_terrain_with_flag": "FLAT" }, { "u_is_on_terrain_with_flag": "ROAD" } ] }, + { "not": { "u_is_on_terrain": "t_barkfloor" } }, + { "not": { "u_is_on_terrain": "t_floor" } }, + { "not": { "u_is_on_terrain": "t_wood_stairs_down" } }, + { "not": { "u_is_on_terrain": "t_wood_stairs_up" } }, + { "not": { "u_is_on_terrain": "t_door_o" } } + ] + }, + { + "and": [ + { + "or": [ + { "u_is_on_terrain": "t_barkfloor" }, + { "u_is_on_terrain": "t_floor" }, + { "u_is_on_terrain": "t_wood_stairs_down" }, + { "u_is_on_terrain": "t_wood_stairs_up" }, + { "u_is_on_terrain": "t_door_o" } + ] + }, + { + "or": [ + { "u_near_om_location": "road_curved", "range": 1 }, + { "u_near_om_location": "road_four_way", "range": 1 }, + { "u_near_om_location": "road_tee", "range": 1 }, + { "u_near_om_location": "road_straight", "range": 1 }, + { "u_near_om_location": "road_end", "range": 1 }, + { "u_near_om_location": "road_sw", "range": 1 }, + { "u_near_om_location": "road_ne", "range": 1 }, + { "u_near_om_location": "road_ew", "range": 1 }, + { "u_near_om_location": "road_ns", "range": 1 }, + { "u_near_om_location": "road_nesw", "range": 1 }, + { "u_near_om_location": "road", "range": 1 } + ] + } + ] + } + ] + }, + { "u_has_trait": "ARVORE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'ARVORE' )", "=", "3" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_HOMULLUS_MAGIC_ADJUSTMENT_IN_CIVILIZATION", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "effect": [ + { + "set_string_var": { "mutator": "loc_relative_u", "target": "(0,0,0)" }, + "target_var": { "context_val": "homullus_location" } + }, + { + "run_eocs": [ + { + "id": "EOC_HOMULLUS_MAGIC_ADJUSTMENT_IN_CIVILIZATION_2", + "//": "This EoC is required because map_in_city cannot check talker location directly.", + "condition": { + "or": [ + { "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": 3 }, + { "u_at_om_location": "FACTION_CAMP_ANY" }, + { "map_in_city": { "mutator": "loc_relative_u", "target": "(0,0,0)" } } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'HOMULLUS' )", "=", "-2" ] } ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_HOMULLUS_MAGIC_ADJUSTMENT_NEARBY_PEOPLE", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "math": [ + "(u_characters_nearby('radius': 30, 'attitude': 'any') + u_monsters_nearby('mon_feral_cop', 'mon_feral_human_pipe', 'mon_feral_human_crowbar', 'mon_feral_jackboot', 'mon_feral_marine_bayonet', 'mon_feral_soldier', 'mon_feral_prepper_knife', 'mon_feral_sailor_axe', 'mon_feral_maid_knife', 'mon_feral_maid_candlestick', 'mon_feral_officer', 'mon_feral_sailor_lug_wrench', 'mon_feral_sailor_mop', 'mon_feral_maid_broom', 'mon_feral_sailor_wrench', 'mon_feral_swimmer_kickboard', 'mon_feral_armored_battleaxe', 'mon_feral_sapien_spear', 'mon_feral_armored_mace', 'mon_feral_human_tool', 'mon_feral_militia', 'mon_feral_fancy_rapier_fake', 'mon_feral_fancy_rapier', 'mon_feral_human_archaeologist', 'mon_feral_human_axe', 'mon_feral_labsecurity_flashlight', 'mon_feral_labsecurity_9mm', 'mon_feral_survivalist', 'mon_feral_scientist_scalpel', 'mon_feral_zebra_agent', 'mon_renfield', 'mon_renfield_9mm', 'mon_renfield_shotgun', 'mon_renfield_flamethrower', 'radius': 30, 'attitude': 'both'))", + ">=", + "10" + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'HOMULLUS' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_HOMULLUS_ELEMENTAL_MAGIC_PENALTY_IN_THE_WILDERNESS", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "and": [ + "u_is_outside", + { + "or": [ + { "u_is_on_terrain_with_flag": "SHRUB" }, + { "u_is_on_terrain_with_flag": "DIGGABLE" }, + { "u_is_on_terrain_with_flag": "YOUNG" } + ] + }, + { "not": { "u_near_om_location": "road_curved", "range": 1 } }, + { "not": { "u_near_om_location": "road_four_way", "range": 1 } }, + { "not": { "u_near_om_location": "road_tee", "range": 1 } }, + { "not": { "u_near_om_location": "road_straight", "range": 1 } }, + { "not": { "u_near_om_location": "road_end", "range": 1 } }, + { "not": { "u_near_om_location": "road_sw", "range": 1 } }, + { "not": { "u_near_om_location": "road_ne", "range": 1 } }, + { "not": { "u_near_om_location": "road_ew", "range": 1 } }, + { "not": { "u_near_om_location": "road_ns", "range": 1 } }, + { "not": { "u_near_om_location": "road_nesw", "range": 1 } }, + { "not": { "u_near_om_location": "road", "range": 1 } } + ] + }, + { "u_has_trait": "ARVORE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'HOMULLUS' )", "=", "3" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_IERDE_ELEMENTAL_MAGIC_ADJUSTMENT_UNDERGROUND", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ { "math": [ "u_val('pos_z')", "<=", "-1" ] }, { "u_has_trait": "IERDE" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'IERDE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_IERDE_ELEMENTAL_MAGIC_ADJUSTMENT_ON_DIRT_OR_STONE", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "or": [ + { "u_is_on_terrain_with_flag": "DIGGABLE" }, + { "u_is_on_terrain": "t_rock_floor" }, + { "u_is_on_terrain": "t_railroad_rubble" }, + { "u_is_on_terrain": "t_dirt_underground" } + ] + }, + { "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" } }, + { "u_has_trait": "IERDE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'IERDE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_IERDE_ELEMENTAL_MAGIC_PENALTY_TOO_HIGH", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ { "math": [ "u_val('pos_z')", ">=", "1" ] }, { "u_has_trait": "IERDE" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'IERDE' )", "=", "3" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SALAMANDER_ELEMENTAL_MAGIC_ADJUSTMENT_IN_FIRE", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ { "u_is_in_field": "fd_fire" }, { "u_has_trait": "SALAMANDER" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SALAMANDER' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SALAMANDER_ELEMENTAL_MAGIC_ADJUSTMENT_IN_HEAT", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "or": [ + { "u_is_in_field": "fd_hot_air1" }, + { "u_is_in_field": "fd_hot_air2" }, + { "u_is_in_field": "fd_hot_air3" }, + { "u_is_in_field": "fd_hot_air4" }, + { "math": [ "weather('temperature')", ">=", "from_fahrenheit( 80 )" ] } + ] + }, + { "u_has_trait": "SALAMANDER" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SALAMANDER' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SALAMANDER_ELEMENTAL_MAGIC_PENALTY_IN_CHILL", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { "math": [ "weather('temperature')", "<=", "from_fahrenheit( 32 )" ] }, + { + "and": [ + { "not": { "u_is_in_field": "fd_hot_air1" } }, + { "not": { "u_is_in_field": "fd_hot_air2" } }, + { "not": { "u_is_in_field": "fd_hot_air3" } }, + { "not": { "u_is_in_field": "fd_hot_air4" } }, + { "not": { "u_is_in_field": "fd_fire" } }, + { "not": { "u_has_item": "torch_lit" } }, + { "not": { "u_has_item": "candle_lit" } }, + { "not": { "u_has_item": "oil_lamp_on" } }, + { "not": { "u_has_item": "oil_lamp_clay_on" } }, + { "not": { "u_has_item": "cigar_lit" } }, + { "not": { "u_has_item": "cig_lit" } } + ] + }, + { "u_has_trait": "SALAMANDER" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SALAMANDER' )", "=", "3" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SYLPH_ELEMENTAL_MAGIC_ADJUSTMENT_UP_HIGH", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ { "math": [ "u_val('pos_z')", ">=", "3" ] }, { "u_has_trait": "SYLPH" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SYLPH' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SYLPH_ELEMENTAL_MAGIC_ADJUSTMENT_UNDER_THE_SKY", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ "u_is_outside", { "u_has_trait": "SYLPH" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SYLPH' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_SYLPH_ELEMENTAL_MAGIC_PENALTY_UNDERGROUND", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ { "math": [ "u_val('pos_z')", "<=", "-1" ] }, { "u_has_trait": "SYLPH" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SYLPH' )", "=", "3" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_UNDINE_ELEMENTAL_MAGIC_ADJUSTMENT_NEAR_WATER", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ + { + "or": [ + { "u_is_on_terrain": "t_water_dp" }, + { "u_is_on_terrain": "t_water_sh" }, + { "u_is_on_terrain": "t_swater_dp" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_water_dp_underground" }, + { "u_is_on_terrain": "t_water_pool" }, + { "u_is_on_terrain": "t_water_pool_outdoors" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_water_hot" }, + { "u_is_on_terrain": "t_water_murky" }, + { "u_is_on_terrain": "t_water_sh_underground" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_swater_sh_underground" }, + { "u_is_on_terrain": "t_swater_sh" }, + { "u_is_on_terrain": "t_water_pool_shallow" }, + { "u_is_on_terrain": "t_water_pool_shallow_outdoors" }, + { "u_is_on_terrain": "t_water_moving_dp" }, + { "u_is_on_terrain": "t_water_moving_dp_underground" }, + { "u_is_on_terrain": "t_water_sh_murky_underground" }, + { "u_near_om_location": "generic_river_bank", "range": 1 }, + { "u_near_om_location": "generic_river", "range": 1 }, + { "u_near_om_location": "river_center", "range": 1 }, + { "u_near_om_location": "river", "range": 1 }, + { "u_near_om_location": "river_c_not_ne", "range": 1 }, + { "u_near_om_location": "river_c_not_nw", "range": 1 }, + { "u_near_om_location": "river_c_not_se", "range": 1 }, + { "u_near_om_location": "river_c_not_sw", "range": 1 }, + { "u_near_om_location": "river_ne", "range": 1 }, + { "u_near_om_location": "river_se", "range": 1 }, + { "u_near_om_location": "river_sw", "range": 1 }, + { "u_near_om_location": "river_nw", "range": 1 }, + { "u_near_om_location": "lake_shore", "range": 1 }, + { "u_near_om_location": "lake_surface", "range": 1 } + ] + }, + { "u_has_trait": "UNDINE" } + ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'UNDINE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_UNDINE_ELEMENTAL_MAGIC_ADJUSTMENT_UNDERWATER", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { "and": [ "u_is_underwater", { "u_has_trait": "UNDINE" } ] }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'UNDINE' )", "=", "-2" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_UNDINE_ELEMENTAL_MAGIC_PENALTY_TOO_DRY_TIMER", + "eoc_type": "EVENT", + "required_event": "avatar_moves", + "condition": { + "and": [ + { + "or": [ + { "u_is_on_terrain": "t_water_dp" }, + { "u_is_on_terrain": "t_water_sh" }, + { "u_is_on_terrain": "t_swater_dp" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_water_dp_underground" }, + { "u_is_on_terrain": "t_water_pool" }, + { "u_is_on_terrain": "t_water_pool_outdoors" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_water_hot" }, + { "u_is_on_terrain": "t_water_murky" }, + { "u_is_on_terrain": "t_water_sh_underground" }, + { "u_is_on_terrain": "t_swater_dp_underground" }, + { "u_is_on_terrain": "t_swater_sh_underground" }, + { "u_is_on_terrain": "t_swater_sh" }, + { "u_is_on_terrain": "t_water_pool_shallow" }, + { "u_is_on_terrain": "t_water_pool_shallow_outdoors" }, + { "u_is_on_terrain": "t_water_moving_dp" }, + { "u_is_on_terrain": "t_water_moving_dp_underground" }, + { "u_is_on_terrain": "t_water_sh_murky_underground" }, + { "u_at_om_location": "generic_river_bank" }, + { "u_at_om_location": "generic_river" }, + { "u_at_om_location": "river_center" }, + { "u_at_om_location": "river" }, + { "u_at_om_location": "river_c_not_ne" }, + { "u_at_om_location": "river_c_not_nw" }, + { "u_at_om_location": "river_c_not_se" }, + { "u_at_om_location": "river_c_not_sw" }, + { "u_at_om_location": "river_ne" }, + { "u_at_om_location": "river_se" }, + { "u_at_om_location": "river_sw" }, + { "u_at_om_location": "river_nw" }, + { "u_at_om_location": "lake_shore" }, + { "u_at_om_location": "lake_surface" } + ] + }, + { "u_has_trait": "UNDINE" } + ] + }, + "effect": [ { "math": [ "u_timer_undine_last_in_water", "=", "time('now')" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_UNDINE_ELEMENTAL_MAGIC_PENALTY_TOO_DRY", + "eoc_type": "EVENT", + "required_event": "opens_spellbook", + "condition": { + "and": [ { "math": [ "time_since(u_timer_undine_last_in_water)", ">=", "time('6 h')" ] }, { "u_has_trait": "UNDINE" } ] + }, + "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'UNDINE' )", "=", "3" ] } ] + } +] From e23d26ce1d9ed6a5181263f35a8dae16c836190e Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Thu, 23 May 2024 20:40:49 -0500 Subject: [PATCH 2/5] Sylphs in valleys or craters aren't penalized --- .../paraclesian_magic_terrain_adjustments.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json index 91a7471ba65a1..87194d0037956 100644 --- a/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json +++ b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json @@ -113,7 +113,9 @@ { "not": { "u_is_on_terrain": "t_floor" } }, { "not": { "u_is_on_terrain": "t_wood_stairs_down" } }, { "not": { "u_is_on_terrain": "t_wood_stairs_up" } }, - { "not": { "u_is_on_terrain": "t_door_o" } } + { "not": { "u_is_on_terrain": "t_door_o" } }, + { "not": { "u_is_on_terrain": "t_dirt_underground" } }, + { "not": { "u_is_on_terrain": "t_dirtfloor_thatchroof" } } ] }, { @@ -124,7 +126,9 @@ { "u_is_on_terrain": "t_floor" }, { "u_is_on_terrain": "t_wood_stairs_down" }, { "u_is_on_terrain": "t_wood_stairs_up" }, - { "u_is_on_terrain": "t_door_o" } + { "u_is_on_terrain": "t_door_o" }, + { "u_is_on_terrain": "t_dirt_underground" }, + { "u_is_on_terrain": "t_dirtfloor_thatchroof" } ] }, { @@ -353,7 +357,7 @@ "id": "EOC_SYLPH_ELEMENTAL_MAGIC_PENALTY_UNDERGROUND", "eoc_type": "EVENT", "required_event": "opens_spellbook", - "condition": { "and": [ { "math": [ "u_val('pos_z')", "<=", "-1" ] }, { "u_has_trait": "SYLPH" } ] }, + "condition": { "and": [ { "math": [ "u_val('pos_z')", "<=", "-1" ] }, { "not": "u_is_outside" }, { "u_has_trait": "SYLPH" } ] }, "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'SYLPH' )", "=", "3" ] } ] }, { From 6fd0e741ffceafbdf8b27f8b99e9952dcfa4c15e Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Thu, 23 May 2024 21:55:46 -0500 Subject: [PATCH 3/5] Add descriptions for each spirit --- data/mods/Xedra_Evolved/player/professions.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/mods/Xedra_Evolved/player/professions.json b/data/mods/Xedra_Evolved/player/professions.json index 0c4853d42724f..f827a7693ab62 100644 --- a/data/mods/Xedra_Evolved/player/professions.json +++ b/data/mods/Xedra_Evolved/player/professions.json @@ -497,7 +497,7 @@ "type": "profession", "id": "paraclesian_ierde", "name": { "male": "Ierde", "female": "Ierda" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the earth, your powers are strengthened by contact with the soil and the rock and weakened by separation from the living earth.", "points": 5, "traits": [ "IERDE" ], "pets": [ { "name": "mon_stoneling", "amount": 1 } ], @@ -523,7 +523,7 @@ "type": "profession", "id": "paraclesian_arvore", "name": { "male": "Arvi", "female": "Arvori" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the forest, your powers are strengthened by the wild places and weakened within the constructs of humanity.", "points": 5, "traits": [ "ARVORE" ], "pets": [ { "name": "mon_vineling", "amount": 1 } ], @@ -549,7 +549,7 @@ "type": "profession", "id": "paraclesian_undine", "name": { "male": "Onduine", "female": "Ondua" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the lakes and rivers, your powers are strengthened when you are surrounded by water and weakened when you spend too long away from the water.", "points": 5, "traits": [ "UNDINE" ], "pets": [ { "name": "mon_spitting_lizard", "amount": 1 } ], @@ -575,7 +575,7 @@ "type": "profession", "id": "paraclesian_salamander", "name": { "male": "Kéményseprő", "female": "Bejárónő" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the flames, your powers are strengthened when among heat and fire and weakned by the cold.", "points": 5, "traits": [ "SALAMANDER" ], "pets": [ { "name": "mon_salamander_tiny", "amount": 1 } ], @@ -601,7 +601,7 @@ "type": "profession", "id": "paraclesian_homullus", "name": { "male": "Dúln", "female": "Dúkka" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of humanity, your powers are strengthened when among humankind or in the remnants of civilization and weakened when in the wilderness.", "points": 5, "traits": [ "HOMULLUS", "HOMULLUS_MINIMIZED_MUTATIONS" ], "pets": [ { "name": "mon_zoomorphic_figure_small", "amount": 1 } ], @@ -627,7 +627,7 @@ "type": "profession", "id": "paraclesian_sylph", "name": { "male": "Silvestris", "female": "Silvestra" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the winds, your powers are strengthened under the open sky and weakened when indoors or underground.", "points": 5, "traits": [ "SYLPH" ], "pets": [ { "name": "mon_dragonfly_fae", "amount": 1 } ], From 4bc1e5cd84b16dc9ebc44c7f041d49a268090eee Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Thu, 23 May 2024 21:58:31 -0500 Subject: [PATCH 4/5] Spelling --- data/mods/Xedra_Evolved/player/professions.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/mods/Xedra_Evolved/player/professions.json b/data/mods/Xedra_Evolved/player/professions.json index f827a7693ab62..22883a856362f 100644 --- a/data/mods/Xedra_Evolved/player/professions.json +++ b/data/mods/Xedra_Evolved/player/professions.json @@ -575,7 +575,7 @@ "type": "profession", "id": "paraclesian_salamander", "name": { "male": "Kéményseprő", "female": "Bejárónő" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the flames, your powers are strengthened when among heat and fire and weakned by the cold.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the flames, your powers are strengthened when among heat and fire and weakened by the cold.", "points": 5, "traits": [ "SALAMANDER" ], "pets": [ { "name": "mon_salamander_tiny", "amount": 1 } ], @@ -627,7 +627,7 @@ "type": "profession", "id": "paraclesian_sylph", "name": { "male": "Silvestris", "female": "Silvestra" }, - "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the winds, your powers are strengthened under the open sky and weakened when indoors or underground.", + "description": "With the dimensional spillage that preceded the Cataclysm you are the spirit of a place that slowly gained sentience, a genius loci. As the world reshapes itself you have decided to wander from your birthplace and determine where you will end up.\n\nAs a spirit of the winds, your powers are strengthened when under the open sky and weakened when indoors or underground.", "points": 5, "traits": [ "SYLPH" ], "pets": [ { "name": "mon_dragonfly_fae", "amount": 1 } ], From 34e83845a4e2bb73978c361edc369fc8dbde17cf Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Fri, 24 May 2024 16:39:16 -0500 Subject: [PATCH 5/5] Homullus event checks for HOMULLUS --- .../paraclesians/paraclesian_magic_terrain_adjustments.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json index 87194d0037956..671d0f1a41157 100644 --- a/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json +++ b/data/mods/Xedra_Evolved/mutations/paraclesians/paraclesian_magic_terrain_adjustments.json @@ -231,7 +231,7 @@ { "not": { "u_near_om_location": "road", "range": 1 } } ] }, - { "u_has_trait": "ARVORE" } + { "u_has_trait": "HOMULLUS" } ] }, "effect": [ { "math": [ "u_spellcasting_adjustment('difficulty', 'school': 'HOMULLUS' )", "=", "3" ] } ]