Expansion of Humanity Recovery to Encourage Social Interactions
Improvements:
- Added "Lover" and "Social" interaction categories. An interaction with a "Lover" character is only possible after the romance flag is set. Both new and old interactions should be fully compatible with Deceptious mods that involve that interaction
- Players can optionally choose to recover humanity from sleep as a function of unique interaction categories
- Overclock is can now contribute to Humanity Damage like Berserk or Sandevistan
- Added optional "Cruelty" option that has a 20% change of tacking an additional 5 humanity damage whenever humanity damage suffered. This should make the possibility to go psycho much less predictable
- Gain a stacking buff whenever you first interact with one of the six different humanity restoring interactions. Buff provides stacking reload, stacking armor and non-stacking memory boost (+2).
@lorddarkflare did you update translation files for new mod settings options as well? Cuz PR has only reds files. Usually I'm trying to make the names and descriptions short and simple and use something like deepl to make all language variants
Thats in the archive right? No I have not. Only started using Wolvenkit this morning for the first time. Lemme see if I can take care of that, and I will update the PR.
Thats in the archive right? No I have not. Only started using Wolvenkit this morning for the first time. Lemme see if I can take care of that, and I will update the PR.
Yes, it's inside archives and thats where those LocKeys are defined which you used as well, like
Mod-Edg-Humanity-Restoration-Sleep-Choice etc.
The new ones must be added to every supported language. To access the mod files in wkit toggle on Mod Browser option and add all files to the project so you can edit it
Everything else looks okay to me 👍🏻 So major points to check are new options localizations and lockeys for interactions checker. Btw I always wanted to find a better way to detect the object we are interacting with because lockeys checker still feels like dirty hack :) So if some new things are not localized then maybe its a good time to do it, hope I can research this more and soon as well
@lorddarkflare Any progress here? 🙂 Or need some help maybe?
Sorry got distracted with work. I will clean this up next week.
As an aside, you are right that it is a dirty hack, but it is so elegantly simple that I cannot fault it.
What I HAVE found is that other mods--so far exclusively Deceptious's--will re-use objects, but in different contexts, but since the locKey is the only thing we have to go by, it triggers the interaction. Not a big deal, but it means that randomly you will gain humanity from interacting with a ripper, or drinking alone. Or not gain any humanity because the "Here's Johnny" mod places him too close to the bed so he owns sleep interaction as opposed to the bed.
This is hilarious because all my changes to your mod are geared to giving players a reason to interact with all his cool interactions.
@djkovrik: working on the translations right now. I forgot I had another change I never uploaded, but dunno if it fits with this mod's scope. This buff:
BaseStatusEffect.LifeAffirmedBuff:
$base: BaseStatusEffect.BuffStatusEffect
duration: BaseStats.InfiniteDuration
gameplayTags: [ Buff ]
savable: true
uiData:
displayName: Life Affirmed
iconPath: immunity_icon
packages:
- BaseStatusEffect.MemoryBooster_inline0
- $type: GameplayLogicPackage
stackable: true
stats:
- $type: ConstantStatModifier
statType: BaseStats.Armor
modifierType: Additive
value: 34.0
- $type: ConstantStatModifier
statType: BaseStats.ReloadTimeBonus
modifierType: Additive
value: -0.05
- $type: ConstantStatModifier
statType: BaseStats.EmptyReloadTime
modifierType: Additive
value: -0.05
maxStacks:
$type: StatModifierGroup
statModsLimit: -1
statModifiers:
- $type: ConstantStatModifier
modifierType: Additive
statType: BaseStats.MaxStacks
value: 5
Essentially the idea is that every time you do something "Life affirming", i.e interact with anything that gives you humanity, you gain a single stack for that category of interaction of this buff. This gives you an incentive to interact with things after you wake up as only sleep removes the stacks. I think the idea is really cool, but I could not think of any stats worth buffing this way, so I settled for reload and armor.
To Do:
- [x] Update archive with English translations for new menu items
- [x] Update archive with machine translations for new items
- [x] Playtest in a different language--French--to ensure that new translations work
- [x] Enhance new buff to also provide a Ram boost. Non stacking.
- [x] Update notes for for new features
Essentially the idea is that every time you do something "Life affirming", i.e interact with anything that gives you humanity, you gain a single stack for that category of interaction of this buff. This gives you an incentive to interact with things after you wake up as only sleep removes the stacks. I think the idea is really cool, but I could not think of any stats worth buffing this way, so I settled for reload and armor.
@lorddarkflare Nice idea 👍🏻 As for stats, slight memory capacity boost maybe? Or something stamina-related to fit Life affirming category :)
Done! Did initial tests, but I will look for any issues.
Cool, I'll check it too
Didn't test translations yet as I'm away from my modding PC for this week, everything else looks great 👍🏻 I'll back at Monday and merge + publish an update then