Non-integer resource values in container
-
This is the first time I've encountered this bug (on private server), and I'm not sure how to reproduce it yet. I noticed one of my creeps was stuck trying to withdraw from a container; turns out there was 0.767 oxygen in the container. Until now, I assumed that stores/carries could only have integer values of resources.
If I try to execute
Game.creeps.transport_0.withdraw(Game.getObjectById('ccd957154508118'))
it returns-6, ERR_NOT_ENOUGH_RESOURCES
, so it seems like the game floors the resource values, so I'm not sure how the container store got like this...