screeps-api
    Preparing search index...

    Interface HasRestrictedStore<R>

    A RoomObject with a limited Store

    interface HasRestrictedStore<R extends Resource> {
        store: { [resType in Resource]: number };
        storeCapacityResource: { [resType in Resource]: number | null };
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    store: { [resType in Resource]: number }
    storeCapacityResource: { [resType in Resource]: number | null }

    Capacities should not be null, except on minerals in a lab when another mineral type is already being stored.