createConstruction Invalid Target with Container on Road
-
Game.rooms[name].createConstructionSite(x, y, "container"); returns -7 when trying to build on location with road.
-
The issue was related to a creep, not to a road.
Fixed.
-
Pretty sure it was road... but alright.
Now I can't place a container, or any structure for that matter, on a tile with a road by hand.
-
Right, now it is related to roads (affected UI only). Fixed.
-
Might be related:
Game.rooms[name].createConstructionSite(x, y, STRUCTURE_ROAD) seems to return ERR_INVALID_TARGET when there's a rampart on the same tile already. works fine on empty fields, but not on Ramparts; and works fine when manually placing the Road ConstructionSite on the Rampart via UI.
-
Can confirm that building roads on ramparts still returns ERR_INVALID_TARGET