Page 1 of 1
Mutable Player Stat Modification
Posted: Fri Jul 08, 2016 12:43 pm
by Ranakastrasz
Suggest that the varius modifications to player stats, like crafting speed, movement speed, placement/mining/whatever, should be done as mutable stats like
Starsector uses.
http://fractalsoftworks.com/starfarer.a ... tsAPI.html
This would allow for multiple mods to alter the same stat, without tripping over each other.
Re: Mutable Player Stat Modification
Posted: Fri Jul 08, 2016 5:52 pm
by Rseding91
Re: Mutable Player Stat Modification
Posted: Fri Jul 08, 2016 6:11 pm
by Ranakastrasz
No, like that, but with seperate manipulatable bonuses so multiple mods can manipulate it without unwanted behavior. Like crafting equipment plus crafting research.
Like, Instead of setting the value, you have to add a modifier, +- some percentage, or a multiplication modifier, which is added afterwards.
So, tech might add 50%, which is added, and equipment might add another 50%, for +100%. As is, last I checked, the research mod sets the multiplier to 110%, or 125%, or whatever, meaning it overrides any other modification.
Then, if you wanted a mod like stamina to reduce crafting speed, you would use the fractional based one, and apply a -100% multiplier, which would cancel the whole thing out, until it was removed.
In no case will any of the mods be able to override each other's values however.