screeps-api
    Preparing search index...

    Interface StructureRoad

    Decreases movement cost to 1. Using roads allows creating creeps with less MOVE body parts.

    https://docs.screeps.com/api/#StructureRoad

    interface StructureRoad {
        _id: string;
        _isDisabled: boolean;
        effects?: { [index: number]: Effect } | null;
        hits: number;
        hitsMax: number;
        name?: string;
        nextDecayTime: number;
        notifyWhenAttacked: boolean;
        room: string;
        type: "road";
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _id: string
    _isDisabled: boolean
    effects?: { [index: number]: Effect } | null

    Temporary effects that are active on this object

    hits: number
    hitsMax: number
    name?: string
    nextDecayTime: number

    Tick at which the structure will next take decay damage

    notifyWhenAttacked: boolean
    room: string
    type: "road"
    x: number
    y: number