RoomObject
Jump to navigation
Jump to search
This article is a stub. You can help Screeps Wiki by editing to add more information.
RoomObjects are what objects that can exist in a room are derived from. The prototype contains three properties, which any objects derived from it contain as well: Effects, which are currently applied using power creeps' powers, RoomPositions, and the Room the object is in. Aside from creeps RoomObjects cannot leave the room they belong to, even if they are on exits (as in the case of tombstones).
Note that terrain is not part of the RoomObjects. As a rule of thumb, anything where clicking will bring up the section with details on the interface's right panel is part of the RoomObject prototype.