xxscreeps
xxscreeps copied to clipboard
[Bug] Not-active extensions still count towards energyCapacityAvailable
on rcl downgrade, extensions are correctly marked as not-active, but it's still possible to .transfer() into them,
and their store is added towards Room.energyCapacityAvailable
and Room.energyAvailable
Inactive buildings are not implemented at all in xxscreeps. The red effect is implemented entirely in the client.
The information we gathered in the 3D client might be relevant, you can find the issue here https://github.com/thmsndk/Screeps3D/issues/176
Never did dig further into it, I was under the assumption the server did toggle extensions "off" so the correct amount of capacity was returned. but that is based on the off
property that was present on extensions