-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78472 from Standing-Storm/animals-cant-do-that
[Magiclysm/Xedra Evolved] Animals can't do that
- Loading branch information
Showing
2 changed files
with
212 additions
and
0 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
data/mods/Magiclysm/effect_on_conditions/shapeshifting_restrictions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters