@wayward/types 2.14.0-beta.dev.20240221.1 → 2.14.0-beta.dev.20240223.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
96
96
  milestonesCollection?: GameplayModifiersCollection<MilestoneModifier, Milestone>;
97
97
  paused: Set<PauseSource>;
98
98
  playing: boolean;
99
- resetting: boolean;
99
+ resetting: Promise<void> | undefined;
100
100
  previousSaveVersion: IVersionInfo;
101
101
  saveClear: boolean;
102
102
  saveSize?: string;
@@ -27,6 +27,7 @@ export declare const actionDescriptionsSlow: {
27
27
  99: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Tile]], import("../../doodad/Doodad").default | import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Gather").IGatherCanUse, [(import("../../item/Item").default | undefined)?, (import("../../tile/Tile").default | undefined)?]>;
28
28
  71: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Container, import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleContainer").IToggleContainerCanUse, [(import("../npc/NPC").default | import("../../item/IItem").IContainer | undefined)?, (boolean | undefined)?]>;
29
29
  50: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/ToggleDoor").IToggleDoorCanUse, [(import("../../doodad/Doodad").default | undefined)?, (boolean | undefined)?]>;
30
+ 48: import("./Action").Action<[], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
30
31
  26: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../item/Item").default]>;
31
32
  66: import("./Action").Action<[import("./argument/ActionArgumentEnum").default<import("../../item/IItem").ItemType, "Bow" | "None" | "HideGlue" | "AnimalSkull" | "GraniteArrow" | "GraniteArrowhead" | "PileOfAsh" | "BarkLeggings" | "BarkShield" | "BarkTunic" | "Bone" | "Branch" | "CactusSpines" | "Charcoal" | "GraniteFlooring" | "CookedMeat" | "Earthworm" | "Feather" | "Fertilizer" | "WaterskinOfSeawater" | "FirePlough" | "BeggartickSeeds" | "Fossil" | "GoldCoins" | "GoldenChalice" | "GoldenRing" | "GoldShortSword" | "GrassSeeds" | "IronOre" | "WoodenDowels" | "Granite" | "LeafBedroll" | "LeatherHide" | "Leaves" | "Limestone" | "Log" | "GraniteMortarAndPestle" | "ButtonMushrooms" | "Nopal" | "Peat" | "Sandstone" | "PileOfGravel" | "PileOfBeachSand" | "WoodenArrow" | "GraniteAxe" | "Bandage" | "WovenFabric" | "CactusNeedle" | "GraniteShovel" | "WoodenSpear" | "Suture" | "Raft" | "RawMeat" | "Raspberries" | "FlyAmanita" | "Rope" | "MapleSeeds" | "Badderlocks" | "SharpGlass" | "SharpGranite" | "Skullcap" | "SmoothGranite" | "Soil" | "GraniteSpear" | "Stones" | "GraniteWall" | "String" | "StrippedBark" | "TannedLeather" | "Tannin" | "MilkThistleSeeds" | "TreeBark" | "HoneyFungus" | "ClematisVine" | "Twigs" | "Waterskin" | "WoodenPole" | "PeatBandage" | "BowDrill" | "FishingNet" | "RawCod" | "CookedCod" | "GraniteCampfire" | "VineWhip" | "PileOfSnow" | "BarkTorch" | "LitBarkTorch" | "HandDrill" | "SmallBag" | "Shale" | "SharpenedBone" | "Grindstone" | "RawFishSteak" | "CookedFishSteak" | "WaterskinOfDesalinatedWater" | "BoatPaddle" | "BullBoat" | "RefinedSand" | "Spyglass" | "Retort" | "RawClay" | "RawClayBlowpipe" | "ClayBlowpipe" | "LeatherBelt" | "LeatherTunic" | "LeatherBoots" | "LeatherCap" | "LeatherGorget" | "LeatherPants" | "LeatherGloves" | "GraniteFurnace" | "SandstoneKiln" | "IronTongs" | "Talc" | "TalcumPowder" | "WoodenSandCastFlask" | "Lens" | "PlantRoots" | "Lockpick" | "BoneNeedle" | "Pineapple" | "TatteredMap" | "Coal" | "SmeltedWroughtIron" | "LimestonePowder" | "SmeltedIron" | "Backpack" | "RottenMeat" | "GraniteHammer" | "RawChicken" | "CookedChicken" | "GraniteAnvil" | "WoodenChest" | "IronShortSword" | "IronBreastplate" | "IronBoots" | "IronHelmet" | "IronGorget" | "IronCuisses" | "IronGauntlets" | "IronHeater" | "SandstoneWall" | "SandstoneFlooring" | "SpiderSilk" | "AnimalFat" | "TallowTorch" | "ClayFlakes" | "GreenSand" | "OldInstructionalScroll" | "SlimeGelatin" | "SlimeGlue" | "CookedSpiderMeat" | "SpiderMeat" | "IronLockpick" | "RottingVegetation" | "Chives" | "IronHammer" | "IronSpear" | "IronShovel" | "IronDoubleAxe" | "IronPickaxe" | "Inkstick" | "Coconut" | "PalmLeaf" | "Offal" | "BoneFragments" | "LitPoleTorch" | "CottonBoll" | "CottonSeeds" | "CottonFabric" | "BonePole" | "Tourniquet" | "WroughtIronPickaxe" | "WroughtIronDoubleAxe" | "WroughtIronShovel" | "WroughtIronSpear" | "WroughtIronHammer" | "WroughtIronLockpick" | "WroughtIronShield" | "WroughtIronGauntlets" | "WroughtIronCuisses" | "WroughtIronGorget" | "WroughtIronHelmet" | "WroughtIronBoots" | "WroughtIronBreastplate" | "WroughtIronShortSword" | "WoodenWall" | "WoodenFlooring" | "WoodenDoor" | "FishingRod" | "MessageInABottle" | "CarbonPowder" | "PileOfCompost" | "FishGlue" | "WoodenShavings" | "GraniteDeadfall" | "Snare" | "WaterskinOfMedicinalWater" | "CharcoalBandage" | "WoodenTongs" | "WroughtIronTongs" | "SheetOfGlass" | "SolarStill" | "TinWaterStill" | "GraniteSundial" | "LitTallowTorch" | "Sinew" | "ShortBow" | "LongBow" | "CompositeBow" | "WaterskinOfPurifiedFreshWater" | "WaterskinOfUnpurifiedFreshWater" | "GlassBottle" | "Cork" | "GlassBottleOfSeawater" | "GlassBottleOfDesalinatedWater" | "GlassBottleOfMedicinalWater" | "GlassBottleOfPurifiedFreshWater" | "GlassBottleOfUnpurifiedFreshWater" | "WroughtIronArrow" | "IronArrow" | "GraniteBullet" | "WroughtIronBullet" | "IronBullet" | "LeatherQuiver" | "Ectoplasm" | "MagicalEssence" | "WoodenFence" | "CreatureIdol" | "CordedSling" | "LeatherSling" | "WroughtIronArrowhead" | "IronArrowhead" | "Hammock" | "CottonBedroll" | "FeatherBedroll" | "RawTaintedMeat" | "CookedTaintedMeat" | "GraniteKnife" | "RawBlindfish" | "CookedBlindfish" | "Pemmican" | "CookedPemmican" | "Sail" | "Sailboat" | "ChickenEgg" | "BoiledChickenEgg" | "SheafOfHay" | "Niter" | "Saltpeter" | "BlackPowder" | "FlintlockPistol" | "Giblets" | "ExplosiveTrap" | "SkeletalMageWand" | "RawClayJug" | "ClayJug" | "ClayJugOfSeawater" | "ClayJugOfDesalinatedWater" | "ClayJugOfMedicinalWater" | "ClayJugOfPurifiedFreshWater" | "ClayJugOfUnpurifiedFreshWater" | "RawClayBrick" | "ClayBrick" | "ClayWall" | "ClayFlooring" | "PineappleSeeds" | "RaspberrySeeds" | "PricklyPearSeeds" | "ClematisSeeds" | "PaperSheet" | "PaperMold" | "Beggarticks" | "MilkThistleFlowers" | "DrawnMap" | "TatteredClothShirt" | "TatteredClothTrousers" | "WoodenGate" | "PoisonIvyLeaves" | "PoisonIvySeeds" | "WroughtIronChest" | "IronChest" | "SwitchgrassSeeds" | "Apple" | "SpiderEggs" | "TailFeathers" | "AppleSeeds" | "VenomGland" | "OrnateWoodenChest" | "RollOfRedCarpet" | "OrnateCape" | "FireBladder" | "GoldenKey" | "WoodenShortSword" | "ClayKiln" | "ClayCampfire" | "ClayFurnace" | "CopperWaterStill" | "SandstoneCampfire" | "SandstoneFurnace" | "WroughtIronWaterStill" | "GraniteKiln" | "WroughtIronAnvil" | "IronAnvil" | "MageRobe" | "CrackedOrb" | "AnimalClaw" | "AnimalPelt" | "AnimalFur" | "Scales" | "SharkFin" | "RawReptileMeat" | "CookedReptileMeat" | "Tentacles" | "CookedTentacles" | "WormMeat" | "CookedWormMeat" | "GranitePickaxe" | "WroughtIronAxe" | "IronAxe" | "FertileSoil" | "GraniteHoe" | "WroughtIronHoe" | "IronHoe" | "LavaBeetleHelmet" | "SpruceCone" | "SpruceSeeds" | "SpruceNeedles" | "CypressCone" | "CypressSeeds" | "CypressLeaves" | "Lettuce" | "LettuceSeeds" | "ChiveSeeds" | "Potato" | "PotatoSeeds" | "Carrot" | "CarrotSeeds" | "CornEar" | "CornSeeds" | "Cucumber" | "CucumberSeeds" | "Tomato" | "TomatoSeeds" | "Pumpkin" | "PumpkinSeeds" | "PricklyPearFruit" | "SugarCaneStalks" | "SugarCaneSeeds" | "BushelOfWheat" | "Wheat" | "CookedPotato" | "CookedCornCob" | "BundleOfSwitchgrass" | "Cloak" | "WoodenMortarAndPestle" | "SandstoneMortarAndPestle" | "WroughtIronMortarAndPestle" | "IronMortarAndPestle" | "RawClayMortarAndPestle" | "ClayMortarAndPestle" | "CopperOre" | "SmeltedCopper" | "CopperPickaxe" | "CopperDoubleAxe" | "CopperShovel" | "CopperSpear" | "CopperHammer" | "CopperLockpick" | "CopperBuckler" | "CopperGauntlets" | "CopperGreaves" | "CopperGorget" | "CopperHelmet" | "CopperBoots" | "CopperCuirass" | "CopperShortSword" | "CopperTongs" | "CopperArrow" | "CopperBullet" | "CopperArrowhead" | "CopperChest" | "CopperAnvil" | "CopperAxe" | "CopperHoe" | "CopperMortarAndPestle" | "WaterskinOfGoatMilk" | "ClayJugOfGoatMilk" | "GlassBottleOfGoatMilk" | "Obsidian" | "OrnateBlueBook" | "Journal" | "MossCoveredBook" | "GildedRedBook" | "ArrowShaft" | "SlitherSucker" | "AberrantSlitherSucker" | "StrawHat" | "BlackplateSabatons" | "BlackplateBreastplate" | "BlackplateGauntlets" | "BlackplateGorget" | "BlackplateGreaves" | "BlackplateHelmet" | "DeathKnightAxe" | "Macuahuitl" | "ObsidianArrow" | "ObsidianArrowhead" | "ObsidianAxe" | "ObsidianKnife" | "ObsidianShovel" | "ObsidianSpear" | "TumbleweedSeeds" | "CoconutHusk" | "PeeledCoconut" | "CoconutMeat" | "CoconutContainerOfCoconutWater" | "CoconutContainer" | "CoconutContainerOfSeawater" | "CoconutContainerOfDesalinatedWater" | "CoconutContainerOfMedicinalWater" | "CoconutContainerOfPurifiedFreshWater" | "CoconutContainerOfUnpurifiedFreshWater" | "CoconutContainerOfGoatMilk" | "OldEducationalScroll" | "StrippedHide" | "ClaySandCastFlask" | "SandstoneSandCastFlask" | "GraniteSandCastFlask" | "BoneGlue" | "CutHide" | "BoneMeal" | "PileOfDesertSand" | "JoshuaTreeLeaves" | "JoshuaTreeFruit" | "JoshuaTreeSeeds" | "CookedJoshuaTreeFruit" | "JoshuaTreeFlowers" | "SaguaroCactusFruit" | "SaguaroCactusSeeds" | "SaguaroCactusChunk" | "GraniteWell" | "SandstoneWell" | "ClayWell" | "AloeVeraLeaves" | "AloeVeraSeeds" | "DeadScorpion" | "DeadAberrantScorpion" | "CookedScorpion" | "CookedAberrantScorpion" | "ScorpionStinger" | "CopperBakingTray" | "WroughtIronBakingTray" | "IronBakingTray" | "Flour" | "Dough" | "Hardtack" | "HitchingPost" | "ShreddedPaper" | "RawMudskipper" | "RawAberrantMudskipper" | "CookedMudskipper" | "CookedAberrantMudskipper" | "RawRedSnapper" | "CookedRedSnapper" | "RawWalleye" | "CookedWalleye" | "WoodenShield" | "CopperRefinementTools" | "WroughtIronRefinementTools" | "IronRefinementTools" | "ScaleBelt" | "ScaleVest" | "ScaleBoots" | "ScaleCap" | "ScaleBevor" | "ScaleLeggings" | "ScaleGloves" | "CookedJoshuaTreeFlowers" | "SaguaroCactusRibs" | "BladesOfGrass" | "AnimalDroppings" | "AnimalDung" | "Guano" | "Tallow" | "TallowCandle" | "LitTallowCandle" | "WispDust" | "MagicalAspect" | "GoldenSextant" | "RawChoppedFish" | "CookedChoppedFish" | "CookedFishKebab" | "AshCement" | "AshCementBrick" | "AshCementFlooring" | "AshCementWall" | "IceShard" | "PenguinEgg" | "BoiledPenguinEgg" | "RawPenguinMeat" | "CookedPenguinMeat" | "Crowberries" | "CookedCrowberries" | "CrowberrySeeds" | "Winterberries" | "WinterberrySeeds" | "ArcticPoppies" | "ArcticPoppySeeds" | "PirateHat" | "AloeVeraBandage" | "SharkTooth" | "CopperKnife" | "WroughtIronKnife" | "IronKnife" | "TinOre" | "SmeltedTin" | "TinPickaxe" | "TinDoubleAxe" | "TinShovel" | "TinSpear" | "TinHammer" | "TinLockpick" | "TinShield" | "TinGloves" | "TinChausses" | "TinBevor" | "TinHelmet" | "TinFootgear" | "TinCuirass" | "TinShortSword" | "TinTongs" | "TinArrow" | "TinBullet" | "TinArrowhead" | "TinChest" | "TinAnvil" | "TinAxe" | "TinHoe" | "TinMortarAndPestle" | "TinBakingTray" | "TinRefinementTools" | "TinKnife" | "SmeltedBronze" | "BronzePickaxe" | "BronzeDoubleAxe" | "BronzeShovel" | "BronzeSpear" | "BronzeHammer" | "BronzeLockpick" | "BronzeKiteShield" | "BronzeGauntlets" | "BronzeGreaves" | "BronzeBevor" | "BronzeHelmet" | "BronzeBoots" | "BronzeChestArmor" | "BronzeShortSword" | "BronzeTongs" | "BronzeArrow" | "BronzeBullet" | "BronzeArrowhead" | "BronzeChest" | "BronzeAnvil" | "BronzeAxe" | "BronzeHoe" | "BronzeMortarAndPestle" | "BronzeBakingTray" | "BronzeRefinementTools" | "BronzeKnife" | "IceBrick" | "SnowBrick" | "IceWall" | "IceFlooring" | "SnowWall" | "SnowFlooring" | "CaliginousScrap" | "MagicalExtract" | "ShimmeringFibers" | "MagicalTwine" | "SandstoneHammer" | "SandstoneBullet" | "SandstoneAnvil" | "SnowScarecrow" | "FrozenFlesh" | "AnimalTusk" | "WhitePineCone" | "WhitePineSeeds" | "WhitePineNeedles" | "FurCoat" | "FurMittens" | "FurBoots" | "BirdDroppings" | "HardenedCoil" | "MagicalBinding" | "ArmoredScales" | "RawPangolinMeat" | "CookedPangolinMeat" | "ArmoredScaleBelt" | "ArmoredScaleVest" | "ArmoredScaleBoots" | "ArmoredScaleCrown" | "ArmoredScaleBevor" | "ArmoredScaleCuisses" | "ArmoredScaleGloves" | "TinNeedle" | "CopperNeedle" | "WroughtIronNeedle" | "IronNeedle" | "BronzeNeedle" | "TuftsOfTanglehead" | "TangleheadSeeds" | "WispInAGlassBottle" | "AberrantWispInAGlassBottle" | "WispInAClayJug" | "AberrantWispInAClayJug" | "WispInACoconutContainer" | "AberrantWispInACoconutContainer" | "WispInAWaterskin" | "AberrantWispInAWaterskin" | "StrawScarecrow" | "CactusScarecrow" | "ClothShirt" | "ClothTrousers" | "UnripePapaya" | "Papaya" | "PapayaSeeds" | "PalapalaiFrond" | "PalapalaiSpores" | "ButtonMushroomSpores" | "FlyAmanitaSpores" | "BrambleCrown" | "DarkBrambleCrown" | "Cotton" | "WaterskinOfSwampWater" | "GlassBottleOfSwampWater" | "ClayJugOfSwampWater" | "CoconutContainerOfSwampWater" | "WaterskinOfFilteredWater" | "GlassBottleOfFilteredWater" | "ClayJugOfFilteredWater" | "CoconutContainerOfFilteredWater" | "ClayFilter" | "SandstoneAxe" | "SandstoneShovel" | "SharpSandstone" | "SmoothSandstone" | "SandstoneSpear" | "SandstoneKnife" | "SandstonePickaxe" | "SandstoneHoe" | "SandstoneDeadfall" | "SandstoneSundial" | "WoodenPlank" | "WoodenWheel" | "WoodenAxle" | "WoodenMinecart" | "WoodenRail" | "WoodenTrack" | "TinWheel" | "TinAxle" | "TinMinecart" | "TinRail" | "TinTrack" | "CopperWheel" | "CopperAxle" | "CopperMinecart" | "CopperRail" | "CopperTrack" | "WroughtIronWheel" | "WroughtIronAxle" | "WroughtIronMinecart" | "WroughtIronRail" | "WroughtIronTrack" | "IronWheel" | "IronAxle" | "IronMinecart" | "IronRail" | "IronTrack" | "BronzeWheel" | "BronzeAxle" | "BronzeMinecart" | "BronzeRail" | "BronzeTrack" | "BasaltArrow" | "BasaltArrowhead" | "Basalt" | "BasaltMortarAndPestle" | "BasaltAxe" | "BasaltShovel" | "SharpBasalt" | "SmoothBasalt" | "BasaltSpear" | "BasaltFlooring" | "BasaltWall" | "BasaltCampfire" | "BasaltFurnace" | "BasaltHammer" | "BasaltAnvil" | "BasaltDeadfall" | "IronWaterStill" | "BasaltSundial" | "BasaltBullet" | "BasaltKnife" | "BasaltKiln" | "BasaltPickaxe" | "BasaltHoe" | "BasaltSandCastFlask" | "BasaltWell" | "WoodenTrackGate" | "MoldyScroll" | "MysteriousParchment" | "MagicalInscription" | "CattailLeaves" | "CattailShoots" | "CattailFlowers" | "CattailSeeds" | "CobblestoneFlooring" | "WaterLilies" | "Mud" | "SpikerushSheaths" | "SpikerushSeeds" | "WoodenBookcase" | "GraniteLighthouse" | "SandstoneLighthouse" | "ClayLighthouse" | "BasaltLighthouse" | "WoodenCage" | "FullWoodenCage" | "TinCage" | "FullTinCage" | "CopperCage" | "FullCopperCage" | "WroughtIronCage" | "FullWroughtIronCage" | "IronCage" | "FullIronCage" | "BronzeCage" | "FullBronzeCage" | "Amber" | "Tourmaline" | "Topaz" | "Opal" | "Sapphire" | "WoodGolemFigure" | "ClayGolemFigure" | "GraniteGolemFigure" | "SandstoneGolemFigure" | "BasaltGolemFigure" | "AberrantWoodGolemFigure" | "AberrantClayGolemFigure" | "AberrantGraniteGolemFigure" | "AberrantSandstoneGolemFigure" | "AberrantBasaltGolemFigure" | "GraniteDripstone" | "SandstoneDripstone" | "BasaltDripstone" | "ClayDripstone" | "BronzeWaterStill" | "ArmorStand" | "RuneOfEvil" | "RuneOfNeutrality" | "RuneOfGood" | "GraniteAltar" | "WoodenWheelbarrow" | "TinWheelbarrow" | "CopperWheelbarrow" | "WroughtIronWheelbarrow" | "IronWheelbarrow" | "BronzeWheelbarrow" | "GraniteCrucible" | "SandstoneCrucible" | "BasaltCrucible" | "RawClayCrucible" | "ClayCrucible" | "SandstoneAltar" | "BasaltAltar" | "ClayAltar" | "PineResin" | "SpruceResin" | "CypressResin" | "Pitch" | "PitchGlue" | "MagicalOrb" | "RawAberrantCod" | "CookedAberrantCod" | "RawAberrantBlindfish" | "CookedAberrantBlindfish" | "RawAberrantRedSnapper" | "CookedAberrantRedSnapper" | "RawAberrantWalleye" | "CookedAberrantWalleye" | "FishBones" | "AnimalCartilage" | "GelatinPowder" | "Gelatin" | "Aspic" | "FruitCocktail" | "VegetableTerrine" | "TatteredClothBandana" | "ClothBandana" | "RustedScimitar" | "TricorneHat" | "SandstoneArrowhead" | "SandstoneArrow" | "Last">, [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemArrayNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemArrayNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Craft").ICraftCanUse, [import("../../item/IItem").ItemType, (import("../../item/Item").default[] | undefined)?, (import("../../item/Item").default[] | undefined)?, (import("../../item/Item").default | undefined)?, (boolean | undefined)?]>;
32
33
  114: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.String, import("@wayward/game/game/entity/action/IAction").ActionArgument.Tile], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [string, import("../../tile/Tile").default]>;
@@ -88,7 +88,7 @@ export declare enum ActionType {
88
88
  Release = 45,
89
89
  HealOther = 46,
90
90
  Unused = 47,// this one must stay unused
91
- Unused2 = 48,// you can replace this with a new action
91
+ ClearMessages = 48,
92
92
  OpenDoor = 49,
93
93
  CloseDoor = 50,
94
94
  AddFuel = 51,
@@ -0,0 +1,3 @@
1
+ import { Action } from "@wayward/game/game/entity/action/Action";
2
+ declare const _default: Action<[], import("../../player/Player").default, void, import("../IAction").IActionUsable, []>;
3
+ export default _default;
@@ -28,6 +28,10 @@ export interface IPlayerEvents extends Events<Human> {
28
28
  * @param message The message that will be displayed
29
29
  */
30
30
  displayMessage(message: IMessage): any;
31
+ /**
32
+ * Called when messages are cleared for this player
33
+ */
34
+ clearMessages(): any;
31
35
  /**
32
36
  * Called when a message is about to be displayed
33
37
  * @param message The message that will be displayed
@@ -38,8 +38,9 @@ export declare class MessageManagerNoOp implements IMessageManager {
38
38
  }
39
39
  export interface IMessageManagerOptions {
40
40
  shouldDisplayMessage(message: IMessage, id: number): boolean | undefined;
41
- onDisplayMessage(message: IMessage): void;
42
41
  getMessageStorageMax(isLocalPlayer: boolean): number;
42
+ onDisplayMessage(message: IMessage): any;
43
+ onClearMessages(): any;
43
44
  }
44
45
  export default class MessageManager implements IMessageManager {
45
46
  private readonly options;
@@ -129,6 +129,7 @@ export default class Player extends Human<number, ReferenceType.Player> implemen
129
129
  private onClearNotes;
130
130
  private shouldDisplayMessage;
131
131
  private onDisplayMessage;
132
+ private onClearMessages;
132
133
  get asNPC(): undefined;
133
134
  get asPlayer(): this;
134
135
  get asLocalPlayer(): this | undefined;
@@ -102,6 +102,8 @@ export interface IIslandEvents {
102
102
  * @param travelTime Travel time
103
103
  */
104
104
  getFastForwardAmount(fastForwardAmount: number, travelTime: number): number | undefined;
105
+ fastForwardStart(): any;
106
+ fastForwardEnd(): any;
105
107
  /**
106
108
  * Emitted when random events are attempting to run on a tile.
107
109
  * @returns `false` to cancel default events
@@ -137,6 +137,8 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
137
137
  details?: IIslandDetails;
138
138
  private _ranUpgrade;
139
139
  private serializeObjectStats?;
140
+ private _isFastForwarding;
141
+ get isFastForwarding(): boolean;
140
142
  constructor(game?: Game, position?: IVector2, seed?: number, mapSize?: number);
141
143
  toString(): string;
142
144
  private registerMemoryLeakDetector;
@@ -61,128 +61,128 @@ declare enum Message {
61
61
  ActionDropCannotUseItemProtected = 49,
62
62
  ActionDropCannotUseItemProtectedDangerous = 50,
63
63
  ActionDropCannotUseNoItems = 51,
64
- ActionDumpItemsCannotUseBlocked = 52,
65
- ActionDumpItemsCannotUseNothingToDumpOut = 53,
66
- ActionDumpItemsCannotUseWrongDirection = 54,
67
- ActionDumpItemsDumpedItems = 55,
68
- ActionEnhance = 56,
69
- ActionEnhanceEnhanced = 57,
70
- ActionEnhanceFailed = 58,
71
- ActionEnhanceNotPossible = 59,
72
- ActionEquipWillBreakOnDamage = 60,
73
- ActionFishingNothingBiting = 61,
74
- ActionFishingSlipped = 62,
75
- ActionFishingTooShallow = 63,
76
- ActionJumpCannotJump = 64,
77
- ActionMeleeNothingToAttack = 65,
78
- ActionMoveItemCannotUseContainerTooFarAway = 66,
79
- ActionMoveItemCannotUseFromInvalidContainer = 67,
80
- ActionMoveItemCannotUseInvalidContainer = 68,
81
- ActionMoveItemCannotUseItemFilteredOut = 69,
82
- ActionMoveItemCannotUseItemQualityOrTypeIncorrect = 70,
83
- ActionMoveItemCannotUseItemTooFarAway = 71,
84
- ActionMoveItemCannotUseMovingFromMultipleContainers = 72,
85
- ActionMoveItemCannotUseNoContainerToMoveTo = 73,
86
- ActionMoveItemCannotUseNoItems = 74,
87
- ActionMoveItemCannotUseNoRoom = 75,
88
- ActionMoveItemCannotUseProtected = 76,
89
- ActionMoveToSwimOffEdgeCannotCombatTides = 77,
90
- ActionNavigateMoon = 78,
91
- ActionNavigateNotOverworld = 79,
92
- ActionNavigateSun = 80,
93
- ActionNavigateUseSextant = 81,
94
- ActionPetCreatureRefused = 82,
95
- ActionPetNoTamedCreature = 83,
96
- ActionPickUpAllItemsNoItems = 84,
97
- ActionPickUpDoodadCannotUseItemsPlacedOn = 85,
98
- ActionPickUpExcrementNoExcrement = 86,
99
- ActionPickUpItemNoItem = 87,
100
- ActionPickUpNoPickUp = 88,
101
- ActionPourNoEffect = 89,
102
- ActionRefineNoDurability = 90,
103
- ActionReleaseNoTamedCreature = 91,
104
- ActionRenameIsland = 92,
105
- ActionRepairMaxDurabilityTooLow = 93,
106
- ActionReshape = 94,
107
- ActionReshapeFailed = 95,
108
- ActionReshapeNotPossibleBonus = 96,
109
- ActionReshapeReshaped = 97,
110
- ActionSacrifice = 98,
111
- ActionSacrificeAlreadyDoneToday = 99,
112
- ActionSailToCivilizationNotInsideBoat = 100,
113
- ActionSailToIsland = 101,
114
- ActionSailToIslandArrived = 102,
115
- ActionSailToIslandCannotUseCannotReachEdge = 103,
116
- ActionSailToIslandCannotUseCannotReachPort = 104,
117
- ActionSailToIslandCannotUseGhost = 105,
118
- ActionSailToIslandCannotUseInvalidDestination = 106,
119
- ActionSailToIslandCannotUseNoDestination = 107,
120
- ActionSailToIslandCannotUseNotEnoughStamina = 108,
121
- ActionSailToIslandCannotUseNotEnoughSwimmingSkill = 109,
122
- ActionSailToIslandCannotUseTravellingIsDisallowedInTheseLands = 110,
123
- ActionSailToIslandPlayerArriving = 111,
124
- ActionSailToIslandPlayerDeparting = 112,
125
- ActionSetCreatureAiAlreadyCommanded = 113,
126
- ActionSetCreatureAiCannotCommand = 114,
127
- ActionSetCreatureAiNotEnoughSkill = 115,
128
- ActionSetCreatureAiNotEnoughTames = 116,
129
- ActionShipToIslandNoDestination = 117,
130
- ActionSwapEquipmentCannotUseNoEquipmentToSwap = 118,
131
- ActionTameCreatureTamed = 119,
132
- ActionTameNoCreature = 120,
133
- ActionTestDepthNothingToTest = 121,
134
- ActionTestDepthWell = 122,
135
- ActionToggleContainerCannotUseAlreadyClosed = 123,
136
- ActionToggleContainerCannotUseAlreadyOpen = 124,
137
- ActionToggleContainerCannotUseNoContainer = 125,
138
- ActionToggleContainerCannotUseNoContainerToClose = 126,
139
- ActionToggleContainerCannotUseNoContainerToOpen = 127,
140
- ActionToggleContainerCannotUseNotAccessible = 128,
141
- ActionToggleContainerCannotUseUnknownContainer = 129,
142
- ActionToggleDoorNoDoor = 130,
143
- ActionToggleHitchAlreadyHitched = 131,
144
- ActionToggleHitchAlreadyUnhitched = 132,
145
- ActionToggleHitchNoCreature = 133,
146
- ActionToggleHitchNoHitch = 134,
147
- ActionToggleTilledAlreadyPacked = 135,
148
- ActionToggleTilledAlreadyTilled = 136,
149
- ActionTradeCannotUseExceedsCarryWeight = 137,
150
- ActionTradeCannotUseNotEnoughCredit = 138,
151
- ActionTradeCannotUseNothingToTrade = 139,
152
- ActionTradeCannotUseTradedTooMuch = 140,
153
- ActionTradeCreditChange = 141,
154
- ActionTradeCreditChangeDecrease = 142,
155
- ActionTradeCreditChangeIncrease = 143,
156
- ActionTradeDialog1 = 144,
157
- ActionTradeDialogue1 = 145,
158
- ActionTradeIndicateUntradable = 146,
159
- ActionTradeMerchantItems = 147,
160
- ActionTradeYourItems = 148,
161
- ActionUncageCannotUncageHere = 149,
162
- ActionUpgrade = 150,
163
- ActionUpgradeFailed = 151,
164
- ActionUpgradeNotMagical = 152,
165
- ActionUpgradeNotPossible = 153,
166
- ActionUpgradeUpgraded = 154,
167
- ActionUseItemWeaponNeeded = 155,
168
- AddedFuelToFire = 156,
169
- AddedFuelToTorch = 157,
170
- AlignmentUpdateCursed = 158,
171
- AlignmentUpdateEvil = 159,
172
- AlignmentUpdateGood = 160,
173
- AlignmentUpdateHighPiety = 161,
174
- AlignmentUpdateLowPiety = 162,
175
- AlignmentUpdateNoPiety = 163,
176
- AlignmentUpdateSunset = 164,
177
- AllEquipmentUnEquipped = 165,
178
- AlreadyDesalinatedWaterInStill = 166,
179
- AlreadyFullyRefined = 167,
180
- AlreadyFullyRepaired = 168,
181
- AlreadyPreserved = 169,
182
- Alter = 170,
183
- AnotherIsland = 171,
184
- AnUnknownItem = 172,
185
- APileOfItems = 173,
64
+ ActionDropCannotUseNoRoomMultipleItems = 52,
65
+ ActionDumpItemsCannotUseBlocked = 53,
66
+ ActionDumpItemsCannotUseNothingToDumpOut = 54,
67
+ ActionDumpItemsCannotUseWrongDirection = 55,
68
+ ActionDumpItemsDumpedItems = 56,
69
+ ActionEnhance = 57,
70
+ ActionEnhanceEnhanced = 58,
71
+ ActionEnhanceFailed = 59,
72
+ ActionEnhanceNotPossible = 60,
73
+ ActionEquipWillBreakOnDamage = 61,
74
+ ActionFishingNothingBiting = 62,
75
+ ActionFishingSlipped = 63,
76
+ ActionFishingTooShallow = 64,
77
+ ActionJumpCannotJump = 65,
78
+ ActionMeleeNothingToAttack = 66,
79
+ ActionMoveItemCannotUseContainerTooFarAway = 67,
80
+ ActionMoveItemCannotUseFromInvalidContainer = 68,
81
+ ActionMoveItemCannotUseInvalidContainer = 69,
82
+ ActionMoveItemCannotUseItemFilteredOut = 70,
83
+ ActionMoveItemCannotUseItemQualityOrTypeIncorrect = 71,
84
+ ActionMoveItemCannotUseItemTooFarAway = 72,
85
+ ActionMoveItemCannotUseMovingFromMultipleContainers = 73,
86
+ ActionMoveItemCannotUseNoContainerToMoveTo = 74,
87
+ ActionMoveItemCannotUseNoItems = 75,
88
+ ActionMoveItemCannotUseNoRoom = 76,
89
+ ActionMoveItemCannotUseProtected = 77,
90
+ ActionMoveToSwimOffEdgeCannotCombatTides = 78,
91
+ ActionNavigateMoon = 79,
92
+ ActionNavigateNotOverworld = 80,
93
+ ActionNavigateSun = 81,
94
+ ActionNavigateUseSextant = 82,
95
+ ActionPetCreatureRefused = 83,
96
+ ActionPetNoTamedCreature = 84,
97
+ ActionPickUpAllItemsNoItems = 85,
98
+ ActionPickUpDoodadCannotUseItemsPlacedOn = 86,
99
+ ActionPickUpExcrementNoExcrement = 87,
100
+ ActionPickUpItemNoItem = 88,
101
+ ActionPickUpNoPickUp = 89,
102
+ ActionPourNoEffect = 90,
103
+ ActionRefineNoDurability = 91,
104
+ ActionReleaseNoTamedCreature = 92,
105
+ ActionRenameIsland = 93,
106
+ ActionRepairMaxDurabilityTooLow = 94,
107
+ ActionReshape = 95,
108
+ ActionReshapeFailed = 96,
109
+ ActionReshapeNotPossibleBonus = 97,
110
+ ActionReshapeReshaped = 98,
111
+ ActionSacrifice = 99,
112
+ ActionSacrificeAlreadyDoneToday = 100,
113
+ ActionSailToCivilizationNotInsideBoat = 101,
114
+ ActionSailToIsland = 102,
115
+ ActionSailToIslandArrived = 103,
116
+ ActionSailToIslandCannotUseCannotReachEdge = 104,
117
+ ActionSailToIslandCannotUseCannotReachPort = 105,
118
+ ActionSailToIslandCannotUseGhost = 106,
119
+ ActionSailToIslandCannotUseInvalidDestination = 107,
120
+ ActionSailToIslandCannotUseNoDestination = 108,
121
+ ActionSailToIslandCannotUseNotEnoughStamina = 109,
122
+ ActionSailToIslandCannotUseNotEnoughSwimmingSkill = 110,
123
+ ActionSailToIslandCannotUseTravellingIsDisallowedInTheseLands = 111,
124
+ ActionSailToIslandPlayerArriving = 112,
125
+ ActionSailToIslandPlayerDeparting = 113,
126
+ ActionSetCreatureAiAlreadyCommanded = 114,
127
+ ActionSetCreatureAiCannotCommand = 115,
128
+ ActionSetCreatureAiNotEnoughSkill = 116,
129
+ ActionSetCreatureAiNotEnoughTames = 117,
130
+ ActionShipToIslandNoDestination = 118,
131
+ ActionSwapEquipmentCannotUseNoEquipmentToSwap = 119,
132
+ ActionTameCreatureTamed = 120,
133
+ ActionTameNoCreature = 121,
134
+ ActionTestDepthNothingToTest = 122,
135
+ ActionTestDepthWell = 123,
136
+ ActionToggleContainerCannotUseAlreadyClosed = 124,
137
+ ActionToggleContainerCannotUseAlreadyOpen = 125,
138
+ ActionToggleContainerCannotUseNoContainer = 126,
139
+ ActionToggleContainerCannotUseNoContainerToClose = 127,
140
+ ActionToggleContainerCannotUseNoContainerToOpen = 128,
141
+ ActionToggleContainerCannotUseNotAccessible = 129,
142
+ ActionToggleContainerCannotUseUnknownContainer = 130,
143
+ ActionToggleDoorNoDoor = 131,
144
+ ActionToggleHitchAlreadyHitched = 132,
145
+ ActionToggleHitchAlreadyUnhitched = 133,
146
+ ActionToggleHitchNoCreature = 134,
147
+ ActionToggleHitchNoHitch = 135,
148
+ ActionToggleTilledAlreadyPacked = 136,
149
+ ActionToggleTilledAlreadyTilled = 137,
150
+ ActionTradeCannotUseExceedsCarryWeight = 138,
151
+ ActionTradeCannotUseNotEnoughCredit = 139,
152
+ ActionTradeCannotUseNothingToTrade = 140,
153
+ ActionTradeCannotUseTradedTooMuch = 141,
154
+ ActionTradeCreditChange = 142,
155
+ ActionTradeCreditChangeDecrease = 143,
156
+ ActionTradeCreditChangeIncrease = 144,
157
+ ActionTradeDialog1 = 145,
158
+ ActionTradeDialogue1 = 146,
159
+ ActionTradeIndicateUntradable = 147,
160
+ ActionTradeMerchantItems = 148,
161
+ ActionTradeYourItems = 149,
162
+ ActionUncageCannotUncageHere = 150,
163
+ ActionUpgrade = 151,
164
+ ActionUpgradeFailed = 152,
165
+ ActionUpgradeNotMagical = 153,
166
+ ActionUpgradeNotPossible = 154,
167
+ ActionUpgradeUpgraded = 155,
168
+ ActionUseItemWeaponNeeded = 156,
169
+ AddedFuelToFire = 157,
170
+ AddedFuelToTorch = 158,
171
+ AlignmentUpdateCursed = 159,
172
+ AlignmentUpdateEvil = 160,
173
+ AlignmentUpdateGood = 161,
174
+ AlignmentUpdateHighPiety = 162,
175
+ AlignmentUpdateLowPiety = 163,
176
+ AlignmentUpdateNoPiety = 164,
177
+ AlignmentUpdateSunset = 165,
178
+ AllEquipmentUnEquipped = 166,
179
+ AlreadyDesalinatedWaterInStill = 167,
180
+ AlreadyFullyRefined = 168,
181
+ AlreadyFullyRepaired = 169,
182
+ AlreadyPreserved = 170,
183
+ Alter = 171,
184
+ AnotherIsland = 172,
185
+ AnUnknownItem = 173,
186
186
  AppearedNotEffectiveForGathering = 174,
187
187
  ArmorAppeared = 175,
188
188
  ArmorProtectedFromInjuryAgainst = 176,