Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDoodadDoor

Hierarchy

Index

Properties

Optional decay

decay: number

Optional gatherReady

gatherReady: boolean

Optional gfx

gfx: number

id

id: number

Optional maxDur

maxDur: number

Optional minDur

minDur: number

orientation

orientation: DoorOrientation

Optional quality

quality: ItemQuality

Optional renamed

renamed: string

Optional spread

spread: number

Optional torch

Optional treasure

treasure: boolean

type

Optional weight

weight: number

x

x: number

y

y: number

z

z: number

Methods

addTreasureChestLoot

  • addTreasureChestLoot(): void

blocksMove

  • blocksMove(): boolean

canGather

  • canGather(player: IPlayer): boolean

canGrow

  • canGrow(): boolean
  • Returns boolean

canHarvest

  • canHarvest(player: IPlayer): boolean

canPickup

  • canPickup(player: IPlayer): boolean

canRename

  • canRename(): boolean
  • Returns boolean

causeStatus

  • causeStatus(player: IPlayer): void

changeType

checkForTrampling

  • checkForTrampling(playerOrCreatureId: IPlayer | number): boolean

damage

  • damage(forceBreak?: boolean): void
  • Parameters

    • Optional forceBreak: boolean

    Returns void

description

getDefaultDurability

  • getDefaultDurability(): void

getDurabilityMessage

getGrowingMessage

getGrowingStage

getInspect

setGrowingStage

  • setGrowingStage(stage: GrowingStage, updateTile?: boolean): void

setOffTrap

  • setOffTrap(player?: IPlayer, withMessage?: boolean): void
  • Parameters

    • Optional player: IPlayer
    • Optional withMessage: boolean

    Returns void

update

  • update(): void
  • Returns void

Generated using TypeDoc