@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.
- package/definitions/game/game/Game.d.ts +1 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -0
- package/definitions/game/game/entity/action/IAction.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +3 -0
- package/definitions/game/game/entity/player/IPlayer.d.ts +4 -0
- package/definitions/game/game/entity/player/MessageManager.d.ts +2 -1
- package/definitions/game/game/entity/player/Player.d.ts +1 -0
- package/definitions/game/game/island/IIsland.d.ts +2 -0
- package/definitions/game/game/island/Island.d.ts +2 -0
- package/definitions/game/language/dictionary/Message.d.ts +122 -122
- package/definitions/game/language/dictionary/UiTranslation.d.ts +301 -301
- package/definitions/game/ui/component/Component.d.ts +5 -1
- package/definitions/game/ui/component/Lightbox.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/TabDialog.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/dialog/MessagesEditFiltersDialog.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/static/Messages.d.ts +8 -18
- package/definitions/game/ui/screen/screens/game/static/messages/MessageLog.d.ts +70 -0
- package/definitions/utilities/event/EventManager.d.ts +1 -0
- package/definitions/utilities/prototype/Array.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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:
|
|
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]>;
|
|
@@ -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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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,
|