Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IItemDescription

Hierarchy

Index

Properties

Optional attack

attack: number

Optional craftable

craftable: boolean

Optional damageModifier

damageModifier: number

Optional damageType

damageType: DamageType

Optional decayMax

decayMax: number

Optional decaysInto

decaysInto: ItemType

Optional defense

defense: Defense

Optional description

description: string

Optional disassemble

disassemble: boolean

Optional dismantle

Optional doodadContainer

doodadContainer: DoodadType

Optional doodadType

doodadType: DoodadType

Optional durability

durability: number

Optional equip

equip: EquipType

Optional flammable

flammable: boolean

Optional group

group: ItemTypeGroup[]

Optional hasSleepImage

hasSleepImage: boolean

Optional imagePath

imagePath: string

Optional inheritWeight

inheritWeight: ItemType

Optional isTorch

isTorch: boolean

Optional keepDurabilityOnCraft

keepDurabilityOnCraft: boolean

Optional lit

Optional minimumWeight

minimumWeight: number

Optional modIndex

modIndex: number

Optional name

name: string

Optional onBurn

onBurn: ItemType

Optional onEquipEffect

onEquipEffect: any[]

Optional onUse

onUse: object

Type declaration

  • [index: number]: any

Optional plural

plural: string

Optional prefix

prefix: string

Optional ranged

ranged: IRanged

Optional recipe

recipe: IRecipe

Optional recipes

recipes: ItemType[]

Optional reducedWeight

reducedWeight: number

Optional repairable

repairable: boolean

Optional requiredForDisassembly

requiredForDisassembly: Array<ItemType | ItemTypeGroup>

Optional returnOnUse

returnOnUse: [ItemType, boolean]

Optional revert

revert: ItemType

Optional showOverHair

showOverHair: boolean

Optional skillUse

skillUse: SkillType

Optional spawnOnBreak

spawnOnBreak: CreatureType

Optional spawnOnDecay

spawnOnDecay: CreatureType

Optional suffix

suffix: string

Optional twoHanded

twoHanded: boolean

Optional use

use: ActionType[]

Optional weight

weight: number

Optional weightCapacity

weightCapacity: number

Methods

Optional onEquip

  • onEquip(item: IItem): void
  • Parameters

    Returns void

Optional onUnequip

  • onUnequip(item: IItem): void
  • Parameters

    Returns void

Generated using TypeDoc