Skip to content
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

[MoM] Power learning revamp: Biokinesis #70305

Merged
merged 23 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
80e1b9f
Initial commit
Standing-Storm Dec 19, 2023
0b9658d
Update data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json
Standing-Storm Dec 19, 2023
ccf53d3
Update data/mods/MindOverMatter/vitamins.json
Standing-Storm Dec 19, 2023
6b9e500
Add recipe checks to power learning EoCs
Standing-Storm Dec 19, 2023
63a7c55
Merge branch 'learning-revamp-bio' of git@github.com:Standing-Storm/C…
Standing-Storm Dec 19, 2023
f4ae9dc
begin replacing contemplation EoCs
Standing-Storm Dec 19, 2023
a1de0c0
remove learn_spells, finish practice recipes
Standing-Storm Dec 19, 2023
cfaa384
flexibility is no longer a starting power
Standing-Storm Dec 19, 2023
ca91a15
set u_messages to popup to interrupt meditation
Standing-Storm Dec 19, 2023
6a16fd9
Add detailed power description spoiler file
Standing-Storm Dec 20, 2023
e51e0e3
Make Star Athlete compatible with prerequisites
Standing-Storm Dec 20, 2023
4374208
Finish learnjng vitamin deactivate condition
Standing-Storm Dec 20, 2023
4f17a2d
add biokinesis contemplation proficiency
Standing-Storm Dec 21, 2023
e38a657
update README.md
Standing-Storm Dec 21, 2023
d1e977a
remove game_begin recipe event, move recipes to professions
Standing-Storm Dec 21, 2023
1853b67
Further updates
Standing-Storm Dec 26, 2023
eb90b6c
Various fixes
Standing-Storm Dec 26, 2023
c6e4e95
Merge branch 'master' of https://github.com/Standing-Storm/Cataclysm-…
Standing-Storm Dec 26, 2023
4fb1274
There is no "u_has_activity"
Standing-Storm Dec 26, 2023
8bde268
Merge branch 'master' of https://github.com/Standing-Storm/Cataclysm-…
Standing-Storm Dec 26, 2023
ac1442e
Merge updates
Standing-Storm Dec 26, 2023
3892b8c
Finalization
Standing-Storm Dec 27, 2023
cb71fee
Kick tests
Standing-Storm Dec 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 142 additions & 0 deletions data/mods/MindOverMatter/PowerDescriptionSpoilers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Power Descriptions
Note that every power, unless otherwise specified, is affected by Intelligence scaling and Nether Attunement scaling. Intelligence scaling is normalized at 10 with +/- 5% per point in either direction—-Intelligence 9 makes powers 95% as effective, Intelligence 12 makes powers 110% as effective, and so on.

# Biokinesis
**Note**: No biokinetic powers have a range or AoE listed because they only affect the psion.

## Overcome Pain (C)
*Difficulty*: 1
*Duration*: 5 minutes to 21 minutes 40 seconds, plus 20 to 75 seconds per level
*Stamina Cost*: 1750, minus 75 per level to a minimum of 800
*Channeling Time*: 125 moves, minus 7 moves per level to a minimum of 50
*Effects*: Adds pkill to the psion, scaling every 4 levels.
Level | Pkill Min | Pkill Tick | Pkill Max
——-|——-|——-|———
0 | 1 | 12 | 15
4 | 2 | 10 | 30
8 | 3 | 10 | 50
12| 4 | 8 | 75
16| 5 | 8 | 100
20| 6 | 6 | 130
This is natural painkiller and so has natural effects (reduces speed slightly)
*Prerequisites*: Starting power.

## Physical Enhancement (C)
*Difficulty*: 2
*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level
*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
*Channeling Time*: 120 moves, minus 5.5 moves per level to a minimum of 75
*Effects*: +1 Strength and +1 Dexterity, with an additional point of each every 5 power levels. It also makes you immune to Weakening Poison.
*Prerequisites*: Starting power.

## Oxygen Absorption
*Difficulty*: 2
*Duration*: 3 minutes to 9 minutes, plus 36 to 72 seconds per level
*Stamina Cost*: 2500, minus 85 per level to a minimum of 1200
*Channeling Time*: 70 moves, minus 6 moves per level to a minimum of 25
*Effects*: Allows the psion to breathe underwater. This is the same as a rebreather, so it reduces the hidden oxygen stat by a significant amount, making Stamina recovery harder.
*Prerequisites*: Physical Enhancement 4, Overcome Pain 3.

## Burst of Speed
*Difficulty*: 3
*Duration*: Instant
*Stamina Cost*: 3000, minus 190 per level to a minimum of 1500
*Channeling Time*: 75 moves, minus 4.5 moves per level to a minimum of 15
*Effects*: Dash up to 1 square plus 1 square per two levels, to a maximum of 12 squares. This is normal movement and will subject you to tile hazards.
*Prerequisites*: Physical Enhancement 9 *or* Enhance Mobility 5.

## Flexibility
*Difficulty*: 3
*Duration*: 2 to 5 seconds
*Stamina Cost*: 2500, minus 175 per level to a minimum of 1250
*Channeling Time*: 50 moves, minus 2.5 moves per level to a minimum of 15
*Effects*: Greatly increases the psion’s reaction (2x), block (1.2x) and crawl (1.5) limb scores, as well as rendering them immune to being grabbed and making it easier to recover from being downed. It reduces fall damage by 20% plus 2% per level.
*Prerequisites*: Physical Enhancement 6

## Hardened Skin
*Difficulty*: 4
*Duration*: 45 to 90 seconds, plus 8 to 15 seconds per level.
*Stamina Cost*: 2500, minus 125 per level to a minimum of 750
*Channeling Time*: 150 moves, minus 8.5 moves per level to a minimum of 50.
*Effects*: Increases piercing armor by 3, bashing armor by 6, and cutting armor by 4. Also makes the psion immune to bleeding from wounds received during its duration (previous bleeding is unaffected) and reduces incoming pain by 2% per level.
*Prerequisites*: Overcome Pain 6 *or* Physical Enhancement 8, Flexibility 7 *or* Temperature Adaptability 6.

## Adrenaline Trigger
*Difficulty*: 4
*Duration*: 15 minutes
*Stamina Cost*: 3500, minus 165 per level to a minimum of 1800
*Channeling Time*: 100 moves, minus 5.5 moves per level to a minimum of 35.
*Effects*: Cause an adrenaline surge. This provides a burst of speed and strength and high tolerance for pain for the duration but the psion will crash when the surge ends.
*Prerequisites*: Overcome Pain 7, Burst of Speed 8 *or* Enhance Mobility 6.

## Temperature Adaptability (C)
*Difficulty*: 4
*Duration*: 5 minutes to 10 minutes, plus 3 minutes to 6 minutes per level.
*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
*Channeling Time*: 250 moves, minus 8.5 moves per level to a minimum of 150.
*Effects*: Increases temperature tolerance in both directions by 15 degrees plus 7.5 degrees per level.
*Prerequisites*: Oxygen Absorption 5, Physical Enhancement 9 *or* Metabolic Hyperefficiency 6.

## Enhance Mobility (C)
*Difficulty*: 5
*Duration*: 5 minutes to 15 minutes, plus 45 seconds to 120 seconds per level.
*Stamina Cost*: 4500, minus 150 per level to a minimum of 2500
*Channeling Time*: 275 moves, minus 15 moves per level to a minimum of 50.
*Effects*: Reduces encumbrance on every body part, improving every 4 levels. Other than -2 at level 0 through 3, encumbrance reduction is equal to power threshold level: -4 from levels 4 to 7, -8 from levels 8 to 11, and so on.
*Prerequisites*: Overcome Pain 4, Heightened Reflexes 6 *or* Flexibility 9, Burst of Speed 10 *or* Combat Dance 4 *or* Physical Enhancement 10.

## Hammerhand (C)
*Difficulty*: 5
*Duration*: 30 minutes to 90 minutes, plus 7 minutes 30 seconds to 12 minutes 30 seconds per level.
*Stamina Cost*: 4500, minus 225 per level to a minimum of 2250
*Channeling Time*: 350 moves, minus 12.5 moves per level to a minimum of 150.
*Effects*: Allows the psion to replicate a number of common tools with their own body: it provides the Bolt Turning 1, Screw Driving 1, Hammering 3, Fine Hammering 1, Soft Hammering 1, Wood Chiseling 1, Prying 2, and Nail Prying 1 qualities.
*Prerequisites*: Physical Enhancement 6, Hardened Skin 6

## Heightened Reflexes (C)
*Difficulty*: 6
*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level.
*Stamina Cost*: 5500, minus 205 per level to a minimum of 2250
*Channeling Time*: 175 moves, minus 5.5 moves per level to a minimum of 100.
*Effects*: Adds +1 Perception and +5 Speed, plus 1 Perception per 5 levels and plus 1 Speed per level (to a maximum bonus of +30 speed).
*Prerequisites*: Flexibility 8 *or* Burst of Speed 8, Physical Enhancement 6, Adrenaline Trigger 6.

## Sealed System
*Difficulty*: 7
*Duration*: 60 seconds to 5 minutes, plus 8 to 25 seconds per level.
*Stamina Cost*: 5500, minus 175 per level to a minimum of 2750.
*Channeling Time*: 200 moves, minus 7.5 moves per level to a minimum of 100.
*Effects*: Prevents the psion from having to breath and seals off their body against outside danger. They become immune to the Smoke, Teargas, Boomer Bile, Mi-go Atmosphere, Fetid Goop, Relaxation Gas, Triffid Pollen, Fungal Spores, Dermatik parasitization, Poison, and Bad Poison effects, as well as electrical damage. They have no scent and receive 75% less radiation. Finally, their wounds stop bleeding and wounds received while the power is in effect will not bleed.
*Prerequisites*: Hardened Skin 9 *or* Oxygen Absorption 9, Temperature Adaptability 10 *or* Hammerhand 7.

## Metabolic Hyperefficiency (C)
*Difficulty*: 7
*Duration*: 45 minutes to 112 minutes and 30 seconds, plus 4 minutes 10 seconds to 8 minutes 20 seconds per level.
*Stamina Cost*: 8000, minus 250 per level to a minimum of 4000.
*Channeling Time*: 250 moves, minus 13 moves per level to a minimum of 50.
*Effects*: Greatly increases the psion’s metabolic efficiency. Hunger, thirst, fatigue grow 25% more slowly and the basal metabolic rate is reduced by 25%. All of these bonuses increase by 2% per level to a maximum of 70% increase.
*Prerequisites*: Temperature Adaptability 8, Adrenaline Trigger 6 *or* Physical Enhancement 12.

## Combat Dance
*Difficulty*: 8
*Duration*: 40 seconds to 3 minutes and 20 seconds, plus 5 to 11 seconds per level.
*Stamina Cost*: 5500, minus 125 per level to a minimum of 2250.
*Channeling Time*: 100 moves, minus 4 moves per level to a minimum of 40.
*Effects*: Provides a myriad of combat bonuses. Move cost is reduced by 10% and recoil reduced by 30. In addition, pain is reduced by 3% per power level, and melee damage and attack speed are increased by 2% per power level. The psion is immune to the Stunned and Dazed effects.
*Prerequisites*: Heightened Reflexes 10, Physical Enhancement 10, Adrenaline Trigger 9 *or* Burst of Speed 6.

## Perfected Motion
*Difficulty*: 9
*Duration*: 5 seconds to 30 seconds, plus 0.5 to 1.1 seconds per level.
*Stamina Cost*: 8000, minus 175 per level to a minimum of 3500.
*Channeling Time*: 75 moves, minus 4 moves per level to a minimum of 15.
*Effects*: Increases the psion’s movement rate to an inhuman degree. Move cost is reduced by 50% plus 1.5% per level, to a maximum of 96% reduced move cost. The psion is also immune to slippery terrain.
*Prerequisites*: Combat Dance 6, Burst of Speed 12.

## Hurricane Blow
*Difficulty*: 10
*Duration*: 1 second
*Stamina Cost*: 4500, minus 75 per level to a minimum of 2500.
*Channeling Time*: 65 moves, minus 3 moves per level to a minimum of 15.
*Effects*: Allows the psion to strike multiple times in less than a second. Speed is increased by 400 plus 75 per power level and the psion attacks 25% faster and does 10% more melee damage plus 1.5% per power level, but cannot use ranged attacks or other psionic powers, and the power ends immediately if the psion moves.
*Prerequisites*: Combat Dance 10, Reflex Enhance 14 *or* Adrenaline Trigger 12.
12 changes: 10 additions & 2 deletions data/mods/MindOverMatter/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Mind Over Matter
A Psionics mod for Cataclysm: Dark Days Ahead

This mod adds (currently) eight separate psionic power paths to Cataclysm, including:
This mod adds (currently) nine separate psionic power paths to Cataclysm, including:

1) Biokinesis - Control of the body. Biokinetics can become stronger and faster than an ordinary human, and even change their form in limited ways. (starting profession: Star Athlete)
2) Clairsentience - Extending the senses beyond the body. Clairsentients can see in the dark and through walls, and eventually gain a bird's eye view of their surroundings, as well as perform in combat by anticipating their enemies' movements. (starting profession: Doomseer)
Expand Down Expand Up @@ -47,7 +47,7 @@ Broadly speaking, there are three types of powers:

By default, you can maintain concentration on a number of powers equal to your (Intelligence / 4) + any traits, mutations, proficiencies, or effects that change this limit. This is either listed in the description, like how Easily Distracted reduces the concentration potential by 1, or is common sense, like how being set on fire, covered in rotting zombie barf, or so tired you're doubled over and breathing heavily all make it harder to concentrate. You may maintain your powers for an indefinite length of time as long as you are under your limit, but if you're over your limit, when a concentration check comes up or when you channel a new power you have a chance to lose your concentration. This is checked independently per concentrated power, so being more powers over your limit greatly increases the odds your concentration will break.

GAINING POWERS
GAINING PSIONICS

The easiest way to gain psionics is to pick a profession that starts with them or choose one of the "newly-awakened [X]" hobbies. There are also some strange crystals you might find in places with a strong connection with the Nether, or which are carried by feral psions, or in ruined secret scientific facilities. Or you could walk out into a portal storm unprotected.

Expand All @@ -57,3 +57,11 @@ Bathe in the energies of the Nether.

We have such sights to show you.

LEARNING NEW POWERS

(Note: the system below is currently only applicable for Biokinetics but will be expanded to cover all paths)

New powers are unlocked by leveling existing powers. When particular prerequisites are reached and after a certain amount of time (anywhere from a couple of days to a couple of weeks, depending on power difficulty), you have the chance to unlock the possibility of a new power. Once you’ve done so, you can attempt its contemplation recipe, found in the Practice crafting tab, to attempt to understand the power. If you succeed (success depends on your Metaphysics skill), you’ll unlock the power and it will appear in your powers list. If you fail, you’ll have to try again. You can try repeatedly until you successfully unlock it.

There is a small chance you can sidestep the prerequisites and discover powers that would normally be beyond your ability. If this happens, you can contemplate to attempt to unlock it the same as any other power.

7 changes: 7 additions & 0 deletions data/mods/MindOverMatter/activity_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@
"interruptable": false,
"verb": "meditating",
"based_on": "time"
},
{
"id": "ACT_PSI_LEARNING_NEW_POWER",
"type": "activity_type",
"activity_level": "LIGHT_EXERCISE",
"verb": "meditating",
"based_on": "time"
}
]
64 changes: 41 additions & 23 deletions data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@
{
"type": "effect_on_condition",
"id": "EOC_TEACH_BIOKIN_CONTEMPLATE_RECIPES",
"effect": [
{ "u_learn_recipe": "practice_biokin_physical_enhance" },
{ "u_learn_recipe": "practice_biokin_overcome_pain" },
{ "u_learn_recipe": "practice_biokin_breathe_skin" },
{ "u_learn_recipe": "practice_biokin_flexibility" },
{ "u_learn_recipe": "practice_biokin_climate_control" },
{ "u_learn_recipe": "practice_biokin_enhance_mobility" },
{ "u_learn_recipe": "practice_biokin_hammerhand" },
{ "u_learn_recipe": "practice_biokin_armor_skin" },
{ "u_learn_recipe": "practice_biokin_reflex_enhance" },
{ "u_learn_recipe": "practice_biokin_sealed_system" },
{ "u_learn_recipe": "practice_biokin_metabolism_enhance" },
{ "u_learn_recipe": "practice_biokin_combat_dance" },
{ "u_learn_recipe": "practice_biokin_perfected_motion" }
]
"effect": [ { "u_learn_recipe": "practice_biokin_physical_enhance" }, { "u_learn_recipe": "practice_biokin_overcome_pain" } ]
},
{
"type": "effect_on_condition",
Expand Down Expand Up @@ -178,14 +164,6 @@
{ "u_learn_recipe": "practice_vita_return_from_death" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_BIOKIN_RECIPE_TEACHER",
"eoc_type": "EVENT",
"required_event": "game_begin",
"condition": { "u_has_trait": "BIOKINETIC" },
"effect": [ { "queue_eocs": "EOC_TEACH_BIOKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CLAIR_RECIPE_TEACHER",
Expand Down Expand Up @@ -250,6 +228,46 @@
"condition": { "u_has_trait": "VITAKINETIC" },
"effect": [ { "queue_eocs": "EOC_TEACH_VITAKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_PSI_LEARNING_VITAMIN_COUNTER",
"recurrence": [ "12 hours", "168 hours" ],
"condition": {
"and": [
{
"u_has_any_trait": [
"BIOKINETIC",
"CLAIRSENTIENT",
"ELECTROKINETIC",
"PHOTOKINETIC",
"PYROKINETIC",
"TELEKINETIC",
"TELEPATH",
"TELEPORTER",
"VITAKINETIC"
]
},
{ "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "0" ] },
{ "not": { "u_has_effect": "effect_psi_learning_new_power" } }
]
},
"deactivate_condition": {
"not": {
"u_has_any_trait": [
"BIOKINETIC",
"CLAIRSENTIENT",
"ELECTROKINETIC",
"PHOTOKINETIC",
"PYROKINETIC",
"TELEKINETIC",
"TELEPATH",
"TELEPORTER",
"VITAKINETIC"
]
}
},
"effect": [ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "+=", "1" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_PSI_USB_RAD_RECIPE",
Expand Down
18 changes: 18 additions & 0 deletions data/mods/MindOverMatter/effects/effects_other.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"type": "effect_type",
"id": "effect_psi_learning_new_power",
"//": "Hidden effect, used as a tracker",
"name": [ "" ],
"desc": [ "" ],
"rating": "good"
},
{
"type": "effect_type",
"id": "effect_vitakin_wakeful_resting",
"//": "Hidden effect, used as a tracker",
"name": [ "" ],
"desc": [ "" ],
"rating": "good"
}
]
5 changes: 3 additions & 2 deletions data/mods/MindOverMatter/hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@
"subtype": "hobby",
"id": "newly_biokinetic",
"name": "Newly-Awakened Biokinetic",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. You feel in better shape than you ever have in your life, like you could run a mile and climb a mountain and then wake up and do it again. You'll probably need it.",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. You feel in better shape than you ever have in your life, like you could run ten miles and climb a mountain and then wake up and do it again. You'll probably need it.",
"points": 3,
"traits": [ "BIOKINETIC", "BIOKIN_NEEDS" ]
"traits": [ "BIOKINETIC", "BIOKIN_NEEDS" ],
"recipes": [ "practice_biokin_overcome_pain", "practice_biokin_physical_enhance" ]
},
{
"type": "profession",
Expand Down
12 changes: 12 additions & 0 deletions data/mods/MindOverMatter/jmath.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@
"num_args": 1,
"return": "(u_val('focus') * 5.8) * (_0)"
},
{
"type": "jmath_function",
"id": "learn_new_power_lower_time_bound",
"num_args": 1,
"return": "(((_0 + 2) * 60) * 60) * 0.8"
},
{
"type": "jmath_function",
"id": "learn_new_power_upper_time_bound",
"num_args": 1,
"return": "(((_0 + 2) * 60) * 60) * 1.2"
},
{
"type": "jmath_function",
"id": "difficulty_one_contemplation",
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 @@ -8,12 +8,7 @@
"starting_trait": false,
"purifiable": false,
"valid": false,
"spells_learned": [
[ "biokin_physical_enhance", 2 ],
[ "biokin_overcome_pain", 2 ],
[ "biokin_flexibility", 2 ],
[ "classless_toggleable_concentration_end", 1 ]
]
"spells_learned": [ [ "biokin_physical_enhance", 2 ], [ "biokin_overcome_pain", 2 ], [ "classless_toggleable_concentration_end", 1 ] ]
},
{
"type": "mutation",
Expand Down
Loading
Loading