UNPKG

screeps-cartographer

Version:

An advanced (and open source) movement library for Screeps

13 lines (12 loc) 307 B
/// <reference types="screeps" /> declare global { interface CreepMemory { state?: 'HARVEST' | 'UPGRADE' | 'DEPOSIT'; harvestSource?: Id<Source>; room: string; } } export declare const worker: { spawn: (spawn: StructureSpawn) => void; run: (creep: Creep) => void; };