PTR - ERR_RCL_NOT_ENOUGH returned for "unavailable" building
-
Might be noteworthy that ERR_RCL_NOT_ENOUGH is currently implemented on PTR for disabled buildings.
Example: you're RCL is 8, you build 3 spawns
Let it downgrade to RCL 7
If you use a third spawn ERR_RCL_NOT_ENOUGH is currently returned.
This is directly related to:
http://screeps.com/forum/topic/1215/Downgarded-room-canCreateCreep-on-the-disabled-spawn-returns-OK
and
http://screeps.com/forum/topic/1230/Building-attribute-marking-active-inactive
respectively.
-
This is going to be in the today's changelog. Still work in progress.
-
Ah, that explains. My code suddenly started spamming "Could not build" in the logs with an unknown error code. Sorry for spoiling the fun. Thanks a lot for introducing this feature, it's currently working as intended.