eternaldensity / Sandcastle-Builder

xkcd: 1190: Time: The Game
Other
80 stars 65 forks source link

Cooldown mechanism to replace single-use prizes #797

Open eternaldensity opened 10 years ago

eternaldensity commented 10 years ago

Instead of locking single-use prizes, they should just be unusable for a long time (maybe a few days).

This change would mean they can work like normal prizes for molpy-down purposes. (Currently they don't give out a prize since that would be a reason to not use them at all.)

Making the cooldown a generic thing (with a dedicated variable) would be handy so it can be used for any boost.

eqbot commented 10 years ago

Is cooldown not a generic thing already? Some boosts have countdowns that when finished do something, (GL, Glass Mould Switching, Jamming).

subanark commented 10 years ago

Those "buffs" are kind of klunky though. I think the cooldown should be indicated in the boost itself.

LucidCrux commented 10 years ago

Countdown is for temporary boosts and automatically decremented. I think there is code somewhere that automatically locks the boost once countdown gets to zero. I don't know why this couldn't work for other things though, and would be a better solution (to me) than adding another variable. A temporary boost with a recharge countdown seems unlikely, but even so you could probably manage it with code in the countdownFunction.

The only reason I had to do the ugly new variable for temporal rift stuff was because this kind of general change wasn't made to countdown. It could work with just the one if the only thing countdown did was call a function of itself. Likewise, on loading if countdown existed, it would need to just call a function instead of automatically giving a temp boost.

Ahh, so much I imagine ways to do things, so little time to invest. :(

eternaldensity commented 10 years ago

Yeah a cooldown is similar to a temp boost countdown but it's different since it needs to make a boost unusable for a certain amount of time rather than make it active for a certain amount of time, and then lock.

Yeah it is the same thing as Jamming... but that is kinda clunky. This mechanic would basically replace Jamming actually. Navcode would be a bit easier to understand if the cooldown was on it rather than split off to Jamming.

LucidCrux commented 10 years ago

Someone just posted about using Fast Forward to get goats. So, that needs looked at. Possibly related this.