building decay in queue

Levgre

King
Joined
Jul 24, 2006
Messages
904
so I believe it is after 50 turns or so, buildings start to decay. 10 for military.

However, what if on turn 9 of the military unit, you do one more turn of building, and place it back in the queue?

Does it start decaying next turn, or is the decay counter reset?
 
so I believe it is after 50 turns or so, buildings start to decay. 10 for military.

However, what if on turn 9 of the military unit, you do one more turn of building, and place it back in the queue?

Does it start decaying next turn, or is the decay counter reset?

Levgre,

Not too sure about this, but I think that it would wait another 10 turns before decaying again.

This might be a potential exploit, no? :satan:

--ilovesimgolf
 
sounds wierd if you can just circumvent decay like this.
 
Does it start decaying next turn, or is the decay counter reset?

I looked at the code on this some time back. What really matters is the total number of turns where the unit/building sits underneath something in the queue. The decay counter is only reset when you produce the unit, or when the unit no longer has any hammers in it.

The weird edge case, as I recall, is that if you put something at the top of the queue on the turn where the last hammer decays, the clock doesn't reset, but it will on the next turn. This had to do with the ordering of the reset instruction and the decay instruction in the code.

El Disclaimo: going from memory, and I believe this investigation was before the last patch.
 
Back
Top Bottom