Skip to content

Commit

Permalink
[MoM] Power learning revamp: Clairsentience (#70838)
Browse files Browse the repository at this point in the history
* Update effects_psionic.json

* Update clairsentience.json

* Update PowerDescriptionSpoilers.md

* Fixes

* Add extra prerequisites

* Create clairsentience.json

* Change starting powers

* Update clairsentient_practice.json

* Fix typoes

* Create clairsentient_upgrades.json

* Update electrokinesis.json

* Linting

* Add proficiency

* Add hobby

* Various fixes
  • Loading branch information
Standing-Storm authored Jan 13, 2024
1 parent efad5c4 commit d1474f4
Show file tree
Hide file tree
Showing 14 changed files with 2,047 additions and 592 deletions.
249 changes: 139 additions & 110 deletions data/mods/MindOverMatter/PowerDescriptionSpoilers.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,7 @@
{
"type": "effect_on_condition",
"id": "EOC_TEACH_CLAIR_CONTEMPLATE_RECIPES",
"effect": [
{ "u_learn_recipe": "practice_clair_night_vision" },
{ "u_learn_recipe": "practice_clair_danger_sense" },
{ "u_learn_recipe": "practice_clair_speed_reading" },
{ "u_learn_recipe": "practice_clair_aura_sight" },
{ "u_learn_recipe": "practice_clair_spot_weakness" },
{ "u_learn_recipe": "practice_clair_ranged_enhance" },
{ "u_learn_recipe": "practice_clair_voyance" },
{ "u_learn_recipe": "practice_clair_dodge_power" },
{ "u_learn_recipe": "practice_clair_craft_bonus" },
{ "u_learn_recipe": "practice_clair_see_map" },
{ "u_learn_recipe": "practice_clair_perfect_shot" },
{ "u_learn_recipe": "practice_clair_clear_sight" },
{ "u_learn_recipe": "practice_clair_group_tactics" },
{ "u_learn_recipe": "practice_clair_omniscience" }
]
"effect": [ { "u_learn_recipe": "practice_clair_night_vision" }, { "u_learn_recipe": "practice_clair_speed_reading" } ]
},
{
"type": "effect_on_condition",
Expand Down
16 changes: 8 additions & 8 deletions data/mods/MindOverMatter/effects/effects_psionic.json
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 3 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 2 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -581,7 +581,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 5 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 4 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -598,7 +598,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 7 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 6 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -615,7 +615,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 9 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 8 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -632,7 +632,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 11 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 10 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -649,7 +649,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 13 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 12 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -666,7 +666,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 15 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 14 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand All @@ -683,7 +683,7 @@
"rating": "good",
"max_duration": "7 days",
"max_intensity": 106,
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 17 } ],
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 16 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
Expand Down
42 changes: 41 additions & 1 deletion data/mods/MindOverMatter/hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,49 @@
"id": "newly_clairsentient",
"name": "Newly-Awakened Clairsentient",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. You can read much faster and can see much better in the dark, and even in total darkness you no longer have any hesitation about moving. At least once you avoided zombies on the other side of a wall that you didn't hear and couldn't see, but you you just knew they were there.",
"points": 3,
"points": 5,
"traits": [ "CLAIRSENTIENT", "CLAIR_SENSES" ]
},
{
"type": "profession",
"subtype": "hobby",
"id": "mid_clairsentient",
"name": "Arising Clairsentient",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. You can see auras around people that tell you what they're feeling, and you've already used it to avoid someone who was feigning being injured with the hope of stealing your gear. You can see through walls, and tell where the best place to hit something is to take it down for good. That last ability will definitely get plenty of use.",
"points": 8,
"traits": [ "CLAIRSENTIENT", "CLAIR_SENSES" ],
"skills": [ { "level": 4, "name": "metaphysics" } ],
"spells": [
{ "id": "clair_night_vision", "level": 6 },
{ "id": "clair_danger_sense", "level": 10 },
{ "id": "clair_speed_reading", "level": 7 },
{ "id": "clair_aura_sight", "level": 8 },
{ "id": "clair_spot_weakness", "level": 7 },
{ "id": "clair_voyance", "level": 6 }
]
},
{
"type": "profession",
"subtype": "hobby",
"id": "late_clairsentient",
"name": "Ascended Clairsentient",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. You can finish books in a few hours and remember almost everything you read, you had to fix a bicycle a few weeks ago and even though you've never tried to do that before in your life, everything you needed to do just…came to you. What's more, last time the Zs attacked you, you never got a scratch. Three of them came at you at once and you dodged every attack because you could see what they were going to do before they did it. If only you could see where you needed to go to be safe.",
"points": 14,
"traits": [ "CLAIRSENTIENT", "CLAIR_SENSES" ],
"skills": [ { "level": 7, "name": "metaphysics" } ],
"spells": [
{ "id": "clair_night_vision", "level": 6 },
{ "id": "clair_danger_sense", "level": 10 },
{ "id": "clair_speed_reading", "level": 7 },
{ "id": "clair_aura_sight", "level": 8 },
{ "id": "clair_ranged_enhance", "level": 6 },
{ "id": "clair_spot_weakness", "level": 7 },
{ "id": "clair_voyance", "level": 8 },
{ "id": "clair_dodge_power", "level": 7 },
{ "id": "clair_craft_bonus", "level": 7 },
{ "id": "clair_clear_sight", "level": 5 }
]
},
{
"type": "profession",
"subtype": "hobby",
Expand Down
7 changes: 1 addition & 6 deletions data/mods/MindOverMatter/mutations/traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
"starting_trait": false,
"purifiable": false,
"valid": false,
"spells_learned": [
[ "clair_night_vision", 2 ],
[ "clair_danger_sense", 2 ],
[ "clair_speed_reading", 2 ],
[ "classless_toggleable_concentration_end", 1 ]
]
"spells_learned": [ [ "clair_night_vision", 2 ], [ "clair_speed_reading", 2 ], [ "classless_toggleable_concentration_end", 1 ] ]
},
{
"type": "mutation",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
[
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMESTART_CLAIR_UPDATE",
"eoc_type": "EVENT",
"required_event": "game_start",
"condition": { "u_has_trait": "CLAIRSENTIENT" },
"effect": [ { "math": [ "u_clairsentience_has_been_updated", "=", "1" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE",
"eoc_type": "EVENT",
"required_event": "game_load",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_clairsentience_has_been_updated", "!=", "1" ] } ] },
"effect": [
{ "math": [ "u_clairsentience_has_been_updated", "=", "1" ] },
{
"run_eocs": [
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SPOT_WEAKNESS",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SEE_AURAS",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_RANGED_ENHANCE",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_VOYANCE",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_DODGE_POWER",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_CRAFT_BONUS",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_PERFECT_SHOT",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SEE_MAP",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_CLEAR_SIGHT",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_GROUP_TACTICS",
"EOC_CHECK_GAMELOAD_CLAIR_UPDATE_OMNISCIENCE"
]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SPOT_WEAKNESS",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_spot_weakness')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_spot_weakness" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SEE_AURAS",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_see_auras')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_aura_sight" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_RANGED_ENHANCE",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_ranged_enhance')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_ranged_enhance" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_VOYANCE",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_voyance')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_voyance" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_DODGE_POWER",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_dodge_power')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_dodge_power" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_CRAFT_BONUS",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_craft_bonus')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_craft_bonus" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_PERFECT_SHOT",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_perfect_shot')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_perfect_shot" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_SEE_MAP",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_see_map')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_see_map" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_CLEAR_SIGHT",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_clear_sight')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_clear_sight" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_GROUP_TACTICS",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_group_tactics')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_group_tactics" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CHECK_GAMELOAD_CLAIR_UPDATE_OMNISCIENCE",
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_omniscience')", "<", "0" ] } ] },
"effect": [ { "u_forget_recipe": "practice_clair_omniscience" } ]
}
]
Loading

0 comments on commit d1474f4

Please sign in to comment.