Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDoodad

Hierarchy

Implemented by

Index

Properties

Optional decay

decay: number

Optional disassembly

disassembly: IItemArray

Optional gatherReady

gatherReady: boolean

Optional gfx

gfx: number

id

id: number

Optional legendary

legendary: IItemLegendary

Optional maxDur

maxDur: number

Optional minDur

minDur: number

Optional ownerIdentifier

ownerIdentifier: string

Optional quality

quality: ItemQuality

Optional renamed

renamed: string

Optional spread

spread: number

Optional treasure

treasure: boolean

type

Optional weight

weight: number

x

x: number

y

y: number

z

z: number

Methods

addTreasureChestLoot

  • addTreasureChestLoot(): void
  • Returns void

blocksMove

  • blocksMove(): boolean
  • Returns boolean

canGrow

  • canGrow(): boolean
  • Returns boolean

canHarvest

  • canHarvest(): boolean
  • Returns boolean

canPickup

  • canPickup(player: IPlayer): boolean
  • Parameters

    Returns boolean

causeStatus

  • causeStatus(player: IPlayer): void
  • Parameters

    Returns void

changeType

  • Parameters

    Returns void

checkForTrampling

  • checkForTrampling(playerOrCreatureId: IPlayer | number): boolean
  • Parameters

    • playerOrCreatureId: IPlayer | number

    Returns boolean

damage

  • damage(forceBreak?: boolean, isTrample?: boolean, skipSound?: boolean, skipResources?: boolean): void
  • Parameters

    • Optional forceBreak: boolean
    • Optional isTrample: boolean
    • Optional skipSound: boolean
    • Optional skipResources: boolean

    Returns void

description

getDefaultDurability

  • getDefaultDurability(): void
  • Returns void

getDurabilityMessage

  • Returns Message

getGrowingMessage

  • Parameters

    Returns string

getGrowingStage

  • Returns GrowingStage | undefined

getInspect

  • Returns IInspect[]

getTile

  • Returns ITile

isEmbers

  • isEmbers(): boolean
  • Returns boolean

isGatherable

  • isGatherable(): boolean
  • Returns boolean

isReadyToGather

  • isReadyToGather(): boolean
  • Returns boolean

isValid

  • isValid(): boolean
  • Returns boolean

setGrowingStage

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

    Returns 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