Stackable effects

Post » Sun May 16, 2010 7:57 pm

I've been playing with adding some new and/or different effects to some of the chems in the game, but I would like to get the new effects in stages so that they are somewhat stackable. For example Buffout gives a boost to strength, but what if you have a strength of 10? Maybe it could give a boost to carry weight and melee damage, and if you took more it would provide more of a boost. I had this idea that the first dose would boost a stat, the second dose would boost it again by half as much and the third dose would be ineffective. Has anyone tried anything like this? Ive spent some time thinking about it and came up with this:

Set default to player.getav whateverIf dose==0	Player.modav whatever default + 20	Set timer to 300Elseif dose == 1	Player.modav whatever default + 30	Set timer to timer + 300Elseif dose == 2	Display doselimit messageIf timer ==0 player.restoreav whatever default set dose to 0


Obviusly there would be an actual timer in there somewhere as well, but conceptually speaking; is this the way it would work?
User avatar
Kaley X
 
Posts: 3372
Joined: Wed Jul 05, 2006 5:46 pm

Return to Fallout 3