TOPIC · 13 GUIDES

Resources Screeps guides

Focused English articles connected to resources, organized with the same filters used by the main article library.

13 matching guides

Market and Advanced ResourcesAdvancedGuide

How to Create a Market Order Safely in Screeps

Create one reviewed market order with a one-time Memory request, validate Terminal ownership, calculate the 5% fee and Credit reserve, reject duplicates, snapshot the request, handle ERR_FULL without hard-coding a disputed order limit, and verify the order afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Execute a Reviewed Market Deal Safely

Execute one specified sell order with a one-time request, refresh the current order snapshot, use amount rather than remainingAmount, enforce a price ceiling, Credit and Terminal Energy reserves, estimate transaction cost, disable before deal(), and verify the transaction afterward.

19 min read
Market and Advanced ResourcesAdvancedGuide

How to Send Resources Between Terminals Safely

Plan one direct Terminal transfer with a one-time request, validate TERMINAL_MIN_SEND and the 100-character description, separate ordinary-resource and Energy budgets, preserve reserves, disable before send(), and verify outgoing transactions and Store changes afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Run Lab Reactions Safely in Screeps

Validate three owned active Labs, resolve the REACTIONS recipe, check reagent stores, output mineral compatibility, free capacity, range 2, cooldown, and a one-time production request before calling runReaction() and verifying the next tick.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Boost Creep Body Parts Safely in Screeps

Match a Lab mineral to BOOSTS, count eligible unboosted body parts, calculate LAB_BOOST_MINERAL and LAB_BOOST_ENERGY budgets, enforce range 1, ownership and activity, submit one reviewed boost request, and verify exact body-part changes afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Produce Factory Commodities Safely in Screeps

Validate an owned active Factory, resolve the COMMODITIES recipe, check all components and output capacity, respect cooldown, match commodity level to the Factory level and PWR_OPERATE_FACTORY effect, submit one reviewed production request, and verify Store deltas afterward.

19 min read
Market and Advanced ResourcesIntermediateGuide

How to Harvest Minerals with an Extractor Safely

Find the room Mineral, require a same-tile owned active Extractor, check mineralAmount, Extractor cooldown, active WORK parts, Creep capacity and range, handle harvest() return codes, and verify Store and regeneration state on later ticks.

17 min read
Room EconomyIntermediateGuide

How to Use Storage Energy Without Draining Your Reserve

Guard room.storage access, calculate withdrawable Energy above a configurable reserve, switch a hauler between withdrawal and delivery, select Spawn and Extension targets deterministically, handle action return codes, and verify same-tick capacity races.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Process Power Without Breaking Your Energy Budget

Recover an owned active Power Spawn, calculate base and PWR_OPERATE_POWER processing amounts, require Power and POWER_SPAWN_ENERGY_RATIO Energy, preserve a configurable room reserve, store GPL and resource snapshots, handle return codes, and verify later deltas.

18 min read
Construction and DefenseIntermediateDebugging

How to Launch a Nuke Without Reusing a Stale Target Request

Bind confirmation to target room and coordinates, recover an owned active Nuker by ID, check cooldown, NUKE_RANGE, Energy and Ghodium capacities, disable before launchNuke(), save the return code, and verify later evidence without requiring target-room visibility.

19 min read