Options
All
  • Public
  • Public/Protected
  • All
Menu

Wayward

Index

Modules

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

ActionCallback

ActionCallback: function

Type declaration

ActionMessages

ActionMessages: Array<IMessagePack | Message>

ExecuteArgument

ExecuteArgument: IActionArgument | IItem | undefined

IDoodadContainerReference

IDoodadContainerReference: ITileContainerReference

IGameOld

IGameOld: IGameOld

IImageOverrides

IImageOverrides: Array<string | IImageOverrideDescription>

IItemArray

IItemArray: IItem[]

IOptionsOld

IOptionsOld: IOptionsOld

IPathfindingNode

IPathfindingNode: IPoint

IPlayerOld

IPlayerOld: IPlayerOld

ISkillSet

ISkillSet: SkillLevel[]

ITileContainer

ITileContainer: ITileContainer

ITileContainerReference

ITileContainerReference: ITileContainerReference

IWorldContainerReference

IWorldContainerReference: IContainerReference

MatchmakingMessageData

Packet

TerrainData

TerrainData: number

onDoodadUpdateDelegate

onDoodadUpdateDelegate: function

Type declaration

    • (x: number, y: number, doodadType: DoodadType | null, doodadVariation: number, flushImmediate: boolean): void
    • Parameters

      • x: number
      • y: number
      • doodadType: DoodadType | null
      • doodadVariation: number
      • flushImmediate: boolean

      Returns void

onTileUpdateDelegate

onTileUpdateDelegate: function

Type declaration

    • (x: number, y: number, flushImmediate: boolean): void
    • Parameters

      • x: number
      • y: number
      • flushImmediate: boolean

      Returns void

Variables

autoPauseOnSyncIssue

autoPauseOnSyncIssue: true = true

blockedPenalty

blockedPenalty: 50 = 50

changelogListRegExp

changelogListRegExp: RegExp = /^\s*(Beta|Release)\s+(\d+)\.(\d+)(?:\.(\d+))?(?:\s+"(.*?)")?(\s+\((January|February|March|April|May|June|July|August|September|October|November|December) (\d+(?:st|nd|rd|th)), (\d+)\))?\s*$/

checkSeedHistory

checkSeedHistory: true = true

concreteTypeKeys

concreteTypeKeys: Array<number> = Object.keys(concreteTypeMap).map((value) => parseInt(value, 10))

concreteTypeMap

concreteTypeMap: object

Type declaration

  • [index: number]: any

creatureDescriptions

creatureDescriptions: Description<ICreatureDescription>

dailyChallengeSlot

dailyChallengeSlot: number = -1

damageTypeToMessage

damageTypeToMessage: Array<Message> = Array<Message>()

debounces

debounces: object

Type declaration

  • [index: string]: number

defaultBackground

defaultBackground: TerrainTileInfo

defaultBinds

defaultBinds: IBindArray = []

defines

defines: Array<ITileEventDescription> = Array<ITileEventDescription | undefined>()

doodadDescriptions

doodadDescriptions: Description<IDoodadDescription>

doodadGroups

doodadGroups: Description<IGroupDescription>

emptyUint8Array

emptyUint8Array: Uint8Array | undefined = isEdge ? new Uint8Array(0) : undefined

english

english: Language = new Language("English", false, true)

equipTypeToMessage

equipTypeToMessage: Array<Message> = Array<Message>()

fakeLatency

fakeLatency: 0 = 0

finishedLoading

finishedLoading: boolean = false

globalSlot

globalSlot: number = 26

globalTooltipId

globalTooltipId: number = 0

hairColorDescriptions

hairColorDescriptions: object = createColorDescriptions(HairColor)

Type declaration

  • [index: number]: T

hairstyleDescriptions

hairstyleDescriptions: Description<IHairstyleDescription>

hints

hints: Array<IHint> = Array<IHint>()

hotKeyNumbers

hotKeyNumbers: KeyBind[] = [KeyBind.One,KeyBind.Two,KeyBind.Three,KeyBind.Four,KeyBind.Five,KeyBind.Six,KeyBind.Seven,KeyBind.Eight,KeyBind.Nine,KeyBind.Ten,KeyBind.Eleven,KeyBind.Twelve]

itemActionDescriptions

itemActionDescriptions: Description<IActionDescription>

itemDescriptions

itemDescriptions: Description<IItemDescription>

itemGroups

itemGroups: Description<IGroupDescription>

itemQualitySortOrder

itemQualitySortOrder: object

Type declaration

  • [index: number]: number

joinServerTimeout

joinServerTimeout: 5000 = 5000

keyCodes

keyCodes: Array<string> = ["", // 0"", // 1"", // 2"CANCEL", // 3"", // 4"", // 5"HELP", // 6"", // 7"BACKSPACE", // 8"TAB", // 9"", // 10"", // 11"CLEAR", // 12"ENTER", // 13"ENTER SPECIAL", // 14"", // 15"SHIFT", // 16"CONTROL", // 17"ALT", // 18"PAUSE", // 19"CAPS LOCK", // 20"KANA", // 21"EISU", // 22"JUNJA", // 23"FINAL", // 24"HANJA", // 25"", // 26"ESC", // 27"CONVERT", // 28"NON CONVERT", // 29"ACCEPT", // 30"MODE CHANGE", // 31"SPACE", // 32"PAGE UP", // 33"PAGE DOWN", // 34"END", // 35"HOME", // 36"LEFT", // 37"UP", // 38"RIGHT", // 39"DOWN", // 40"SELECT", // 41"PRINT", // 42"EXECUTE", // 43"PRINT SCREEN", // 44"INSERT", // 45"DELETE", // 46"", // 47"0", // 48"1", // 49"2", // 50"3", // 51"4", // 52"5", // 53"6", // 54"7", // 55"8", // 56"9", // 57":", // 58";", // 59"<", // 60"=", // 61">", // 62"?", // 63"@", // 64"A", // 65"B", // 66"C", // 67"D", // 68"E", // 69"F", // 70"G", // 71"H", // 72"I", // 73"J", // 74"K", // 75"L", // 76"M", // 77"N", // 78"O", // 79"P", // 80"Q", // 81"R", // 82"S", // 83"T", // 84"U", // 85"V", // 86"W", // 87"X", // 88"Y", // 89"Z", // 90"WINDOWS", // 91"", // 92"CONTEXT MENU", // 93"", // 94"SLEEP", // 95"NUMPAD0", // 96"NUMPAD1", // 97"NUMPAD2", // 98"NUMPAD3", // 99"NUMPAD4", // 100"NUMPAD5", // 101"NUMPAD6", // 102"NUMPAD7", // 103"NUMPAD8", // 104"NUMPAD9", // 105"MULTIPLY", // 106"ADD", // 107"SEPARATOR", // 108"SUBTRACT", // 109"DECIMAL", // 110"DIVIDE", // 111"F1", // 112"F2", // 113"F3", // 114"F4", // 115"F5", // 116"F6", // 117"F7", // 118"F8", // 119"F9", // 120"F10", // 121"F11", // 122"F12", // 123"F13", // 124"F14", // 125"F15", // 126"F16", // 127"F17", // 128"F18", // 129"F19", // 130"F20", // 131"F21", // 132"F22", // 133"F23", // 134"F24", // 135"", // 136"", // 137"", // 138"", // 139"", // 140"", // 141"", // 142"", // 143"NUM LOCK", // 144"SCROLL LOCK", // 145"WIN OEM FJ JISHO", // 146"WIN OEM FJ MASSHOU", // 147"WIN OEM FJ TOUROKU", // 148"WIN OEM FJ LOYA", // 149"WIN OEM FJ ROYA", // 150"", // 151"", // 152"", // 153"", // 154"", // 155"", // 156"", // 157"", // 158"", // 159"LEFT SHIFT", // 160"RIGHT SHIFT", // 161"LEFT CONTROL", // 162"RIGHT CONTROL", // 163"LEFT MENU", // 164"RIGHT MENU", // 165"BACK", // 166"FORWARD", // 167"REFRESH", // 168"STOP", // 169"SEARCH", // 170"FAVORITES", // 171"BROWSER/HOME", // 172"VOLUME MUTE", // 173"VOLUME DOWN", // 174"VOLUME UP", // 175"NEXT", // 176"PREVIOUS", // 177"STOP", // 178"PLAY/PAUSE", // 179"MAIL", // 180"MEDIA", // 181"START APP", // 182"START APP 2", // 183"", // 184"", // 185";", // 186"=", // 187",", // 188"-", // 189".", // 190"/", // 191"`", // 192"", // 193"", // 194"", // 195"", // 196"", // 197"", // 198"", // 199"", // 200"", // 201"", // 202"", // 203"", // 204"", // 205"", // 206"", // 207"", // 208"", // 209"", // 210"", // 211"", // 212"", // 213"", // 214"", // 215"", // 216"", // 217"", // 218"[", // 219"\\", // 220"]", // 221"'", // 222"", // 223"META", // 224"ALTGR", // 225"", // 226"WIN ICO HELP", // 227"WIN ICO 00", // 228"", // 229"WIN ICO CLEAR", // 230"", // 231"", // 232"WIN OEM RESET", // 233"WIN OEM JUMP", // 234"WIN OEM PA1", // 235"WIN OEM PA2", // 236"WIN OEM PA3", // 237"WIN OEM WSCTRL", // 238"WIN OEM CUSEL", // 239"WIN OEM ATTN", // 240"WIN OEM FINISH", // 241"WIN OEM COPY", // 242"WIN OEM AUTO", // 243"WIN OEM ENLW", // 244"WIN OEM BACKTAB", // 245"ATTN", // 246"CRSEL", // 247"EXSEL", // 248"EREOF", // 249"PLAY", // 250"ZOOM", // 251"", // 252"PA1", // 253"WIN OEM CLEAR", // 254"" // 255]

keybindOrder

keybindOrder: KeyBind[] = []

lastCreationIds

lastCreationIds: object

Type declaration

  • [index: number]: number

lineOfSightDetail

lineOfSightDetail: 4 = 4

lineOfSightRadius

lineOfSightRadius: 20 = 20

lootGroup

lootGroup: Array<Array<ItemType>> = Array<ItemType[] | undefined>()

markupTextBoldRegex

markupTextBoldRegex: RegExp = /(^|>|\s+)\*(.*?)\*(?=\s+|[,.<]|$)/g

markupTextItalicRegex

markupTextItalicRegex: RegExp = /(^|>|\s+)&#x2F;(.*?)&#x2F;(?=\s+|[,.<]|$)/g

markupTextLinkRegex

markupTextLinkRegex: RegExp = /(^|>|\s+)\[(.+?)\]\((https?:&#x2F;&#x2F;.+?)\)(?=\s+|[,.<]|$)/g

markupTextStrikethroughRegex

markupTextStrikethroughRegex: RegExp = /(^|>|\s+)-(.*?)-(?=\s+|[,.<]|$)/g

markupTextUnderlineRegex

markupTextUnderlineRegex: RegExp = /(^|>|\s+)_(.*?)_(?=\s+|[,.<]|$)/g

matchmakingServer

matchmakingServer: string = "localhost"

maxDistance

maxDistance: number

maxSlots

maxSlots: number = 5

messages

messages: Description<string>

milestones

milestones: Array<IMilestone> = Array<IMilestone>()

multiplayerSlot

multiplayerSlot: number = 27

onEquipTypes

onEquipTypes: IOnEquipType = []

playerKeyBinds

playerKeyBinds: KeyBind[] = [KeyBind.Idle,KeyBind.Up,KeyBind.Down,KeyBind.Left,KeyBind.Right,KeyBind.PrimaryMouse]

programs

programs: object

Type declaration

propertiesToSerialize

propertiesToSerialize: ISerializeProperty[] = [// classes{key: "game",property: ["game"]},{key: "player",property: ["localPlayer"]},{key: "absentPlayers",property: ["absentPlayers"]},{key: "ui",property: ["ui"]},{key: "world",property: ["world"],skipCompression: true},{key: "gameSlotName",property: ["saveData", "gameSlotName"]},{key: "gameWonGame",property: ["saveData", "gameWon"]},{key: "gameBaseSeed",property: ["saveData", "gameBaseSeed"]},{key: "saveTime",property: ["saveData", "saveManagerSaveTime"]},{key: "modsSaveData",property: ["saveData", "modManagerSaveData"]},{key: "modsUnloadable",property: ["saveData", "modManagerUnloadable"]},{key: "allocatedEnums",property: ["saveData", "utilitiesEnumsAllocated"]}]

propertiesToSerializeGlobal

propertiesToSerializeGlobal: ISerializeProperty[] = [{key: "lastPlayedVersion",property: ["game", "lastPlayedVersion"]},{key: "gamesPlayed",property: ["game", "playedCount"]},{key: "options",property: ["saveDataGlobal", "options"]},{key: "crafted",property: ["game", "crafted"]},{key: "newCrafted",property: ["game", "newCrafted"]},{key: "highscores",property: ["game", "highscores"]},{key: "milestoneData",property: ["saveDataGlobal", "playerMilestoneData"]},{key: "modState",property: ["saveDataGlobal", "modManagerModState"]},{key: "modsSaveDataGlobal",property: ["saveDataGlobal", "modManagerSaveData"]},{key: "languagesSaveData",property: ["saveDataGlobal", "languageManagerSaveData"]}]

recipeLevelToMessage

recipeLevelToMessage: Array<Message> = Array<Message>()

refDistance

refDistance: number

requireElectron

requireElectron: IRequire | undefined = typeof (requireelectron) !== "undefined" ? requireelectron : undefined

requireJs

requireJs: IRequire | undefined = typeof (requirejs) !== "undefined" ? requirejs : undefined

resource

resource: Array<ITerrainResource> = Array<ITerrainResource | undefined>()

rolloffFactor

rolloffFactor: number

serializeAllProperties

serializeAllProperties: string[] = []

skillDescriptions

skillDescriptions: Description<ISkillDescription>

skinColorDescriptions

skinColorDescriptions: object = createColorDescriptions(SkinColor)

Type declaration

  • [index: number]: T

spawnableTiles

spawnableTiles: Array<Array<TerrainType>> = Array<TerrainType[]>()

statColors

statColors: IStatColorLookup = []

subTileSize

subTileSize: number = 8

templates

templates: object

Type declaration

  • [id: number]: object

terrainDescriptions

terrainDescriptions: Description<ITerrainDescription>

tooltips

tooltips: object

Type declaration

tooltipsMap

tooltipsMap: object

Type declaration

  • [index: string]: number

versionInfoRegExp

versionInfoRegExp: RegExp = /^(beta|release)?(\d+)\.(\d+)(?:\.(\d+))?$/

waywardBoard

waywardBoard: "PWX1Hpjn" = "PWX1Hpjn"

Functions

RecipeComponent

  • RecipeComponent(type: ItemType.None | ItemType.Amber | ItemType.AnimalSkull | ItemType.Arrow | ItemType.StoneArrowhead | ItemType.PileOfAsh | ItemType.BarkLeggings | ItemType.BarkShield | ItemType.BarkTunic | ItemType.Bone | ItemType.Branch | ItemType.CactusSpines | ItemType.Charcoal | ItemType.CobblestoneFlooring | ItemType.CookedMeat | ItemType.Earthworm | ItemType.Feather | ItemType.Fertilizer | ItemType.WaterskinOfSeawater | ItemType.FirePlough | ItemType.FlowerSeeds | ItemType.Fossil | ItemType.GoldCoins | ItemType.GoldenChalice | ItemType.GoldenRing | ItemType.GoldenSword | ItemType.GrassSeeds | ItemType.IronOre | ItemType.Kindling | ItemType.LargeRock | ItemType.LeafBedroll | ItemType.LeatherHide | ItemType.Leaves | ItemType.Limestone | ItemType.Log | ItemType.MortarAndPestle | ItemType.WhiteMushrooms | ItemType.Nopal | ItemType.Peat | ItemType.Sandstone | ItemType.PileOfGravel | ItemType.PileOfSand | ItemType.WoodenArrow | ItemType.StoneAxe | ItemType.Bandage | ItemType.WovenFabric | ItemType.CactusNeedle | ItemType.StoneShovel | ItemType.WoodenSpear | ItemType.Suture | ItemType.Raft | ItemType.RawMeat | ItemType.RedBerries | ItemType.SpottedRedMushroom | ItemType.Rope | ItemType.Sapling | ItemType.Seaweed | ItemType.SharpGlass | ItemType.SharpRock | ItemType.Skullcap | ItemType.SmoothRock | ItemType.Soil | ItemType.StoneSpear | ItemType.Stones | ItemType.StoneWall | ItemType.String | ItemType.StrippedBark | ItemType.TannedLeather | ItemType.Tannin | ItemType.ThistleSeeds | ItemType.TreeBark | ItemType.TreeFungus | ItemType.Vine | ItemType.Twigs | ItemType.Waterskin | ItemType.WoodenPole | ItemType.PeatBandage | ItemType.Bow | ItemType.BowDrill | ItemType.FishingNet | ItemType.RawCod | ItemType.CookedCod | ItemType.StoneCampfire | ItemType.VineWhip | ItemType.PileOfSnow | ItemType.BarkTorch | ItemType.LitBarkTorch | ItemType.HandDrill | ItemType.SmallBag | ItemType.Shale | ItemType.SharpenedBone | ItemType.Grindstone | ItemType.RawFishSteak | ItemType.CookedFishSteak | ItemType.WaterskinOfDesalinatedWater | ItemType.BoatPaddle | ItemType.BullBoat | ItemType.RefinedSand | ItemType.Spyglass | ItemType.Flask | ItemType.RawClay | ItemType.RawClayBlowpipe | ItemType.ClayBlowpipe | ItemType.LeatherBelt | ItemType.LeatherTunic | ItemType.LeatherBoots | ItemType.LeatherCap | ItemType.LeatherGorget | ItemType.LeatherPants | ItemType.LeatherGloves | ItemType.StoneFurnace | ItemType.SandstoneKiln | ItemType.IronTongs | ItemType.Talc | ItemType.TalcumPowder | ItemType.SandCastFlask | ItemType.Lens | ItemType.PlantRoots | ItemType.LockPick | ItemType.BoneNeedle | ItemType.Pineapple | ItemType.TatteredMap | ItemType.Coal | ItemType.WroughtIron | ItemType.LimestonePowder | ItemType.IronIngot | ItemType.Backpack | ItemType.RottenMeat | ItemType.StoneHammer | ItemType.RawChicken | ItemType.CookedChicken | ItemType.StoneAnvil | ItemType.WoodenChest | ItemType.IronSword | ItemType.IronBreastplate | ItemType.IronBoots | ItemType.IronHelmet | ItemType.IronGorget | ItemType.IronGreaves | ItemType.IronGauntlets | ItemType.IronShield | ItemType.SandstoneWall | ItemType.SandstoneFlooring | ItemType.SpiderSilk | ItemType.AnimalFat | ItemType.AnimalFatTorch | ItemType.ClayFlakes | ItemType.GreenSand | ItemType.OldInstructionalScroll | ItemType.SlimeGelatin | ItemType.Glue | ItemType.CookedSpiderMeat | ItemType.SpiderMeat | ItemType.IronLockPick | ItemType.RottingVegetation | ItemType.WildOnion | ItemType.IronHammer | ItemType.IronSpear | ItemType.IronShovel | ItemType.IronDoubleAxe | ItemType.IronPickaxe | ItemType.Inkstick | ItemType.Coconut | ItemType.PalmLeaf | ItemType.Offal | ItemType.BoneFragments | ItemType.LitPoleTorch | ItemType.Cotton | ItemType.CottonSeeds | ItemType.CottonFabric | ItemType.BonePole | ItemType.Tourniquet | ItemType.WroughtIronPickaxe | ItemType.WroughtIronDoubleAxe | ItemType.WroughtIronShovel | ItemType.WroughtIronSpear | ItemType.WroughtIronHammer | ItemType.WroughtIronLockPick | ItemType.WroughtIronShield | ItemType.WroughtIronGauntlets | ItemType.WroughtIronGreaves | ItemType.WroughtIronGorget | ItemType.WroughtIronHelmet | ItemType.WroughtIronBoots | ItemType.WroughtIronBreastPlate | ItemType.WroughtIronSword | ItemType.WoodenWall | ItemType.WoodenFlooring | ItemType.WoodenDoor | ItemType.FishingRod | ItemType.MessageInABottle | ItemType.CarbonPowder | ItemType.PileOfCompost | ItemType.MeltedAmber | ItemType.WoodenShavings | ItemType.Deadfall | ItemType.Snare | ItemType.WaterskinOfMedicinalWater | ItemType.CharcoalBandage | ItemType.WoodenTongs | ItemType.WroughtIronTongs | ItemType.SheetOfGlass | ItemType.SolarStill | ItemType.StoneWaterStill | ItemType.Sundial | ItemType.LitAnimalFatTorch | ItemType.Sinew | ItemType.ShortBow | ItemType.LongBow | ItemType.CompositeBow | ItemType.WaterskinOfPurifiedFreshWater | ItemType.WaterskinOfUnpurifiedFreshWater | ItemType.GlassBottle | ItemType.Cork | ItemType.GlassBottleOfSeawater | ItemType.GlassBottleOfDesalinatedWater | ItemType.GlassBottleOfMedicinalWater | ItemType.GlassBottleOfPurifiedFreshWater | ItemType.GlassBottleOfUnpurifiedFreshWater | ItemType.WroughtIronArrow | ItemType.IronArrow | ItemType.StoneBullet | ItemType.WroughtIronBullet | ItemType.IronBullet | ItemType.LeatherQuiver | ItemType.Ectoplasm | ItemType.MagicalEssence | ItemType.WoodenFence | ItemType.CreatureIdol | ItemType.CordedSling | ItemType.LeatherSling | ItemType.WroughtIronArrowhead | ItemType.IronArrowhead | ItemType.Hammock | ItemType.CottonBedroll | ItemType.FeatherBedroll | ItemType.RawTaintedMeat | ItemType.CookedTaintedMeat | ItemType.StoneKnife | ItemType.RawBlindfish | ItemType.CookedBlindfish | ItemType.Pemmican | ItemType.PreparedPemmican | ItemType.Sail | ItemType.Sailboat | ItemType.Egg | ItemType.BoiledEgg | ItemType.GrassBlades | ItemType.Niter | ItemType.Saltpeter | ItemType.BlackPowder | ItemType.FlintlockPistol | ItemType.Giblets | ItemType.ExplosiveTrap | ItemType.SkeletalMageWand | ItemType.RawClayJug | ItemType.ClayJug | ItemType.ClayJugOfSeawater | ItemType.ClayJugOfDesalinatedWater | ItemType.ClayJugOfMedicinalWater | ItemType.ClayJugOfPurifiedFreshWater | ItemType.ClayJugOfUnpurifiedFreshWater | ItemType.RawClayBrick | ItemType.ClayBrick | ItemType.ClayBrickWall | ItemType.ClayBrickFlooring | ItemType.PineappleSeeds | ItemType.BerrySeeds | ItemType.CactiSeeds | ItemType.VineSeeds | ItemType.PaperSheet | ItemType.PaperMold | ItemType.FlowerPetals | ItemType.Thistles | ItemType.DrawnMap | ItemType.TatteredShirt | ItemType.TatteredPants | ItemType.WoodenGate | ItemType.PoisonIvyLeaves | ItemType.PoisonIvySeeds | ItemType.WroughtIronChest | ItemType.IronChest | ItemType.TallGrassSeeds | ItemType.Acorn | ItemType.SpiderEggs | ItemType.TailFeathers | ItemType.BigRedBerry | ItemType.VenomGland | ItemType.OrnateWoodenChest | ItemType.RollOfRedCarpet | ItemType.OrnateCape | ItemType.FireBladder | ItemType.GoldenKey | ItemType.WoodenSword | ItemType.ClayKiln | ItemType.ClayCampfire | ItemType.ClayFurnace | ItemType.ClayWaterStill | ItemType.SandstoneCampfire | ItemType.SandstoneFurnace | ItemType.SandstoneWaterStill | ItemType.StoneKiln | ItemType.WroughtIronAnvil | ItemType.IronAnvil | ItemType.MageRobe | ItemType.OrbOfMalign | ItemType.AnimalClaw | ItemType.AnimalPelt | ItemType.AnimalFur | ItemType.Scales | ItemType.SharkFin | ItemType.RawReptileMeat | ItemType.CookedReptileMeat | ItemType.Tentacles | ItemType.CookedTentacles | ItemType.WormMeat | ItemType.CookedWormMeat | ItemType.StonePickaxe | ItemType.WroughtIronAxe | ItemType.IronAxe | ItemType.FertileSoil | ItemType.StoneHoe | ItemType.WroughtIronHoe | ItemType.IronHoe | ItemType.LavaBeetleHelmet | ItemTypeGroup.Invalid | ItemTypeGroup.Sharpened | ItemTypeGroup.Carbon | ItemTypeGroup.Arrow | ItemTypeGroup.Skewer | ItemTypeGroup.Fuel | ItemTypeGroup.Medicinal | ItemTypeGroup.Meat | ItemTypeGroup.Food | ItemTypeGroup.Insect | ItemTypeGroup.Water | ItemTypeGroup.Treasure | ItemTypeGroup.Rock | ItemTypeGroup.Compost | ItemTypeGroup.Fabric | ItemTypeGroup.Needle | ItemTypeGroup.Cordage | ItemTypeGroup.SharpenedRock | ItemTypeGroup.Container | ItemTypeGroup.Pole | ItemTypeGroup.LightSource | ItemTypeGroup.Repair | ItemTypeGroup.Tongs | ItemTypeGroup.Hammer | ItemTypeGroup.Preservative | ItemTypeGroup.Reinforce | ItemTypeGroup.GlassBottleOfPotableWater | ItemTypeGroup.Bullet | ItemTypeGroup.Transmogrify | ItemTypeGroup.WaterskinOfPotableWater | ItemTypeGroup.Pulp | ItemTypeGroup.ClayJugOfPotableWater | ItemTypeGroup.Powder | ItemTypeGroup.Equipment | ItemTypeGroup.Gardening | ItemTypeGroup.Firemaking | ItemTypeGroup.Bedding | ItemTypeGroup.Tool | ItemTypeGroup.Weapon | ItemTypeGroup.Health | ItemTypeGroup.Travel | ItemTypeGroup.Housing | ItemTypeGroup.Heating | ItemTypeGroup.Storage | ItemTypeGroup.Trap | ItemTypeGroup.Other | ItemTypeGroup.RawMeat | ItemTypeGroup.CookedMeat | ItemTypeGroup.ContainerOfSeawater | ItemTypeGroup.ContainerOfDesalinatedWater | ItemTypeGroup.ContainerOfMedicinalWater | ItemTypeGroup.ContainerOfPurifiedFreshWater | ItemTypeGroup.ContainerOfUnpurifiedFreshWater | ItemTypeGroup.Campfire | ItemTypeGroup.Furnace | ItemTypeGroup.Kiln | ItemTypeGroup.WaterStill | ItemTypeGroup.Anvil | ItemTypeGroup.Seed | ItemTypeGroup.Fruit | ItemTypeGroup.Vegetable | ItemTypeGroup.Tinder | ItemTypeGroup.Bone | ItemTypeGroup.Last, requiredAmount: number, consumedAmount: number, disassembleAmount?: number, ignoreWeight?: boolean): IRecipeComponent
  • Parameters

    • type: ItemType.None | ItemType.Amber | ItemType.AnimalSkull | ItemType.Arrow | ItemType.StoneArrowhead | ItemType.PileOfAsh | ItemType.BarkLeggings | ItemType.BarkShield | ItemType.BarkTunic | ItemType.Bone | ItemType.Branch | ItemType.CactusSpines | ItemType.Charcoal | ItemType.CobblestoneFlooring | ItemType.CookedMeat | ItemType.Earthworm | ItemType.Feather | ItemType.Fertilizer | ItemType.WaterskinOfSeawater | ItemType.FirePlough | ItemType.FlowerSeeds | ItemType.Fossil | ItemType.GoldCoins | ItemType.GoldenChalice | ItemType.GoldenRing | ItemType.GoldenSword | ItemType.GrassSeeds | ItemType.IronOre | ItemType.Kindling | ItemType.LargeRock | ItemType.LeafBedroll | ItemType.LeatherHide | ItemType.Leaves | ItemType.Limestone | ItemType.Log | ItemType.MortarAndPestle | ItemType.WhiteMushrooms | ItemType.Nopal | ItemType.Peat | ItemType.Sandstone | ItemType.PileOfGravel | ItemType.PileOfSand | ItemType.WoodenArrow | ItemType.StoneAxe | ItemType.Bandage | ItemType.WovenFabric | ItemType.CactusNeedle | ItemType.StoneShovel | ItemType.WoodenSpear | ItemType.Suture | ItemType.Raft | ItemType.RawMeat | ItemType.RedBerries | ItemType.SpottedRedMushroom | ItemType.Rope | ItemType.Sapling | ItemType.Seaweed | ItemType.SharpGlass | ItemType.SharpRock | ItemType.Skullcap | ItemType.SmoothRock | ItemType.Soil | ItemType.StoneSpear | ItemType.Stones | ItemType.StoneWall | ItemType.String | ItemType.StrippedBark | ItemType.TannedLeather | ItemType.Tannin | ItemType.ThistleSeeds | ItemType.TreeBark | ItemType.TreeFungus | ItemType.Vine | ItemType.Twigs | ItemType.Waterskin | ItemType.WoodenPole | ItemType.PeatBandage | ItemType.Bow | ItemType.BowDrill | ItemType.FishingNet | ItemType.RawCod | ItemType.CookedCod | ItemType.StoneCampfire | ItemType.VineWhip | ItemType.PileOfSnow | ItemType.BarkTorch | ItemType.LitBarkTorch | ItemType.HandDrill | ItemType.SmallBag | ItemType.Shale | ItemType.SharpenedBone | ItemType.Grindstone | ItemType.RawFishSteak | ItemType.CookedFishSteak | ItemType.WaterskinOfDesalinatedWater | ItemType.BoatPaddle | ItemType.BullBoat | ItemType.RefinedSand | ItemType.Spyglass | ItemType.Flask | ItemType.RawClay | ItemType.RawClayBlowpipe | ItemType.ClayBlowpipe | ItemType.LeatherBelt | ItemType.LeatherTunic | ItemType.LeatherBoots | ItemType.LeatherCap | ItemType.LeatherGorget | ItemType.LeatherPants | ItemType.LeatherGloves | ItemType.StoneFurnace | ItemType.SandstoneKiln | ItemType.IronTongs | ItemType.Talc | ItemType.TalcumPowder | ItemType.SandCastFlask | ItemType.Lens | ItemType.PlantRoots | ItemType.LockPick | ItemType.BoneNeedle | ItemType.Pineapple | ItemType.TatteredMap | ItemType.Coal | ItemType.WroughtIron | ItemType.LimestonePowder | ItemType.IronIngot | ItemType.Backpack | ItemType.RottenMeat | ItemType.StoneHammer | ItemType.RawChicken | ItemType.CookedChicken | ItemType.StoneAnvil | ItemType.WoodenChest | ItemType.IronSword | ItemType.IronBreastplate | ItemType.IronBoots | ItemType.IronHelmet | ItemType.IronGorget | ItemType.IronGreaves | ItemType.IronGauntlets | ItemType.IronShield | ItemType.SandstoneWall | ItemType.SandstoneFlooring | ItemType.SpiderSilk | ItemType.AnimalFat | ItemType.AnimalFatTorch | ItemType.ClayFlakes | ItemType.GreenSand | ItemType.OldInstructionalScroll | ItemType.SlimeGelatin | ItemType.Glue | ItemType.CookedSpiderMeat | ItemType.SpiderMeat | ItemType.IronLockPick | ItemType.RottingVegetation | ItemType.WildOnion | ItemType.IronHammer | ItemType.IronSpear | ItemType.IronShovel | ItemType.IronDoubleAxe | ItemType.IronPickaxe | ItemType.Inkstick | ItemType.Coconut | ItemType.PalmLeaf | ItemType.Offal | ItemType.BoneFragments | ItemType.LitPoleTorch | ItemType.Cotton | ItemType.CottonSeeds | ItemType.CottonFabric | ItemType.BonePole | ItemType.Tourniquet | ItemType.WroughtIronPickaxe | ItemType.WroughtIronDoubleAxe | ItemType.WroughtIronShovel | ItemType.WroughtIronSpear | ItemType.WroughtIronHammer | ItemType.WroughtIronLockPick | ItemType.WroughtIronShield | ItemType.WroughtIronGauntlets | ItemType.WroughtIronGreaves | ItemType.WroughtIronGorget | ItemType.WroughtIronHelmet | ItemType.WroughtIronBoots | ItemType.WroughtIronBreastPlate | ItemType.WroughtIronSword | ItemType.WoodenWall | ItemType.WoodenFlooring | ItemType.WoodenDoor | ItemType.FishingRod | ItemType.MessageInABottle | ItemType.CarbonPowder | ItemType.PileOfCompost | ItemType.MeltedAmber | ItemType.WoodenShavings | ItemType.Deadfall | ItemType.Snare | ItemType.WaterskinOfMedicinalWater | ItemType.CharcoalBandage | ItemType.WoodenTongs | ItemType.WroughtIronTongs | ItemType.SheetOfGlass | ItemType.SolarStill | ItemType.StoneWaterStill | ItemType.Sundial | ItemType.LitAnimalFatTorch | ItemType.Sinew | ItemType.ShortBow | ItemType.LongBow | ItemType.CompositeBow | ItemType.WaterskinOfPurifiedFreshWater | ItemType.WaterskinOfUnpurifiedFreshWater | ItemType.GlassBottle | ItemType.Cork | ItemType.GlassBottleOfSeawater | ItemType.GlassBottleOfDesalinatedWater | ItemType.GlassBottleOfMedicinalWater | ItemType.GlassBottleOfPurifiedFreshWater | ItemType.GlassBottleOfUnpurifiedFreshWater | ItemType.WroughtIronArrow | ItemType.IronArrow | ItemType.StoneBullet | ItemType.WroughtIronBullet | ItemType.IronBullet | ItemType.LeatherQuiver | ItemType.Ectoplasm | ItemType.MagicalEssence | ItemType.WoodenFence | ItemType.CreatureIdol | ItemType.CordedSling | ItemType.LeatherSling | ItemType.WroughtIronArrowhead | ItemType.IronArrowhead | ItemType.Hammock | ItemType.CottonBedroll | ItemType.FeatherBedroll | ItemType.RawTaintedMeat | ItemType.CookedTaintedMeat | ItemType.StoneKnife | ItemType.RawBlindfish | ItemType.CookedBlindfish | ItemType.Pemmican | ItemType.PreparedPemmican | ItemType.Sail | ItemType.Sailboat | ItemType.Egg | ItemType.BoiledEgg | ItemType.GrassBlades | ItemType.Niter | ItemType.Saltpeter | ItemType.BlackPowder | ItemType.FlintlockPistol | ItemType.Giblets | ItemType.ExplosiveTrap | ItemType.SkeletalMageWand | ItemType.RawClayJug | ItemType.ClayJug | ItemType.ClayJugOfSeawater | ItemType.ClayJugOfDesalinatedWater | ItemType.ClayJugOfMedicinalWater | ItemType.ClayJugOfPurifiedFreshWater | ItemType.ClayJugOfUnpurifiedFreshWater | ItemType.RawClayBrick | ItemType.ClayBrick | ItemType.ClayBrickWall | ItemType.ClayBrickFlooring | ItemType.PineappleSeeds | ItemType.BerrySeeds | ItemType.CactiSeeds | ItemType.VineSeeds | ItemType.PaperSheet | ItemType.PaperMold | ItemType.FlowerPetals | ItemType.Thistles | ItemType.DrawnMap | ItemType.TatteredShirt | ItemType.TatteredPants | ItemType.WoodenGate | ItemType.PoisonIvyLeaves | ItemType.PoisonIvySeeds | ItemType.WroughtIronChest | ItemType.IronChest | ItemType.TallGrassSeeds | ItemType.Acorn | ItemType.SpiderEggs | ItemType.TailFeathers | ItemType.BigRedBerry | ItemType.VenomGland | ItemType.OrnateWoodenChest | ItemType.RollOfRedCarpet | ItemType.OrnateCape | ItemType.FireBladder | ItemType.GoldenKey | ItemType.WoodenSword | ItemType.ClayKiln | ItemType.ClayCampfire | ItemType.ClayFurnace | ItemType.ClayWaterStill | ItemType.SandstoneCampfire | ItemType.SandstoneFurnace | ItemType.SandstoneWaterStill | ItemType.StoneKiln | ItemType.WroughtIronAnvil | ItemType.IronAnvil | ItemType.MageRobe | ItemType.OrbOfMalign | ItemType.AnimalClaw | ItemType.AnimalPelt | ItemType.AnimalFur | ItemType.Scales | ItemType.SharkFin | ItemType.RawReptileMeat | ItemType.CookedReptileMeat | ItemType.Tentacles | ItemType.CookedTentacles | ItemType.WormMeat | ItemType.CookedWormMeat | ItemType.StonePickaxe | ItemType.WroughtIronAxe | ItemType.IronAxe | ItemType.FertileSoil | ItemType.StoneHoe | ItemType.WroughtIronHoe | ItemType.IronHoe | ItemType.LavaBeetleHelmet | ItemTypeGroup.Invalid | ItemTypeGroup.Sharpened | ItemTypeGroup.Carbon | ItemTypeGroup.Arrow | ItemTypeGroup.Skewer | ItemTypeGroup.Fuel | ItemTypeGroup.Medicinal | ItemTypeGroup.Meat | ItemTypeGroup.Food | ItemTypeGroup.Insect | ItemTypeGroup.Water | ItemTypeGroup.Treasure | ItemTypeGroup.Rock | ItemTypeGroup.Compost | ItemTypeGroup.Fabric | ItemTypeGroup.Needle | ItemTypeGroup.Cordage | ItemTypeGroup.SharpenedRock | ItemTypeGroup.Container | ItemTypeGroup.Pole | ItemTypeGroup.LightSource | ItemTypeGroup.Repair | ItemTypeGroup.Tongs | ItemTypeGroup.Hammer | ItemTypeGroup.Preservative | ItemTypeGroup.Reinforce | ItemTypeGroup.GlassBottleOfPotableWater | ItemTypeGroup.Bullet | ItemTypeGroup.Transmogrify | ItemTypeGroup.WaterskinOfPotableWater | ItemTypeGroup.Pulp | ItemTypeGroup.ClayJugOfPotableWater | ItemTypeGroup.Powder | ItemTypeGroup.Equipment | ItemTypeGroup.Gardening | ItemTypeGroup.Firemaking | ItemTypeGroup.Bedding | ItemTypeGroup.Tool | ItemTypeGroup.Weapon | ItemTypeGroup.Health | ItemTypeGroup.Travel | ItemTypeGroup.Housing | ItemTypeGroup.Heating | ItemTypeGroup.Storage | ItemTypeGroup.Trap | ItemTypeGroup.Other | ItemTypeGroup.RawMeat | ItemTypeGroup.CookedMeat | ItemTypeGroup.ContainerOfSeawater | ItemTypeGroup.ContainerOfDesalinatedWater | ItemTypeGroup.ContainerOfMedicinalWater | ItemTypeGroup.ContainerOfPurifiedFreshWater | ItemTypeGroup.ContainerOfUnpurifiedFreshWater | ItemTypeGroup.Campfire | ItemTypeGroup.Furnace | ItemTypeGroup.Kiln | ItemTypeGroup.WaterStill | ItemTypeGroup.Anvil | ItemTypeGroup.Seed | ItemTypeGroup.Fruit | ItemTypeGroup.Vegetable | ItemTypeGroup.Tinder | ItemTypeGroup.Bone | ItemTypeGroup.Last
    • requiredAmount: number
    • consumedAmount: number
    • Default value disassembleAmount: number = 0
    • Default value ignoreWeight: boolean = false

    Returns IRecipeComponent

addDefaultBind

  • addDefaultBind(key: KeyBind, value: number, type?: BindType, bindable?: boolean): void
  • Parameters

    • key: KeyBind
    • value: number
    • Default value type: BindType = BindType.Keyboard
    • Default value bindable: boolean = true

    Returns void

addFuel

arrayEquals

  • arrayEquals(arr1: any[], arr2: any[]): boolean
  • Parameters

    • arr1: any[]
    • arr2: any[]

    Returns boolean

arrayIncludes

  • arrayIncludes(arr: any[], find: any): boolean
  • Parameters

    • arr: any[]
    • find: any

    Returns boolean

attack

attackGeneric

blockMove

  • Parameters

    Returns void

build

carve

cast

clearFinishedLoading

  • clearFinishedLoading(): void
  • Returns void

closeDoor

compileShader

  • compileShader(gl: WebGLRenderingContext, src: string, type: number): WebGLShader
  • Parameters

    • gl: WebGLRenderingContext
    • src: string
    • type: number

    Returns WebGLShader

compileShaders

  • compileShaders(): void
  • Returns void

consumeItem

consumeItemType

copyPointZ

  • Parameters

    Returns IPointZ | undefined

craft

createColorDescriptions

  • createColorDescriptions(e: any): object
  • Parameters

    • e: any

    Returns object

    • [index: number]: T

createUniqueIdentifier

  • createUniqueIdentifier(): string
  • Returns string

debounce

  • debounce(id: string, callback: function, timeout: number): void
  • Parameters

    • id: string
    • callback: function
        • (): void
        • Returns void

    • timeout: number

    Returns void

decode

deserialize

dig

disassemble

dismantle

download

  • download(name: string, json: string): void
  • Parameters

    • name: string
    • json: string

    Returns void

drawMap

drinkInFrontAction

drop

equip

escapeHTML

  • escapeHTML(str: string): string
  • Parameters

    • str: string

    Returns string

extinguish

findPath

  • Parameters

    • canMoveCheck: function
        • (x: number, y: number): boolean
        • Parameters

          • x: number
          • y: number

          Returns boolean

    • result: IPathfindingResult

    Returns boolean

findUnusedId

  • findUnusedId(source: Source, things: any[]): number
  • Parameters

    • source: Source
    • things: any[]

    Returns number

fire

fixObjectCaseStyle

  • fixObjectCaseStyle(obj: any, caseStyle: CaseStyle, whitelist?: string[]): any
  • Parameters

    • obj: any
    • caseStyle: CaseStyle
    • Default value whitelist: string[] = []

    Returns any

fullDamageType

  • Parameters

    Returns string

gather

gatherTreasure

gatherWater

generateSVGColorMatrix

  • generateSVGColorMatrix(color: IRGB): string
  • Parameters

    Returns string

generateWorld

  • generateWorld(generateNewWorld: boolean, callback: function): void
  • Parameters

    • generateNewWorld: boolean
    • callback: function
        • (): void
        • Returns void

    Returns void

getDictionaryIndexByName

  • getDictionaryIndexByName(dictionaryName: string): number
  • Parameters

    • dictionaryName: string

    Returns number

getHourMinute

  • getHourMinute(time: number): object
  • Parameters

    • time: number

    Returns object

    • hour: number
    • minute: number

getManhattanDistance

getTileLoc

  • Parameters

    Returns Vec2

getTileVariation

  • getTileVariation(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

getTimeFormat

  • getTimeFormat(time: number, format?: TimeFormat): string
  • Parameters

    • time: number
    • Default value format: TimeFormat = TimeFormat.TwentyFourHour

    Returns string

getVersionDisplayString

  • getVersionDisplayString(version?: string | IVersionInfo): string
  • Parameters

    • Default value version: string | IVersionInfo = gameVersion

    Returns string

getVersionInfo

  • Parameters

    • version: string

    Returns IVersionInfo

getWaterType

  • Parameters

    Returns number

grasp

hasFinishedLoading

  • hasFinishedLoading(): boolean
  • Returns boolean

healCreature

idle

ignite

initialize

  • initialize(): void
  • Returns void

isCustomItemTypeGroup

isItemTypeGroup

isItemTypeInGroup

isJQuery

  • isJQuery(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

isNodeEqual

isSameVersion

jump

linkProgram

  • linkProgram(gl: WebGLRenderingContext, vs: WebGLShader, fs: WebGLShader): WebGLProgram
  • Parameters

    • gl: WebGLRenderingContext
    • vs: WebGLShader
    • fs: WebGLShader

    Returns WebGLProgram

loadDifferences

  • loadDifferences(): void
  • Returns void

loadImage

  • loadImage(src: any, callback: any): void
  • Parameters

    • src: any
    • callback: any

    Returns void

loadShaders

  • loadShaders(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

lockPick

makeString

  • makeString(msg: Message | string, ...variables: any[]): string
  • Parameters

    • msg: Message | string
    • Rest ...variables: any[]

    Returns string

mirrorTemplate

  • mirrorTemplate(templateArray: string[]): Array<string>
  • Parameters

    • templateArray: string[]

    Returns Array<string>

move

moveItem

moveTo

objectToPacketObject

  • objectToPacketObject<T>(object: T | undefined): IPacketObject<T> | undefined
  • Type parameters

    • T

    Parameters

    • object: T | undefined

    Returns IPacketObject<T> | undefined

offer

onLoad

  • onLoad(): void
  • Returns void

openBottle

openContainer

openDoor

packetObjectToObject

  • packetObjectToObject<T>(packetObject: IPacketObject<T> | undefined): T | undefined
  • Type parameters

    • T

    Parameters

    Returns T | undefined

paddle

parseMarkup

  • parseMarkup(markupText: string): string
  • Parameters

    • markupText: string

    Returns string

parseTimeFormat

  • parseTimeFormat(time: string): object
  • Parameters

    • time: string

    Returns object

    • hour: number
    • minute: number

pet

pickup

pickupAllItems

pickupItem

plant

pour

pourOnYourself

preserve

read

reinforce

release

removeDefaultKeybind

  • removeDefaultKeybind(key: KeyBind): void
  • Parameters

    Returns void

repair

rest

rotateTemplate

  • rotateTemplate(templateArray: string[]): Array<string>
  • Parameters

    • templateArray: string[]

    Returns Array<string>

rotateTileType90Deg

  • Parameters

    Returns TileType

rub

s4

  • s4(): string
  • Returns string

serialize

setDefaultBackground

  • Parameters

    Returns void

setDown

setFinishedLoading

  • setFinishedLoading(): void
  • Returns void

skillChance

  • skillChance(level: number): number
  • Parameters

    • level: number

    Returns number

skillSet

  • Returns ISkillSet

sleep

spawnDoodad

  • spawnDoodad(tileType: TerrainType, x: number, y: number, z: number, afterMapGen?: boolean): void
  • Parameters

    • tileType: TerrainType
    • x: number
    • y: number
    • z: number
    • Optional afterMapGen: boolean

    Returns void

spawnHouseItem

  • spawnHouseItem(x: number, y: number, z: number): void
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns void

spawnShoreItem

  • spawnShoreItem(x: number, y: number, z: number): void
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns void

spawnTemplate

  • spawnTemplate(templateType: TileTemplateType, x: number, y: number, z: number): void
  • Parameters

    Returns void

squeeze

startFire

stripParentDirectoryAccessorsFromPath

  • stripParentDirectoryAccessorsFromPath(path: string): string
  • Parameters

    • path: string

    Returns string

strokeFire

tame

teleport

tellTime

till

transmogrify

travelAway

unequip

updateDirection

upload

  • upload(callback: function, e: Event): void
  • Parameters

    • callback: function
        • (result: string): void
        • Parameters

          • result: string

          Returns void

    • e: Event

    Returns void

useItem

windowKeysToObject

  • windowKeysToObject(keys: string[]): any
  • Parameters

    • keys: string[]

    Returns any

windowKeysToParentObject

  • windowKeysToParentObject(keys: string[]): any
  • Parameters

    • keys: string[]

    Returns any

Object literals

action

action: object

type

type: ActionType = ActionType.UseItem

usableAsGhost

usableAsGhost: boolean = true

callback

config

config: object

iceServers

iceServers: Array<object> = [{urls: "stun:stun.services.mozilla.com"},{urls: "stun:stun.l.google.com:19302"}]

dayQuarterMap

dayQuarterMap: object

__computed

__computed: Message = Message.NightQuarter4

dictionaryEnums

dictionaryEnums: object

Action

Action: ActionType

Creature

Creature: CreatureType

Doodad

Doodad: DoodadType

DoodadGroup

DoodadGroup: DoodadTypeGroup

Hint

Hint: HintType

Item

Item: ItemType

ItemGroup

ItemGroup: ItemTypeGroup

Message

Message: Message

Milestone

Milestone: MilestoneType

OnEquip

OnEquip: OnEquipType

Skill

Skill: SkillType

Terrain

Terrain: TerrainType

TileEvent

TileEvent: TileEventType

Ui

UiStatic

UiStatic: UiMessageStatic

drink

drink: object

type

type: ActionType = ActionType.Drink

callback

drinkCure

drinkCure: object

callback

callback: consumeItem = consumeItem

type

type: ActionType = ActionType.DrinkCure

drinkInFront

drinkInFront: object

callback

callback: drinkInFrontAction = drinkInFrontAction

type

type: ActionType = ActionType.DrinkInFront

drinkItem

drinkItem: object

callback

callback: consumeItem = consumeItem

type

type: ActionType = ActionType.DrinkItem

eat

eat: object

callback

callback: consumeItem = consumeItem

type

type: ActionType = ActionType.Eat

escapeMap

escapeMap: object

"

": string = "&quot;"

&

&: string = "&amp;"

'

': string = "&#39;"

/

/: string = "&#x2F;"

<

<: string = "&lt;"

=

=: string = "&#x3D;"

>

>: string = "&gt;"

`

`: string = "&#x60;"

heal

heal: object

callback

callback: consumeItem = consumeItem

type

type: ActionType = ActionType.Heal

hourWordMap

hourWordMap: object

0

0: string = "zero"

1

1: string = "one"

10

10: string = "ten"

11

11: string = "eleven"

12

12: string = "twelve"

13

13: string = "thirteen"

14

14: string = "fourteen"

15

15: string = "fifteen"

16

16: string = "sixteen"

17

17: string = "seventeen"

18

18: string = "eighteen"

19

19: string = "nineteen"

2

2: string = "two"

20

20: string = "twenty"

21

21: string = "twenty-one"

22

22: string = "twenty-two"

23

23: string = "twenty-three"

24

24: string = "twenty-four"

3

3: string = "three"

4

4: string = "four"

5

5: string = "five"

6

6: string = "six"

7

7: string = "seven"

8

8: string = "eight"

9

9: string = "nine"

quadrant

quadrant: object

q1BottomLeft

q1BottomLeft: vec2 = new Vec2([.5, .25])

q1BottomRight

q1BottomRight: vec2 = new Vec2([.75, .25])

q1TopLeft

q1TopLeft: vec2 = new Vec2([.5, 0])

q1TopRight

q1TopRight: vec2 = new Vec2([.75, 0])

q2BottomLeft

q2BottomLeft: vec2 = new Vec2([0, .25])

q2BottomRight

q2BottomRight: vec2 = new Vec2([.25, .25])

q2TopLeft

q2TopLeft: vec2 = new Vec2([0, 0])

q2TopRight

q2TopRight: vec2 = new Vec2([.25, 0])

q3BottomLeft

q3BottomLeft: vec2 = new Vec2([0, .75])

q3BottomRight

q3BottomRight: vec2 = new Vec2([.25, .75])

q3TopLeft

q3TopLeft: vec2 = new Vec2([0, .5])

q3TopRight

q3TopRight: vec2 = new Vec2([.25, .5])

q4BottomLeft

q4BottomLeft: vec2 = new Vec2([.5, .75])

q4BottomRight

q4BottomRight: vec2 = new Vec2([.75, .75])

q4TopLeft

q4TopLeft: vec2 = new Vec2([.5, .5])

q4TopRight

q4TopRight: vec2 = new Vec2([.75, .5])

rubClockwise

rubClockwise: object

callback

callback: rub = rub

type

type: ActionType = ActionType.RubClockwise

rubCounterclockwise

rubCounterclockwise: object

callback

callback: rub = rub

type

type: ActionType = ActionType.RubCounterclockwise

sailToCivilization

sailToCivilization: object

callback

callback: travelAway = travelAway

type

type: ActionType = ActionType.SailToCivilization

statusEffectColors

statusEffectColors: object

burned

burned: IRGB = Color(200, 55, 0)

ghost

ghost: IRGB = Color(50, 100, 255)

poisoned

poisoned: IRGB = Color(116, 133, 0)

timeIsMap

timeIsMap: object

__computed

__computed: Message = Message.TimeIsNighttime

traverseTheSea

traverseTheSea: object

callback

callback: travelAway = travelAway

type

type: ActionType = ActionType.TraverseTheSea

upgradeProperties

upgradeProperties: object

files

files: string = "file"

language_files

language_files: string = "languages"

required_mods

required_mods: string = "dependencies"

Generated using TypeDoc