Resource (Object)

From Screeps Wiki
Revision as of 03:08, 4 December 2016 by SemperRabbit (talk | contribs) (Created page with "The Resource class represents a dropped pile of resources that requires a creep to pickup() to use. It will decay if it is not picked up soon enough. == Finding Resource obje...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Resource class represents a dropped pile of resources that requires a creep to pickup() to use. It will decay if it is not picked up soon enough.

Finding Resource objects

You will need to use one of the find methods of either a [Room] object, or a [RoomPosition] object to programmatically access either an array of them or just one.