-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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] Add Mental Engineering Telepath 'Ritual' recipe #76471
base: master
Are you sure you want to change the base?
Conversation
…rby npcs (don't) have the illiterate trait within the eoc structure I've used
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.
Reviewed through the first 2000 lines
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
Looking forward to writing some Project PHAVIAN research notes about project PATIENT MOSAIC (which didn't manage to have any success in altering others before the Cataclysm, so sad). |
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/itemgroups/matrix_technology_labs.json
Outdated
Show resolved
Hide resolved
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
Co-authored-by: TheShadowFerret <[email protected]>
…ents for consequence selector
data/mods/MindOverMatter/effectoncondition/eoc_mental_engineering.json
Outdated
Show resolved
Hide resolved
ngl i didn't check really deep, but isn't there a way for this pr to, like, not be 5000 lines big? |
Spell checker encountered unrecognized words in the in-game text added in this pull request. See below for details. Click to expand
This alert is automatically generated. You can simply disregard if this is inaccurate, or (optionally) you can also add the new words to Hints for adding a new word to the dictionary
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ysm-DDA into mom_telep_adjust
Summary
Mods "[MOM] Add Mental Engineering Telepath 'Ritual' recipe"
Purpose of change
Add ways for telepaths to permanently modify their own minds. Done under the guise of adding / removing mutations that are mind based such as being a Cannibal. Lets the telepath add both purely positive, purely negative, and neutral traits alongside a good chance of screwing up and adding something random. Adds some fringe horror of a telepath accidently / intentionally turning themselves into a psychopath, or many other things.
Describe the solution
Several thousand lines of EOC
Originally based it off of the gateway power, but I decided that I don't like queuing EOCs so I made the process activity based instead.
EOC Structure:
Question EOC: runs a eoc_run_selector that picks from a sub-eoc for each mutation which determines if the telepath can gain / lose the trait
Sub-EOC: two per trait. Conditioned off of typical trait requirements (ie cannot be both slow reader and fast reader), general telepath strength (better traits typically require a stronger telepath), and sometimes other specific requirements (such as needing water to cure hatred of water). Also, fixing an issue / improving oneself is always harder than causing an issue / removing an improvement.
Variable: Int variable used to remember which sub-eoc was picked
Activity: All Sub-EOCs call the same activity that at its end calls the EOC that alters the users traits.
Result-EOC: Reads the variable with a switch statement and then gives / removes whatever trait was chosen. Also calls the consequences EOC
Consequences-EOC: Rolls a % chance that the user gains another random trait. Starts at 50% and grows lower the more powerful the telepath is. Randomly assigns the variable and uses another switch statement to choose the trait. Unlike specifically selecting traits to change this EOC has no dependence on telepath power or other specific requirements. Its very possible to gain a trait that one doesn't want and then be incapable of fixing it until the psion grows much stronger. Finally, it also calls itself so very unlucky people can get more than one unintended trait.
Also adds a tool used for crafting the recipe, a telepathic focusing tool, the recipe book to craft the tool and the recipe itself, and related infrastructure to obtain those items. The recipe is only craftable with at minimum 100 total levels of telepathy.
Finally, I also fixed the telepath passive trait since I noticed it was using the wrong class id when I copied it over for this.
Describe alternatives you've considered
When I initially thought of the power I thought there was only around 10-15 mental traits that would have to be considered. I walked through the whole mutation tree and discovered that was very wrong as I was writing this up.
Making it a power rather than recipe. Took a look at the power guide and saw that powers alone cannot permanently affect the psions mind like this.
NPC mental engineering. Would be much more EOC / description changes and probably even less likely in terms of telepathic power abilities.
Making the recipe cost telepathic dust as a consumed item.
Testing
Used recipe many times to gain all the traits, observe the consequences being given, etc.
Checked that the options are gated when they should be (no option to remove bad memory if the player doesn't have bad memory).
Checked that non-telepaths cannot use the recipe
Additional context
N/A