screeps-api
    Preparing search index...

    Interface Tombstone

    A remnant of dead creeps. This is a walkable object.

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

    interface Tombstone {
        _id: string;
        creepBody: BodyPartType[];
        creepId: string;
        creepName: string;
        creepSaying: SayAction | null;
        creepTicksToLive: number;
        deathTime: number;
        decayTime: number;
        effects?: { [index: number]: Effect } | null;
        name?: string;
        room: string;
        store: Store;
        type: "tombstone";
        user: string;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _id: string
    creepBody: BodyPartType[]
    creepId: string
    creepName: string
    creepSaying: SayAction | null
    creepTicksToLive: number
    deathTime: number

    Tick at which the associated creep died

    decayTime: number

    Tick at which this object will disappear

    effects?: { [index: number]: Effect } | null

    Temporary effects that are active on this object

    name?: string
    room: string
    store: Store
    type: "tombstone"
    user: string

    ID of the user who owns this object.

    Note: NPCs do not have long-form hex ID strings like normal players:

    • Invader: "2"
    • SourceKeeper: "3"
    x: number
    y: number