Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDoodadManager

Hierarchy

  • IDoodadManager

Implemented by

Index

Methods

addTreasureChestLoot

  • addTreasureChestLoot(doodad: IDoodad): void
  • Parameters

    Returns void

canGrowInCaves

  • canGrowInCaves(doodad: IDoodad): boolean
  • Parameters

    Returns boolean

canPickup

  • canPickup(player: IPlayer, doodad: IDoodad, message?: boolean): boolean
  • Parameters

    Returns boolean

causeStatus

checkForTrampling

  • checkForTrampling(playerOrCreatureId: IPlayer | number, doodad: IDoodad): boolean
  • Parameters

    Returns boolean

create

  • create(type: DoodadType, x: number, y: number, z: number, spread?: number, decay?: number, minDur?: number, maxDur?: number, weight?: number): IDoodad | undefined
  • Parameters

    • type: DoodadType
    • x: number
    • y: number
    • z: number
    • Optional spread: number
    • Optional decay: number
    • Optional minDur: number
    • Optional maxDur: number
    • Optional weight: number

    Returns IDoodad | undefined

damage

  • damage(doodad: IDoodad, forceBreak?: boolean): void
  • Parameters

    • doodad: IDoodad
    • Optional forceBreak: boolean

    Returns void

gather

  • Parameters

    Returns void

getDurabilityMessage

  • Parameters

    Returns Message

getGardenFertilityMessage

  • getGardenFertilityMessage(spread: number): Message
  • Parameters

    • spread: number

    Returns Message

inspect

  • Parameters

    Returns IInspect[]

isDoodadTypeGroup

  • isDoodadTypeGroup(doodadType: DoodadType.WoodenDoor | DoodadType.WoodenFence | DoodadType.WoodenWall | DoodadType.ClayBrickWall | DoodadType.SandstoneWall | DoodadType.StoneWall | DoodadType.SetExplosiveTrap | DoodadType.SetDeadfall | DoodadType.SetSnare | DoodadType.SetHobgoblinSnare | DoodadType.SolarStill | DoodadType.WoodenChest | DoodadType.LockedWoodenChest | DoodadType.CreatureIdol | DoodadType.GrowingGrass | DoodadType.Vines | DoodadType.Thistles | DoodadType.GrowingMushroom | DoodadType.WhiteMushrooms | DoodadType.SpottedRedMushroom | DoodadType.TallGrass | DoodadType.Seaweed | DoodadType.WildOnion | DoodadType.PineapplePlant | DoodadType.PileOfRocks | DoodadType.BerryBush | DoodadType.YellowFlowers | DoodadType.Sapling | DoodadType.GrowingPlant | DoodadType.Cotton | DoodadType.Tree | DoodadType.TreeWithVines | DoodadType.TreeWithBerries | DoodadType.TreeWithFungus | DoodadType.BareTree | DoodadType.PalmTreeWithCoconuts | DoodadType.PalmTree | DoodadType.BarePalmTree | DoodadType.Cacti | DoodadType.DeadBush | DoodadType.StoneWaterStill | DoodadType.LitStoneWaterStill | DoodadType.StoneCampfire | DoodadType.LitStoneCampfire | DoodadType.SandstoneKiln | DoodadType.LitSandstoneKiln | DoodadType.StoneFurnace | DoodadType.LitStoneFurnace | DoodadType.TorchStand | DoodadType.LitTorchStand | DoodadType.StoneAnvil | DoodadType.Acid | DoodadType.CaveEntrance | DoodadType.WoodenDoorOpen | DoodadType.WoodenGate | DoodadType.WoodenGateOpen | DoodadType.PoisonIvy | DoodadType.WroughtIronChest | DoodadType.IronChest | DoodadType.OrnateWoodenChest | DoodadType.SkeletalRemains | DoodadType.ClayKiln | DoodadType.LitClayKiln | DoodadType.ClayCampfire | DoodadType.LitClayCampfire | DoodadType.ClayFurnace | DoodadType.LitClayFurnace | DoodadType.ClayWaterStill | DoodadType.LitClayWaterStill | DoodadType.SandstoneCampfire | DoodadType.LitSandstoneCampfire | DoodadType.SandstoneFurnace | DoodadType.LitSandstoneFurnace | DoodadType.SandstoneWaterStill | DoodadType.LitSandstoneWaterStill | DoodadType.StoneKiln | DoodadType.LitStoneKiln | DoodadType.WroughtIronAnvil | DoodadType.IronAnvil | DoodadTypeGroup.Invalid | DoodadTypeGroup.LitCampfire | DoodadTypeGroup.LitFurnace | DoodadTypeGroup.LitKiln | DoodadTypeGroup.LitWaterStill | DoodadTypeGroup.Anvil | DoodadTypeGroup.Last): boolean
  • Parameters

    • doodadType: DoodadType.WoodenDoor | DoodadType.WoodenFence | DoodadType.WoodenWall | DoodadType.ClayBrickWall | DoodadType.SandstoneWall | DoodadType.StoneWall | DoodadType.SetExplosiveTrap | DoodadType.SetDeadfall | DoodadType.SetSnare | DoodadType.SetHobgoblinSnare | DoodadType.SolarStill | DoodadType.WoodenChest | DoodadType.LockedWoodenChest | DoodadType.CreatureIdol | DoodadType.GrowingGrass | DoodadType.Vines | DoodadType.Thistles | DoodadType.GrowingMushroom | DoodadType.WhiteMushrooms | DoodadType.SpottedRedMushroom | DoodadType.TallGrass | DoodadType.Seaweed | DoodadType.WildOnion | DoodadType.PineapplePlant | DoodadType.PileOfRocks | DoodadType.BerryBush | DoodadType.YellowFlowers | DoodadType.Sapling | DoodadType.GrowingPlant | DoodadType.Cotton | DoodadType.Tree | DoodadType.TreeWithVines | DoodadType.TreeWithBerries | DoodadType.TreeWithFungus | DoodadType.BareTree | DoodadType.PalmTreeWithCoconuts | DoodadType.PalmTree | DoodadType.BarePalmTree | DoodadType.Cacti | DoodadType.DeadBush | DoodadType.StoneWaterStill | DoodadType.LitStoneWaterStill | DoodadType.StoneCampfire | DoodadType.LitStoneCampfire | DoodadType.SandstoneKiln | DoodadType.LitSandstoneKiln | DoodadType.StoneFurnace | DoodadType.LitStoneFurnace | DoodadType.TorchStand | DoodadType.LitTorchStand | DoodadType.StoneAnvil | DoodadType.Acid | DoodadType.CaveEntrance | DoodadType.WoodenDoorOpen | DoodadType.WoodenGate | DoodadType.WoodenGateOpen | DoodadType.PoisonIvy | DoodadType.WroughtIronChest | DoodadType.IronChest | DoodadType.OrnateWoodenChest | DoodadType.SkeletalRemains | DoodadType.ClayKiln | DoodadType.LitClayKiln | DoodadType.ClayCampfire | DoodadType.LitClayCampfire | DoodadType.ClayFurnace | DoodadType.LitClayFurnace | DoodadType.ClayWaterStill | DoodadType.LitClayWaterStill | DoodadType.SandstoneCampfire | DoodadType.LitSandstoneCampfire | DoodadType.SandstoneFurnace | DoodadType.LitSandstoneFurnace | DoodadType.SandstoneWaterStill | DoodadType.LitSandstoneWaterStill | DoodadType.StoneKiln | DoodadType.LitStoneKiln | DoodadType.WroughtIronAnvil | DoodadType.IronAnvil | DoodadTypeGroup.Invalid | DoodadTypeGroup.LitCampfire | DoodadTypeGroup.LitFurnace | DoodadTypeGroup.LitKiln | DoodadTypeGroup.LitWaterStill | DoodadTypeGroup.Anvil | DoodadTypeGroup.Last

    Returns boolean

messageGardenFertility

  • messageGardenFertility(player: IPlayer, spread: number): void
  • Parameters

    Returns void

pickup

  • pickup(player: IPlayer, x: number, y: number, z: number): void
  • Parameters

    • player: IPlayer
    • x: number
    • y: number
    • z: number

    Returns void

remove

  • Parameters

    Returns void

update

  • Parameters

    Returns void

updateAll

  • updateAll(): void
  • Returns void

Generated using TypeDoc