-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make existing math comparative operators single string #77808
Make existing math comparative operators single string #77808
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
[JSON & C++ formatters](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/doc/DEVELOPER_TOOLING.md)
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/isherwood_farm/NPC_Luke_Isherwood.json
Lines 111 to 114 in 607be13
"and": [ | |
{ "not": { "u_has_mission": "MISSION_LUKE_RETRIEVE_TRUCK" } }, | |
{ "math": [ "isherwood_luke_truck_status < 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/isolated_road/isolated_road_cody_fabricate.json
Lines 126 to 128 in 607be13
"condition": { | |
"math": [ "time_since(u_timer_artisans_u_waiting_on_armor, 'unit':'days') >= u_number_artisans_blacksmith_wait*7" ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/other/meteorologist.json
Lines 88 to 91 in 607be13
"trial": { | |
"type": "CONDITION", | |
"condition": { "math": [ "time_since(n_time_mission_meteorologist_wait) >= time('2 d')" ] } | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/robofac/NPC_Cranberry_Foster.json
Lines 260 to 264 in 607be13
"or": [ | |
{ "u_has_perception": 10 }, | |
{ "math": [ "u_skill('mechanics') >= 4" ] }, | |
{ "math": [ "u_skill('gun') >= 2" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/robofac/robofac_intercom/robofac_intercom.json
Lines 35 to 37 in 607be13
"condition": { | |
"or": [ { "math": [ "u_hub01_good_candidate == 1" ] }, { "math": [ "u_hub01_completed_missions >= 2" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/npcs/robofac/robofac_intercom/robofac_intercom_prototypes.json
Lines 81 to 84 in 607be13
"and": [ | |
{ "math": [ "hub01_uhmwpe_researched != 1" ] }, | |
{ "math": [ "has_var(u_dialogue_hub_rnd_u_gave_armor_disk)" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/body_temp.json
Lines 69 to 71 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') <= 4500" ] }, { "math": [ "u_val('body_temp_delta') > 3000" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/body_temp.json
Lines 78 to 80 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') <= 3000" ] }, { "math": [ "u_val('body_temp_delta') > 1500" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/body_temp.json
Lines 87 to 89 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') < -1500" ] }, { "math": [ "u_val('body_temp_delta') >= -3000" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/body_temp.json
Lines 96 to 98 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') < -3000" ] }, { "math": [ "u_val('body_temp_delta') >= -4500" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 50 to 53 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 108 to 111 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 166 to 169 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 224 to 227 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 282 to 285 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_color_text.json
Lines 340 to 343 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/bodypart_status.json
Lines 49 to 52 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 549 to 552 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1312 to 1335 in 607be13
{ | |
"id": "40%", | |
"color": "h_yellow", | |
"sym": "2", | |
"condition": { "math": [ "u_val('power_percentage') > 39" ] } | |
}, | |
{ | |
"id": "60%", | |
"color": "h_yellow", | |
"sym": "3", | |
"condition": { "math": [ "u_val('power_percentage') > 59" ] } | |
}, | |
{ | |
"id": "80%", | |
"color": "h_yellow", | |
"sym": "4", | |
"condition": { "math": [ "u_val('power_percentage') > 79" ] } | |
}, | |
{ | |
"id": "99%", | |
"color": "h_yellow", | |
"sym": "5", | |
"condition": { "math": [ "u_val('power_percentage') > 99" ] } | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1501 to 1503 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -60" ] }, { "math": [ "u_val('instant_thirst') < -20" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1509 to 1511 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -20" ] }, { "math": [ "u_val('instant_thirst') < 0" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1517 to 1519 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= 0" ] }, { "math": [ "u_val('instant_thirst') <= 40" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1525 to 1527 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 40" ] }, { "math": [ "u_val('instant_thirst') <= 80" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1533 to 1535 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 80" ] }, { "math": [ "u_val('instant_thirst') <= 240" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1541 to 1543 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 240" ] }, { "math": [ "u_val('instant_thirst') <= 450" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1549 to 1551 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 450" ] }, { "math": [ "u_val('instant_thirst') <= 520" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1612 to 1617 in 607be13
{ | |
"id": "m_o", | |
"sym": "ₒ", | |
"color": "c_white", | |
"condition": { "math": [ "u_val('bmi_permil') > 20000" ] } | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1627 to 1638 in 607be13
{ | |
"id": "sk", | |
"sym": "ₗ", | |
"color": "c_yellow", | |
"condition": { "math": [ "u_val('bmi_permil') <= 1000" ] } | |
}, | |
{ | |
"id": "sk", | |
"sym": " ", | |
"color": "c_brown", | |
"condition": { "math": [ "u_val('bmi_permil') <= 1000" ] } | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/sidebar-mobile.json
Lines 1747 to 1764 in 607be13
{ | |
"id": "m_o", | |
"sym": " ", | |
"color": "c_brown", | |
"condition": { "math": [ "u_val('bmi_permil') > 20000" ] } | |
}, | |
{ | |
"id": "m_o", | |
"sym": "ₕ", | |
"color": "c_red", | |
"condition": { "math": [ "u_val('bmi_permil') > 20000" ] } | |
}, | |
{ | |
"id": "m_o", | |
"sym": " ⎺", | |
"color": "c_brown", | |
"condition": { "math": [ "u_val('bmi_permil') > 20000" ] } | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 19 to 21 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 240" ] }, { "math": [ "u_val('instant_thirst') <= 520" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 27 to 29 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 80" ] }, { "math": [ "u_val('instant_thirst') <= 240" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 35 to 37 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 40" ] }, { "math": [ "u_val('instant_thirst') <= 80" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 43 to 45 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= 0" ] }, { "math": [ "u_val('instant_thirst') <= 40" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 51 to 53 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -20" ] }, { "math": [ "u_val('instant_thirst') < 0" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/thirst.json
Lines 59 to 61 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -60" ] }, { "math": [ "u_val('instant_thirst') < -20" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 26 to 28 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 240" ] }, { "math": [ "u_val('instant_thirst') <= 520" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 34 to 36 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 80" ] }, { "math": [ "u_val('instant_thirst') <= 240" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 42 to 44 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') > 40" ] }, { "math": [ "u_val('instant_thirst') <= 80" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 50 to 52 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= 0" ] }, { "math": [ "u_val('instant_thirst') <= 40" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 58 to 60 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -20" ] }, { "math": [ "u_val('instant_thirst') < 0" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/ui/zenfs/thirst.json
Lines 66 to 68 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('instant_thirst') >= -60" ] }, { "math": [ "u_val('instant_thirst') < -20" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/weather_type.json
Lines 18 to 20 in 607be13
"condition": { | |
"and": [ "is_day", { "math": [ "weather('pressure') >= 1020" ] }, { "math": [ "weather('humidity') < 70" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/weather_type.json
Lines 128 to 131 in 607be13
"and": [ | |
{ "math": [ "weather('temperature') >= from_fahrenheit( 33 )" ] }, | |
{ "math": [ "weather('windpower') >= 15" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/weather_type.json
Lines 243 to 246 in 607be13
"and": [ | |
{ "math": [ "weather('temperature') < from_fahrenheit( 33 )" ] }, | |
{ "math": [ "weather('windpower') >= 15" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/json/weather_type.json
Lines 436 to 438 in 607be13
{ | |
"math": [ "distance(_weather_location, portal_storm_center) <= value_or(portal_storm_distance, 50)" ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_eoc.json
Lines 60 to 62 in 607be13
"condition": { | |
"and": [ { "math": [ "u_vitamin('vitamin_afs_maintained_powers') > 0" ] }, { "math": [ "u_val('focus') >= 15" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 30 to 33 in 607be13
"and": [ | |
{ "u_has_trait": "AFS_ELECTROKINETIC" }, | |
{ "math": [ "u_spell_level('afs_electrokinetic_see_electric') >= 0" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 41 to 44 in 607be13
"and": [ | |
{ "u_has_trait": "AFS_ELECTROKINETIC" }, | |
{ "math": [ "u_spell_level('afs_electrokinetic_shock_touch') >= 0" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 52 to 55 in 607be13
"and": [ | |
{ "u_has_trait": "AFS_ELECTROKINETIC" }, | |
{ "math": [ "u_spell_level('afs_electrokinetic_zap_enemies') >= 0" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 74 to 77 in 607be13
"and": [ | |
{ "u_has_trait": "AFS_ELECTROKINETIC" }, | |
{ "math": [ "u_spell_level('afs_electrokinetic_personal_battery') >= 0" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 85 to 88 in 607be13
"and": [ | |
{ "u_has_trait": "AFS_ELECTROKINETIC" }, | |
{ "math": [ "u_spell_level('afs_electrokinetic_recharge_vehicle') >= 0" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 124 to 126 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "AFS_TELEPATH" }, { "math": [ "u_spell_level('afs_telepathic_mind_sense') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Aftershock/EOC/esper_recipe_learning_eoc.json
Lines 132 to 134 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "AFS_TELEPATH" }, { "math": [ "u_spell_level('afs_telepathic_suggestion') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkdata/forge_blood.json
Lines 18 to 20 in 607be13
"condition": { | |
"and": [ { "math": [ "u_vitamin('blood') >= -15000" ] }, { "math": [ "u_vitamin('redcells') >= -15000" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkdata/undying_loyalty.json
Lines 14 to 17 in 607be13
"or": [ | |
{ "math": [ "u_hp('head') / u_hp_max('head') <= 0.5" ] }, | |
{ "math": [ "u_hp('torso') / u_hp_max('torso') <= 0.5" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkmenu.json
Lines 437 to 439 in 607be13
{ | |
"and": [ { "math": [ "u_skill('unarmed') >= 2" ] }, { "math": [ "u_skill('cutting') >= 1" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkmenu.json
Lines 471 to 473 in 607be13
{ | |
"and": [ { "math": [ "u_skill('unarmed') >= 2" ] }, { "math": [ "u_skill('bashing') >= 1" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkmenu.json
Lines 505 to 507 in 607be13
{ | |
"and": [ { "math": [ "u_skill('unarmed') >= 2" ] }, { "math": [ "u_skill('stabbing') >= 1" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/BombasticPerks/perkmenu.json
Lines 563 to 565 in 607be13
{ | |
"or": [ { "math": [ "u_skill('melee') >= 2" ] }, { "math": [ "u_skill('gun') >= 2" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Isolation-Protocol/ui.json
Lines 67 to 69 in 607be13
"condition": { | |
"and": [ { "math": [ "u_ISO_CURRENT_LEVEL_DANGER >= 15" ] }, { "math": [ "u_ISO_CURRENT_LEVEL_DANGER < 20" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Isolation-Protocol/ui.json
Lines 75 to 77 in 607be13
"condition": { | |
"and": [ { "math": [ "u_ISO_CURRENT_LEVEL_DANGER >= 20" ] }, { "math": [ "u_ISO_CURRENT_LEVEL_DANGER < 25" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Limb_WIP/mutation_eocs/limb_changing_eocs.json
Lines 168 to 170 in 607be13
{ | |
"or": [ { "math": [ "u_vitamin('mutagen_bird') >= 200" ] }, { "math": [ "u_vitamin('mutagen_raptor') >= 200" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Magiclysm/items/enchanted_rings.json
Lines 568 to 571 in 607be13
{ | |
"if": { "math": [ "u_calories() <= 118000" ] }, | |
"then": { "math": [ "u_calories()", "+=", "7" ] } | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 286 to 288 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_see_electric') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 294 to 296 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_shock_touch') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 302 to 304 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_zap_enemies') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 310 to 312 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_melee_attacks') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 342 to 344 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_paralysis') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 350 to 352 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_reduce_pain') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 374 to 376 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_pain_immune') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 382 to 384 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_speed_boost') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 390 to 392 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_kill_robot') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 460 to 462 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_create_light') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 492 to 494 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_rad_immunity') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 530 to 532 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_invisibility') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 544 to 546 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_blinding_glare') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 652 to 654 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_flame_immunity') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Lines 862 to 864 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_animal_mind_control') >= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Lines 1681 to 1683 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level_sum('school': 'TELEPATH') >= 50" ] }, { "u_has_trait": "STRICT_HUMANITARIAN" } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Lines 1752 to 1754 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level_sum('school': 'TELEPATH') >= 70" ] }, { "not": { "u_has_trait": "SAVANT" } } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Lines 2095 to 2097 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level_sum('school': 'TELEPATH') >= 110" ] }, { "u_has_trait": "SEASONAL_AFFECTIVE" } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Lines 2149 to 2151 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level_sum('school': 'TELEPATH') >= 80" ] }, { "not": { "u_has_trait": "STYLISH" } } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_on_power_use_events.json
Lines 669 to 671 in 607be13
"condition": { | |
"and": [ { "math": [ "u_vitamin('vitamin_maintained_powers') > 0" ] }, { "math": [ "u_val('focus') >= 15" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_on_power_use_events.json
Lines 677 to 679 in 607be13
"condition": { | |
"and": [ { "math": [ "u_vitamin('vitamin_maintained_powers') > 0" ] }, { "math": [ "u_val('focus') >= 20" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/effectoncondition/eoc_on_power_use_events.json
Lines 701 to 704 in 607be13
"and": [ | |
{ "test_eoc": "EOC_CONDITION_SPELLCASTING_FINISH_TRAIT_AND_SCHOOL_LIST" }, | |
{ "math": [ "u_val('focus') >= 15" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/mod_interactions/bombastic_perks/perkdata/burning_bright.json
Lines 20 to 22 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "perk_burning_bright" }, { "math": [ "u_vitamin('vitamin_maintained_powers') == 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Lines 10 to 12 in 607be13
{ | |
"or": [ { "math": [ "u_pain() == 0" ] }, { "math": [ "u_vitamin('vitamin_maintained_powers') == 0" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/mod_interactions/bombastic_perks/perkdata/phoenix_rising.json
Lines 7 to 9 in 607be13
"condition": { | |
"and": [ { "u_has_trait": "perk_phoenix_rising" }, { "math": [ "u_vitamin('vitamin_psionic_drain') >= 155" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/npcs/dialogue/generic_dialogue.json
Lines 114 to 117 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('telepathic_morale') >= 1" ] }, | |
{ "not": { "npc_has_trait": "NPC_TELEPATHY_IMMUNE" } } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/npcs/dialogue/generic_dialogue.json
Lines 187 to 190 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('telepathic_morale') >= 1" ] }, | |
{ "not": { "npc_has_trait": "NPC_TELEPATHY_IMMUNE" } } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/npcs/dialogue/generic_dialogue.json
Lines 212 to 215 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('telepathic_morale') >= 1" ] }, | |
{ "not": { "npc_has_trait": "NPC_TELEPATHY_IMMUNE" } } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 29 to 31 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_breathe_skin') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 63 to 65 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_flexibility') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 159 to 161 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_armor_skin') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 203 to 205 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_climate_control') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 232 to 235 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('biokin_dash') >= 8" ] }, | |
{ "math": [ "u_spell_level('biokin_enhance_mobility') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 247 to 249 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_adrenaline') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 337 to 339 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_hammerhand') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 368 to 371 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('biokin_dash') >= 8" ] }, | |
{ "math": [ "u_spell_level('biokin_flexibility') >= 8" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 382 to 384 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_reflex_enhance') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 431 to 433 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_sealed_system') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 506 to 509 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('biokin_dash') >= 6" ] }, | |
{ "math": [ "u_spell_level('biokin_adrenaline') >= 9" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 520 to 522 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_combat_dance') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 547 to 550 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('biokin_combat_dance') >= 6" ] }, | |
{ "math": [ "u_spell_level('biokin_dash') >= 12" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Lines 603 to 605 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "BIOKINETIC" } }, { "math": [ "u_spell_level('biokin_hurricane_blows') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 19 to 21 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_danger_sense') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 58 to 60 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_spot_weakness') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 97 to 99 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_see_auras') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 218 to 220 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_dodge_power') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 258 to 260 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_craft_bonus') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 292 to 294 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_perfect_shot') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 322 to 325 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('clair_danger_sense') >= 6" ] }, | |
{ "math": [ "u_spell_level('clair_aura_sight') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 379 to 381 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_clear_sight') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 408 to 411 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('clair_clear_sight') >= 6" ] }, | |
{ "math": [ "u_spell_level('clair_voyance') >= 9" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 414 to 417 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('clair_see_map') >= 8" ] }, | |
{ "math": [ "u_spell_level('clair_voyance') >= 9" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 468 to 470 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_group_tactics') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 498 to 501 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('clair_see_map') >= 8" ] }, | |
{ "math": [ "u_spell_level('clair_voyance') >= 14" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json
Lines 512 to 514 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_omniscience') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 25 to 28 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_zap_enemies') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 67 to 70 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_melee_attacks') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 156 to 159 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_paralysis') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 203 to 206 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_reduce_pain') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 377 to 380 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_pain_immune') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 429 to 432 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_speed_boost') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
Lines 520 to 523 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "ELECTROKINETIC" } }, | |
{ "math": [ "u_spell_level('electrokinetic_kill_robot') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json
Lines 20 to 23 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "PHOTOKINETIC" } }, | |
{ "math": [ "u_spell_level('photokinetic_light_up_enemy') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json
Lines 218 to 221 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "PHOTOKINETIC" } }, | |
{ "math": [ "u_spell_level('photokinetic_rad_immunity') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json
Lines 387 to 389 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_radio') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json
Lines 481 to 484 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "PHOTOKINETIC" } }, | |
{ "math": [ "u_spell_level('photokinetic_invisibility') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json
Lines 572 to 575 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "PHOTOKINETIC" } }, | |
{ "math": [ "u_spell_level('photokinetic_blinding_glare') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 34 to 36 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_cauterize') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 141 to 143 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_cloak') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 224 to 226 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_lance') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 313 to 315 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_aura') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 342 to 345 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('pyrokinetic_cloak') >= 10" ] }, | |
{ "math": [ "u_spell_level('pyrokinetic_aura') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 358 to 361 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "PYROKINETIC" } }, | |
{ "math": [ "u_spell_level('pyrokinetic_flame_immunity') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 409 to 411 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_blast') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/pyrokinesis.json
Lines 458 to 460 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "PYROKINETIC" } }, { "math": [ "u_spell_level('pyrokinetic_aoe_blast') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 19 to 21 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_noise') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 43 to 46 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telekinetic_push') >= 4" ] }, | |
{ "math": [ "u_spell_level('telekinetic_noise') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 55 to 57 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_slam_down') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 82 to 85 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('telekinetic_push') >= 5" ] }, | |
{ "math": [ "u_spell_level('telekinetic_pull') >= 5" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 94 to 96 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_momentum') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 128 to 130 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_slowfall') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 167 to 169 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_wave') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 240 to 243 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telekinetic_pull') >= 6" ] }, | |
{ "math": [ "u_spell_level('telekinetic_push') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 255 to 257 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_strength') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 284 to 287 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telekinetic_wave') >= 4" ] }, | |
{ "math": [ "u_spell_level('telekinetic_push') >= 8" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 299 to 301 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_hammer') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 383 to 385 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_shield') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 418 to 421 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telekinetic_push') >= 10" ] }, | |
{ "math": [ "u_spell_level('telekinetic_pull') >= 10" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 432 to 434 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_explosion') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 505 to 508 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telekinetic_push') >= 15" ] }, | |
{ "math": [ "u_spell_level('telekinetic_pull') >= 15" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 526 to 529 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "TELEKINETIC" } }, | |
{ "math": [ "u_spell_level('telekinetic_move_large_weight') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json
Lines 578 to 580 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_aegis') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 56 to 58 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_mesmerize') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 165 to 168 in 607be13
"or": [ | |
{ "not": { "u_has_trait": "TELEPATH" } }, | |
{ "math": [ "u_spell_level('telepathic_animal_mind_control') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 196 to 199 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telepathic_blast') >= 6" ] }, | |
{ "math": [ "u_spell_level('telepathic_morale') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 211 to 213 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_confusion') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 238 to 241 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('telepathic_blast') >= 8" ] }, | |
{ "math": [ "u_spell_level('telepathic_morale') >= 8" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 293 to 295 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_invisibility') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 322 to 325 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('telepathic_blast') >= 11" ] }, | |
{ "math": [ "u_spell_level('telepathic_fear') >= 7" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 337 to 339 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_blast_radius') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 371 to 373 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_beast_taming') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/telepathy.json
Lines 421 to 423 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPATH" } }, { "math": [ "u_spell_level('telepathic_mind_control') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 49 to 52 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('teleport_phase') >= 10" ] }, | |
{ "math": [ "u_spell_level('teleport_stride') >= 5" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 88 to 91 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('teleport_phase') >= 4" ] }, | |
{ "math": [ "u_spell_level('teleport_slow') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 137 to 139 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_transpose') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 164 to 167 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('teleport_phase') >= 5" ] }, | |
{ "math": [ "u_spell_level('teleport_slow') >= 10" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 176 to 178 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_displacement') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 205 to 208 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('teleport_slow') >= 10" ] }, | |
{ "math": [ "u_spell_level('teleport_transpose') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 220 to 222 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_collapse') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 249 to 252 in 607be13
"or": [ | |
{ "math": [ "u_spell_level('teleport_stride') >= 8" ] }, | |
{ "math": [ "u_spell_level('teleport_collapse') >= 6" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 332 to 335 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('teleport_stride') >= 10" ] }, | |
{ "math": [ "u_spell_level('teleport_farstep') >= 10" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 411 to 414 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('teleport_summon') >= 10" ] }, | |
{ "math": [ "u_spell_level('teleport_gateway') >= 10" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json
Lines 423 to 425 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_reality_tear') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 53 to 55 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_stop_bleeding') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 168 to 170 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_remove_poison') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 202 to 204 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_cure_disease') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 229 to 232 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('vita_health_power') >= 8" ] }, | |
{ "math": [ "u_spell_level('vita_cure_disease') >= 4" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 241 to 243 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_sleeping_trance') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 275 to 277 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_stop_infection') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 314 to 316 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_healing_trance') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 348 to 350 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_attack_touch') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 392 to 394 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_blood_purge') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json
Lines 436 to 438 in 607be13
"deactivate_condition": { | |
"or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_banish_illness') >= 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/vitakinesis_eoc.json
Lines 1079 to 1082 in 607be13
{ | |
"if": { "math": [ "u_vitamin('redcells') < 0" ] }, | |
"then": { "math": [ "u_vitamin('redcells')", "+=", "150" ] } | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/MindOverMatter/powers/vitakinesis_eoc.json
Lines 1091 to 1094 in 607be13
{ | |
"if": { "math": [ "u_vitamin('blood') < 0" ] }, | |
"then": { "math": [ "u_vitamin('blood')", "+=", "150" ] } | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Sky_Island/dialog_statue.json
Lines 396 to 398 in 607be13
"condition": { | |
"and": [ { "not": { "u_has_mission": "SKYISLAND_UPGRADE_slaughter" } }, { "math": [ "slaughterunlocked == 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Sky_Island/dialog_statue.json
Lines 422 to 424 in 607be13
"condition": { | |
"and": [ { "not": { "u_has_mission": "SKYISLAND_UPGRADE_bonusmissions1" } }, { "math": [ "bonusmissions == 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Sky_Island/dialog_statue.json
Lines 430 to 432 in 607be13
"condition": { | |
"and": [ { "not": { "u_has_mission": "SKYISLAND_UPGRADE_bonusmissions2" } }, { "math": [ "bonusmissions == 1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Sky_Island/dialog_statue.json
Lines 482 to 484 in 607be13
"condition": { | |
"and": [ { "not": { "u_has_mission": "SKYISLAND_BUILD_base1" } }, { "math": [ "skyisland_build_base == 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Sky_Island/obelisk_selector.json
Lines 179 to 181 in 607be13
"condition": { | |
"and": [ { "math": [ "labsunlocked == 1" ] }, { "u_has_items": { "item": "warp_labs_catalyst", "count": 1 } } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 121 to 124 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 269 to 274 in 607be13
{ | |
"id": "turgid", | |
"text": "Turgid", | |
"color": "green", | |
"condition": { "math": [ "u_val('thirst') < -60" ] } | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 522 to 524 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') <= 4500" ] }, { "math": [ "u_val('body_temp_delta') > 3000" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 531 to 533 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') <= 3000" ] }, { "math": [ "u_val('body_temp_delta') > 1500" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 540 to 542 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') < -1500" ] }, { "math": [ "u_val('body_temp_delta') >= -3000" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 549 to 551 in 607be13
"condition": { | |
"and": [ { "math": [ "u_val('body_temp_delta') < -3000" ] }, { "math": [ "u_val('body_temp_delta') >= -4500" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/TEST_DATA/widgets.json
Lines 1334 to 1337 in 607be13
"and": [ | |
{ "u_has_effect": "bleed", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('bleed', 'bodypart': _widget) < 11" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/effects/vampvirus.json
Lines 181 to 184 in 607be13
"and": [ | |
{ "u_has_effect": "vampire_virus", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('vampire_virus') == 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/effects/vampvirus.json
Lines 228 to 231 in 607be13
"and": [ | |
{ "u_has_effect": "vampire_virus", "intensity": 2 }, | |
{ "math": [ "u_effect_intensity('vampire_virus') == 2" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/effects/vampvirus.json
Lines 272 to 275 in 607be13
"and": [ | |
{ "u_has_effect": "vampire_virus", "intensity": 3 }, | |
{ "math": [ "u_effect_intensity('vampire_virus') == 3" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/effects/vampvirus.json
Lines 385 to 388 in 607be13
"and": [ | |
{ "u_has_effect": "vampire_virus", "intensity": 1 }, | |
{ "math": [ "u_effect_intensity('vampire_virus') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/give_a_class_eoc.json
Lines 56 to 58 in 607be13
"deactivate_condition": { | |
"and": [ { "math": [ "eater_dreamer_sequence < -1" ] }, { "math": [ "inventor_dreamsmith_sequence < -1" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/give_a_class_eoc.json
Lines 62 to 64 in 607be13
{ | |
"or": [ { "math": [ "eater_dreamer_sequence > 0" ] }, { "math": [ "inventor_dreamsmith_sequence > 0" ] } ] | |
} |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/magic_potential_eoc.json
Lines 38 to 40 in 607be13
"if": { | |
"and": [ { "math": [ "u_counter_portal_storm_counter > 0" ] }, { "math": [ "magic_potential_from_ps == 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/magic_weather_control.json
Lines 78 to 80 in 607be13
"condition": { | |
"and": [ { "math": [ "magic_weather_light_drizzle == 1" ] }, { "math": [ "u_weather_change_limit >= 2" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/magic_weather_control.json
Lines 326 to 328 in 607be13
"condition": { | |
"and": [ { "math": [ "magic_weather_light_drizzle == 1" ] }, { "math": [ "u_weather_change_limit <= 0" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/eocs/playable_changeling_advancement_eocs.json
Lines 96 to 99 in 607be13
"and": [ | |
{ "u_has_trait": "UNKNOWING_CHANGELING_NOBLE" }, | |
{ "math": [ "u_changeling_advancement_dreams_counter >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/mutations.json
Lines 517 to 520 in 607be13
"and": [ | |
{ "math": [ "u_vitamin('human_blood_vitamin') > 0" ] }, | |
{ "math": [ "u_vitamin('human_blood_vitamin') < 1800" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Lines 385 to 387 in 607be13
"condition": { | |
"and": [ { "math": [ "time_since(u_timer_undine_last_in_water) >= time('6 h')" ] }, { "u_has_trait": "UNDINE" } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/sylph_eocs.json
Lines 163 to 166 in 607be13
"and": [ | |
"u_is_outside", | |
{ "or": [ { "math": [ "u_val('pos_z') >= 3" ] }, { "math": [ "weather('windpower') >= 20" ] } ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/sylph_spell_learning_eocs.json
Lines 131 to 134 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('ominous_wind') >= 0" ] }, | |
{ "math": [ "u_spell_level('ominous_wind') < 20" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/sylph_spell_learning_eocs.json
Lines 257 to 260 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('summon_air_sprite') >= 0" ] }, | |
{ "math": [ "u_spell_level('summon_air_sprite') < 35" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 86 to 89 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('create_fog') >= 0" ] }, | |
{ "math": [ "u_spell_level('create_fog') < dex_to_level(1)" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 104 to 107 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('grant_buoyancy') >= 0" ] }, | |
{ "math": [ "u_spell_level('grant_buoyancy') < 20" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 157 to 159 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level('wave_rider') >= 0" ] }, { "math": [ "u_spell_level('wave_rider') < 20" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 173 to 176 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('water_pocket') >= 0" ] }, | |
{ "math": [ "u_spell_level('water_pocket') < 20" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 190 to 192 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level('summon_fish') >= 0" ] }, { "math": [ "u_spell_level('summon_fish') < 35" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 205 to 207 in 607be13
"condition": { | |
"and": [ { "math": [ "u_spell_level('charm_fish') >= 0" ] }, { "math": [ "u_spell_level('charm_fish') < 35" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/paraclesians/undine_spell_learning_eocs.json
Lines 221 to 224 in 607be13
"and": [ | |
{ "math": [ "u_spell_level('summon_kraken') >= 0" ] }, | |
{ "math": [ "u_spell_level('summon_kraken') < 35" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json
Lines 1592 to 1595 in 607be13
"and": [ | |
{ "math": [ "u_weather_change_limit <= 2" ] }, | |
{ "not": { "u_has_effect": "effect_controlling_weather_rains" } } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json
Lines 1645 to 1648 in 607be13
"and": [ | |
{ "math": [ "u_weather_change_limit <= 3" ] }, | |
{ "not": { "u_has_effect": "effect_controlling_weather_rainstorm" } } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/hedge_magic_eocs.json
Lines 230 to 232 in 607be13
"condition": { | |
"and": [ { "u_has_effect": "effect_hedge_increase_healing_rate" }, { "math": [ "u_val('activity_level') >= 3" ] } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/hedge_magic_eocs.json
Lines 319 to 321 in 607be13
"if": { | |
"and": [ { "math": [ "u_val('intelligence') >= 4" ] }, { "u_has_effect": "effect_skinchanged_animalistic_mind" } ] | |
}, |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/lilin_spell_eocs.json
Lines 142 to 145 in 607be13
"and": [ | |
{ "math": [ "rand(1) == 1" ] }, | |
{ "math": [ "u_effect_intensity('effect_lilin_ruach_drain_side_effects') >= 1" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/lilin_spell_eocs.json
Lines 151 to 154 in 607be13
"and": [ | |
{ "math": [ "rand(2) == 2" ] }, | |
{ "math": [ "u_effect_intensity('effect_lilin_ruach_drain_side_effects') >= 2" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/lilin_spell_eocs.json
Lines 190 to 193 in 607be13
"and": [ | |
{ "math": [ "rand(1) == 1" ] }, | |
{ "math": [ "u_effect_intensity('effect_lilin_ruach_drain_side_effects') >= 2" ] } | |
] |
[JSON & C++ formatters] reported by reviewdog 🐶
Cataclysm-DDA/data/mods/Xedra_Evolved/spells/lilin_spell_eocs.json
Lines 368 to 371 in 607be13
{ | |
"if": { "math": [ "u_val('sleepiness') < 0" ] }, | |
"then": { "math": [ "u_val('sleepiness')", "=", "0" ] } | |
}, |
With this chance, it would make sense for |
Forgot to lint bc I'm so smart
0cd7f28
to
32d797b
Compare
Summary
None
Purpose of change
Support was added for single string math comparison a while back but the docs haven't been updated and the plethora of existing uses means that the uglier method will continue to be used forever unless we update them
Describe the solution
Replaces
", "<operator>", "
with<operator>
Full manual review
Update docs to reflect that conditional operations can be single string
Purposefully avoids changing uses currently over multiple lines (with
\",[ \n\r]*\"<operator>\",[ \n\r]*\"
) as anything long enough for that likely benefits in readability by splitting the stringsDescribe alternatives you've considered
Waiting until assignment operators also support single string
Letting peeps cargo cult the uglier method forever
Testing
Game loads
Additional context
I purposefully waited until #77661 was merged to make this but somehow forgot to rebase before starting so still had to deal with all the merge conflicts ;D