From 5609fd729fadfef9424a0db688f332cb01a83567 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:33:47 -0600 Subject: [PATCH 1/4] Magiclysm version --- .../shapeshifting_restrictions.json | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json diff --git a/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json b/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json new file mode 100644 index 0000000000000..9e8b13e36b9ab --- /dev/null +++ b/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json @@ -0,0 +1,106 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_MAGICLYSM_SHAPESHIFTED_ANIMALS_CANT_DO_THAT", + "eoc_type": "EVENT", + "required_event": "character_starts_activity", + "condition": { + "and": [ + { + "u_has_any_trait": [ + "DRUID_SHIFTER_BEAR_FORM_TRAITS", + "DRUID_SHIFTER_COUGAR_FORM_TRAITS", + "DRUID_SHIFTER_DEER_FORM_TRAITS", + "DRUID_SHIFTER_RAVEN_FORM_TRAITS" + ] + }, + { + "or": [ + { "compare_string": [ "ACT_LOCKPICK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REPAIR_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MEND_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_REPAIR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_RELOAD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIRSTAID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MILK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HACKSAW", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BOLTCUTTING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAIRCUT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_EBOOKSAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TIDY_UP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_DECONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_FOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_UNFOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_UNRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_RACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_DIS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CRAFT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_TREES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MINE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GENERIC_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISASSEMBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FARM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HARVEST", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIELD_DRESS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SKIN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_QUARTER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISSECT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_LONGSALVAGE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BUILD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKAXE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAND_CRANK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AUTODRIVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FERTILIZE_PLOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOVE_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_UNLOAD_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_INSERT_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_FIRE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OPEN_GATE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FILL_LIQUID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHEARING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HOTWIRE_CAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AIM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_ATM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_ENGINES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OXYTORCH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TOOLMOD_ADD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CLEAR_RUBBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WASH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PRYING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_LOGS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_JACKHAMMER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHURN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PLANT_SEED", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WEAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WIELD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BINDER_COPY_RECIPE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DATA_HANDLING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FURNITURE_MOVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_PLACE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_DECONSTRUCT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REEL_CABLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SALINE_INFUSE", { "context_val": "activity" } ] } + ] + } + ] + }, + "effect": [ + "u_cancel_activity", + { "u_message": "You can't perform that activity while in the form of an animal.", "type": "bad" } + ] + } +] From 76b08d4c73689d688b33f570d6294f445daf0c16 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:41:09 -0600 Subject: [PATCH 2/4] Xedra Evolved version --- .../Xedra_Evolved/eocs/shapeshifter_eocs.json | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) diff --git a/data/mods/Xedra_Evolved/eocs/shapeshifter_eocs.json b/data/mods/Xedra_Evolved/eocs/shapeshifter_eocs.json index eab055f2cdc4f..099ed6630a63c 100644 --- a/data/mods/Xedra_Evolved/eocs/shapeshifter_eocs.json +++ b/data/mods/Xedra_Evolved/eocs/shapeshifter_eocs.json @@ -1,4 +1,110 @@ [ + { + "type": "effect_on_condition", + "id": "EOC_XE_SHAPESHIFTED_ANIMALS_CANT_DO_THAT", + "eoc_type": "EVENT", + "required_event": "character_starts_activity", + "condition": { + "and": [ + { + "u_has_any_trait": [ + "VAMPIRE_WOLF_FORM_TRAITS", + "TURN_INTO_BEAR_TRAITS", + "TURN_INTO_DEER_TRAITS", + "TURN_INTO_COUGAR_TRAITS", + "TURN_INTO_OWL_TRAITS", + "TURN_INTO_RAVEN_TRAITS" + ] + }, + { + "or": [ + { "compare_string": [ "ACT_LOCKPICK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REPAIR_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MEND_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_REPAIR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_RELOAD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIRSTAID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MILK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HACKSAW", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BOLTCUTTING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAIRCUT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_EBOOKSAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TIDY_UP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_DECONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_FOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_UNFOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_UNRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_RACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_DIS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CRAFT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_TREES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MINE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GENERIC_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISASSEMBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FARM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HARVEST", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIELD_DRESS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SKIN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_QUARTER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISSECT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_LONGSALVAGE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BUILD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKAXE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAND_CRANK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AUTODRIVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FERTILIZE_PLOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOVE_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_UNLOAD_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_INSERT_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_FIRE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OPEN_GATE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FILL_LIQUID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHEARING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HOTWIRE_CAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AIM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_ATM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_ENGINES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OXYTORCH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TOOLMOD_ADD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CLEAR_RUBBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WASH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PRYING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_LOGS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_JACKHAMMER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHURN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PLANT_SEED", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WEAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WIELD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BINDER_COPY_RECIPE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DATA_HANDLING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FURNITURE_MOVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_PLACE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_DECONSTRUCT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REEL_CABLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SALINE_INFUSE", { "context_val": "activity" } ] } + ] + } + ] + }, + "effect": [ + "u_cancel_activity", + { "u_message": "You can't perform that activity while in the form of an animal.", "type": "bad" } + ] + }, { "type": "effect_on_condition", "id": "EOC_WEREWOLF_WOLF_FORM_activated", From 29bc831edbc81b0eb19e528c82855418e5eed152 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: Tue, 10 Dec 2024 20:09:53 -0600 Subject: [PATCH 3/4] Lint --- .../shapeshifting_restrictions.json | 212 +++++++++--------- 1 file changed, 106 insertions(+), 106 deletions(-) diff --git a/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json b/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json index 9e8b13e36b9ab..e6019db3a0d2e 100644 --- a/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json +++ b/data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json @@ -1,106 +1,106 @@ -[ - { - "type": "effect_on_condition", - "id": "EOC_MAGICLYSM_SHAPESHIFTED_ANIMALS_CANT_DO_THAT", - "eoc_type": "EVENT", - "required_event": "character_starts_activity", - "condition": { - "and": [ - { - "u_has_any_trait": [ - "DRUID_SHIFTER_BEAR_FORM_TRAITS", - "DRUID_SHIFTER_COUGAR_FORM_TRAITS", - "DRUID_SHIFTER_DEER_FORM_TRAITS", - "DRUID_SHIFTER_RAVEN_FORM_TRAITS" - ] - }, - { - "or": [ - { "compare_string": [ "ACT_LOCKPICK", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_REPAIR_ITEM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MEND_ITEM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_VEHICLE_REPAIR", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_RELOAD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FIRSTAID", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MILK", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_HACKSAW", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_BOLTCUTTING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_HAIRCUT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_SHAVE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_CRACKING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_READ", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_EBOOKSAVE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_TIDY_UP", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MOP", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_VEHICLE_DECONSTRUCTION", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_VEHICLE_FOLD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_VEHICLE_UNFOLD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_BIKERACK_UNRACKING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_BIKERACK_RACKING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_DIS", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_FISH", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_CRAFT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_CHOP_PLANKS", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_CHOP_TREES", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_MINE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_CONSTRUCTION", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_MOP", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_READ", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FISH", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_GENERIC_GAME", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_GAME", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_DISASSEMBLE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MULTIPLE_FARM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_HARVEST", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FIELD_DRESS", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_SKIN", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_QUARTER", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_DISSECT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_LONGSALVAGE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_BUILD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_PICKAXE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_HAND_CRANK", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_AUTODRIVE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FERTILIZE_PLOT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_MOVE_LOOT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_UNLOAD_LOOT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_INSERT_ITEM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_START_FIRE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_OPEN_GATE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FILL_LIQUID", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_SHEARING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_HOTWIRE_CAR", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_AIM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_ATM", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_START_ENGINES", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_OXYTORCH", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_TOOLMOD_ADD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_CLEAR_RUBBLE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_WASH", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_PRYING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_CHOP_LOGS", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_CHOP_PLANKS", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_JACKHAMMER", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_CHURN", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_PLANT_SEED", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_WEAR", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_WIELD", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_BINDER_COPY_RECIPE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_DATA_HANDLING", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_FURNITURE_MOVE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_TENT_PLACE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_TENT_DECONSTRUCT", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_REEL_CABLE", { "context_val": "activity" } ] }, - { "compare_string": [ "ACT_SALINE_INFUSE", { "context_val": "activity" } ] } - ] - } - ] - }, - "effect": [ - "u_cancel_activity", - { "u_message": "You can't perform that activity while in the form of an animal.", "type": "bad" } - ] - } -] +[ + { + "type": "effect_on_condition", + "id": "EOC_MAGICLYSM_SHAPESHIFTED_ANIMALS_CANT_DO_THAT", + "eoc_type": "EVENT", + "required_event": "character_starts_activity", + "condition": { + "and": [ + { + "u_has_any_trait": [ + "DRUID_SHIFTER_BEAR_FORM_TRAITS", + "DRUID_SHIFTER_COUGAR_FORM_TRAITS", + "DRUID_SHIFTER_DEER_FORM_TRAITS", + "DRUID_SHIFTER_RAVEN_FORM_TRAITS" + ] + }, + { + "or": [ + { "compare_string": [ "ACT_LOCKPICK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REPAIR_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MEND_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_REPAIR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_RELOAD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIRSTAID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MILK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HACKSAW", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BOLTCUTTING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAIRCUT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_EBOOKSAVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TIDY_UP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_DECONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_FOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_VEHICLE_UNFOLD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_UNRACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BIKERACK_RACKING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_DIS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CRAFT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CHOP_TREES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MINE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_CONSTRUCTION", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_MOP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_READ", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FISH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GENERIC_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_GAME", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISASSEMBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MULTIPLE_FARM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HARVEST", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FIELD_DRESS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SKIN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_QUARTER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DISSECT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_LONGSALVAGE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BUILD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKAXE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HAND_CRANK", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AUTODRIVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FERTILIZE_PLOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_MOVE_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_UNLOAD_LOOT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_INSERT_ITEM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_FIRE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OPEN_GATE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FILL_LIQUID", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SHEARING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_HOTWIRE_CAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_AIM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_ATM", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_START_ENGINES", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_OXYTORCH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TOOLMOD_ADD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CLEAR_RUBBLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WASH", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PRYING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_LOGS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHOP_PLANKS", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_JACKHAMMER", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_CHURN", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PLANT_SEED", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WEAR", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_PICKUP", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_WIELD", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_BINDER_COPY_RECIPE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_DATA_HANDLING", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_FURNITURE_MOVE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_PLACE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_TENT_DECONSTRUCT", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_REEL_CABLE", { "context_val": "activity" } ] }, + { "compare_string": [ "ACT_SALINE_INFUSE", { "context_val": "activity" } ] } + ] + } + ] + }, + "effect": [ + "u_cancel_activity", + { "u_message": "You can't perform that activity while in the form of an animal.", "type": "bad" } + ] + } +] From d1ee9f42a2c8b5695ae31313168bc76e70629f52 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: Tue, 10 Dec 2024 21:54:08 -0600 Subject: [PATCH 4/4] Kick tests