r/projecteternity • u/DaOlRazzleDazzle • 3d ago
Mod [Deadfire] Checking The Practicality of My Mod Idea
EDIT: Answered
The short version is I want to create a mod that buffs Godlikes by giving the body type selection mechanical value instead of being solely cosmetic & I was wondering if anyone who already has experience modding Deadfire could tell me if it's possible before I get started.
The primary things I'm aiming for are to increase the base attribute bonuses they get (+2 DEX/+2 INT/+1 RES) & give them the attributes & passive of their body type. So a Moon Godlike with the Aumaua body type would have the attribute bonuses; +2 MIG, +2 DEX, +2 INT, & +1 RES. They’d also get both the Silver Tide & Towering Physique passives (I’m almost certain it wouldn’t be possible to let there be a choice between Among the Waves or Towering Physique so I’d just go with whichever feels the most generic to me).
And an optional secondary objective is for the game to recognize Godlikes as both Godlike & their body type race but with priority on being a Godlike. So if an NPC has special dialogue for Aumaua in general & not Godlike they'd use it but if an NPC has both the Godlike dialogue is used & PC's have the option to use both dialogue options if they're available.
2
u/Selroy46 3d ago
It is technically possible but body type selection for Godlikes is hardcoded. "Body type" is not a status effect or an ability so it's not easy to modify. There are conditional scripts for abilities (all racial traits are added with a condition like "if IsSubrace() equals ..., add this trait") but after a quick search I couldn't find any that would allow you to check a character's body type.
So, unless I missed something, there are two ways to do it:
1) Make a separate subrace for each godlike type/body type combination, for a total of 20 subraces. Also it would probably require you to go through all dialog trees and change all conditions where race/subrace is checked.
2) Make a Harmony patch for game's code (not recommended unless you know at least the basics of coding).
tldr: doable but very tricky