@wayward/types 2.14.3-beta.dev.20241224.1 → 2.14.3-beta.dev.20241226.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/event/EventBuses.d.ts +16 -12
- package/definitions/game/event/EventManager.d.ts +7 -6
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/StokeFire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemFilterArgument.d.ts +3 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +8 -2
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +1 -1
- package/definitions/game/game/inspection/IInspection.d.ts +1 -4
- package/definitions/game/game/inspection/inspections/ActionInspection.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/action/IActionInspection.d.ts +26 -0
- package/definitions/game/game/options/IGameOptions.d.ts +6 -1
- package/definitions/game/language/Dictionary.d.ts +128 -127
- package/definitions/game/language/DictionaryMap.d.ts +252 -249
- package/definitions/game/language/Translation.d.ts +2 -2
- package/definitions/game/language/english/ui/ActionSlotItemMethods.d.ts +1 -1
- package/definitions/game/language/english/ui/ActionSlotTypes.d.ts +13 -0
- package/definitions/game/language/segment/BindSegment.d.ts +2 -2
- package/definitions/game/language/segment/InterpolateArgumentSegment.d.ts +2 -2
- package/definitions/game/language/segment/NumberSegment.d.ts +4 -4
- package/definitions/game/language/segment/ReferenceSegment.d.ts +2 -2
- package/definitions/game/language/segment/ReformatSegment.d.ts +2 -2
- package/definitions/game/language/segment/Segments.d.ts +1 -1
- package/definitions/game/language/segment/TranslationSegment.d.ts +4 -4
- package/definitions/game/renderer/RenderersNotifiers.d.ts +1 -1
- package/definitions/game/renderer/notifier/Notifier.d.ts +4 -1
- package/definitions/game/resource/IResourceLoader.d.ts +36 -33
- package/definitions/game/ui/component/Component.d.ts +2 -0
- package/definitions/game/ui/old/OldUi.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +1 -56
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +5 -7
- package/definitions/game/ui/screen/screens/game/component/item/IItemComponent.d.ts +65 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +4 -1
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +5 -8
- package/definitions/game/ui/screen/screens/game/static/actions/IActionsDrawer.d.ts +3 -3
- package/definitions/game/utilities/object/Merge.d.ts +2 -0
- package/definitions/game/utilities/string/Interpolator.d.ts +37 -6
- package/package.json +1 -1
@@ -42,6 +42,7 @@ import type { Renderer } from "@wayward/game/renderer/Renderer";
|
|
42
42
|
import type { WorldRenderer } from "@wayward/game/renderer/world/WorldRenderer";
|
43
43
|
import type SaveManager from "@wayward/game/save/SaveManager";
|
44
44
|
import type Steamworks from "@wayward/game/steamworks/Steamworks";
|
45
|
+
import type { GlobalMouseInfo } from "@wayward/game/ui/input/InputManager";
|
45
46
|
import type ScreenManager from "@wayward/game/ui/screen/ScreenManager";
|
46
47
|
import type GameScreen from "@wayward/game/ui/screen/screens/GameScreen";
|
47
48
|
import type ItemComponentEventBus from "@wayward/game/ui/screen/screens/game/component/item/ItemComponentEventBus";
|
@@ -93,12 +94,13 @@ export declare enum EventBus {
|
|
93
94
|
UiActionMenuHandler = 37,
|
94
95
|
UiGameScreen = 38,
|
95
96
|
UiHoveredTileTracker = 39,
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
97
|
+
UiInputManagerMouse = 40,
|
98
|
+
UiInteractionManager = 41,
|
99
|
+
UiItemComponentStatic = 42,
|
100
|
+
UiMovementHandler = 43,
|
101
|
+
UiPathingHandler = 44,
|
102
|
+
UsableActions = 45,
|
103
|
+
WorldRenderer = 46
|
102
104
|
}
|
103
105
|
declare const eventBuses: {
|
104
106
|
[EventBus.Actions](): ActionExecutor<any, any, any, any, any>;
|
@@ -141,6 +143,7 @@ declare const eventBuses: {
|
|
141
143
|
[EventBus.UiActionMenuHandler](): ActionMenuHandler;
|
142
144
|
[EventBus.UiGameScreen](): GameScreen;
|
143
145
|
[EventBus.UiHoveredTileTracker](): HoveredTileTracker;
|
146
|
+
[EventBus.UiInputManagerMouse](): GlobalMouseInfo;
|
144
147
|
[EventBus.UiInteractionManager](): InteractionManager;
|
145
148
|
[EventBus.UiItemComponentStatic](): ItemComponentEventBus;
|
146
149
|
[EventBus.UiMovementHandler](): MovementHandler;
|
@@ -190,12 +193,13 @@ export declare const eventBusManager: EventBusManager<EventBus, {
|
|
190
193
|
37(): ActionMenuHandler;
|
191
194
|
38(): GameScreen;
|
192
195
|
39(): HoveredTileTracker;
|
193
|
-
40():
|
194
|
-
41():
|
195
|
-
42():
|
196
|
-
43():
|
197
|
-
44():
|
198
|
-
45():
|
196
|
+
40(): GlobalMouseInfo;
|
197
|
+
41(): InteractionManager;
|
198
|
+
42(): ItemComponentEventBus;
|
199
|
+
43(): MovementHandler;
|
200
|
+
44(): PathingHandler;
|
201
|
+
45(): UsableAction;
|
202
|
+
46(): WorldRenderer;
|
199
203
|
}>;
|
200
204
|
/**
|
201
205
|
* For backwards compat / ease of use
|
@@ -56,12 +56,13 @@ export declare const eventManager: EventManager<EventBus, {
|
|
56
56
|
37(): import("../ui/screen/screens/game/util/movement/ActionMenuHandler").default;
|
57
57
|
38(): import("../ui/screen/screens/GameScreen").default;
|
58
58
|
39(): import("../ui/screen/screens/game/util/HoveredTileTracker").default;
|
59
|
-
40(): import("../ui/
|
60
|
-
41(): import("../ui/screen/screens/game/
|
61
|
-
42(): import("../ui/screen/screens/game/
|
62
|
-
43(): import("../ui/screen/screens/game/util/movement/
|
63
|
-
44(): import("../game/
|
64
|
-
45(): import("../
|
59
|
+
40(): import("../ui/input/InputManager").GlobalMouseInfo;
|
60
|
+
41(): import("../ui/screen/screens/game/util/movement/InteractionManager").default;
|
61
|
+
42(): import("../ui/screen/screens/game/component/item/ItemComponentEventBus").default;
|
62
|
+
43(): import("../ui/screen/screens/game/util/movement/MovementHandler").default;
|
63
|
+
44(): import("../ui/screen/screens/game/util/movement/PathingHandler").default;
|
64
|
+
45(): import("../game/entity/action/usable/UsableAction").default;
|
65
|
+
46(): import("../renderer/world/WorldRenderer").WorldRenderer;
|
65
66
|
}>;
|
66
67
|
/**
|
67
68
|
* EventHandler that is typed with the games event buses
|
@@ -152,7 +152,7 @@ export declare const actionDescriptionsSlow: {
|
|
152
152
|
}, [import("../../item/Item").default]>;
|
153
153
|
134: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.Container, import("./argument/ActionArgumentEnum").default<import("../../item/IItem").ItemType, "Bow" | "None" | "String" | "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" | "Hide" | "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" | "StrippedBark" | "Leather" | "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" | "RuneOfChaos" | "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" | "ReedFlute" | "WoodenFlute" | "RawClayFlute" | "ClayFlute" | "BoneFlute" | "TinFlute" | "CopperFlute" | "WroughtIronFlute" | "IronFlute" | "BronzeFlute" | "StrippedLeather" | "ChickenEggshells" | "PenguinEggshells" | "Last">, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../item/IItem").IContainer, import("../../item/IItem").ItemType, (number | undefined)?]>;
|
154
154
|
4: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/StartFire").IStartFireCanUse, [import("../../item/Item").default, (import("../../item/Item").default | undefined)?, (import("../../item/Item").default | undefined)?, (import("../../item/Item").default | undefined)?, (import("../../item/Item").default | undefined)?]>;
|
155
|
-
23: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.
|
155
|
+
23: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/StokeFire").IStokeFireCanUse, [import("../../item/Item").default]>;
|
156
156
|
121: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Summon").ISummonAction, [import("../../item/Item").default]>;
|
157
157
|
128: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/SwapWithArmorStand").ISwapEquipment, [(import("../../doodad/Doodad").default | undefined)?]>;
|
158
158
|
131: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/SwapWithArmorStand").ISwapEquipment, [(import("../../doodad/Doodad").default | undefined)?]>;
|
@@ -21,5 +21,5 @@ export interface IStokeFireCanUse extends IActionUsable {
|
|
21
21
|
doodad?: Doodad;
|
22
22
|
tileEvent?: TileEvent;
|
23
23
|
}
|
24
|
-
declare const _default: Action<[ActionArgument.
|
24
|
+
declare const _default: Action<[ActionArgument.ItemNearby], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IStokeFireCanUse, [Item]>;
|
25
25
|
export default _default;
|
@@ -20,7 +20,10 @@ export interface IMoveItemFilterArgument {
|
|
20
20
|
moveLimit?: number;
|
21
21
|
quality?: ArrayOr<Quality>;
|
22
22
|
text?: string;
|
23
|
+
/** Excludes items that are both protected themselves, and that are in a protected container */
|
23
24
|
excludeProtected?: boolean;
|
25
|
+
/** Combined with `excludeProtected` to re-include items that are just in a protected container */
|
26
|
+
includeInProtectedContainer?: boolean;
|
24
27
|
excludeEquipped?: boolean;
|
25
28
|
}
|
26
29
|
export declare class MoveItemFilterArgument<FILTER extends IMoveItemFilterArgument> extends ActionArgumentCustom<FILTER> {
|
@@ -35,7 +35,7 @@ import type Message from "@wayward/game/language/dictionary/Message";
|
|
35
35
|
import { TranslationArg } from "@wayward/game/language/ITranslation";
|
36
36
|
import type Translation from "@wayward/game/language/Translation";
|
37
37
|
import type Bindable from "@wayward/game/ui/input/Bindable";
|
38
|
-
import type { ItemDetailIconLocation } from "@wayward/game/ui/screen/screens/game/component/
|
38
|
+
import type { ItemDetailIconLocation } from "@wayward/game/ui/screen/screens/game/component/item/IItemComponent";
|
39
39
|
import type Tooltip from "@wayward/game/ui/tooltip/Tooltip";
|
40
40
|
import type { HighlightSelector } from "@wayward/game/ui/util/IHighlight";
|
41
41
|
import type HashSet from "@wayward/utilities/collection/set/HashSet";
|
@@ -27,6 +27,12 @@ import Message from "@wayward/game/language/dictionary/Message";
|
|
27
27
|
import type { HighlightSelector } from "@wayward/game/ui/util/IHighlight";
|
28
28
|
import Observer from "@wayward/game/utilities/Observer";
|
29
29
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
30
|
+
export interface IUsableActionResolveUsingOptions {
|
31
|
+
/** Whether to skip filling in the `fromTile` and `targetTile` properties. Defaults to `true` */
|
32
|
+
skipTiles?: boolean;
|
33
|
+
/** Whether to skip filling in the `item`. Defaults to `false` */
|
34
|
+
skipItem?: boolean;
|
35
|
+
}
|
30
36
|
export interface IUsableActionEvents {
|
31
37
|
preExecute(player: Player, using: IUsableActionPossibleUsing, context: IUsableActionExecutionContext): any;
|
32
38
|
postExecute(player: Player, using: IUsableActionPossibleUsing, context: IUsableActionExecutionContext): any;
|
@@ -70,8 +76,8 @@ declare class UsableAction<REQUIREMENTS extends IUsableActionRequirements = IUsa
|
|
70
76
|
} | {
|
71
77
|
used: false;
|
72
78
|
};
|
73
|
-
resolveUsing(player: Player, using: IUsableActionUsing<REQUIREMENTS>,
|
74
|
-
resolveUsingOrUndefined(player: Player, using: IUsableActionUsing<REQUIREMENTS>,
|
79
|
+
resolveUsing(player: Player, using: IUsableActionUsing<REQUIREMENTS>, options?: IUsableActionResolveUsingOptions): Message | IUsableActionUsing<REQUIREMENTS>;
|
80
|
+
resolveUsingOrUndefined(player: Player, using: IUsableActionUsing<REQUIREMENTS>, options?: IUsableActionResolveUsingOptions): IUsableActionUsing<REQUIREMENTS> | undefined;
|
75
81
|
isUsable(player: Player, provided: IUsableActionUsing<REQUIREMENTS>, context: UsableActionExecutionContext | IUsableActionExecutionContext): UsableActionUsability<REQUIREMENTS>;
|
76
82
|
isApplicable(player: Player, provided?: IUsableActionPossibleUsing, fullUsabilityCheck?: boolean, requireItem?: boolean): provided is IUsableActionUsing<REQUIREMENTS>;
|
77
83
|
private isItemApplicable;
|
@@ -68,7 +68,7 @@ export default class CreatureManager extends EntityManager<Creature, {
|
|
68
68
|
/**
|
69
69
|
* getMovePenalty
|
70
70
|
* @param willMove Set to true if the object is about to move to this tile. This method will confirm if there's an existing npc/creature there and return false if so
|
71
|
-
* @return Blocked penalty - Do
|
71
|
+
* @return Blocked penalty - Do not return 0!
|
72
72
|
*/
|
73
73
|
getMovePenalty(moveType: MoveType, tile: Tile, willMove: boolean, options?: Partial<ICreatureCheckMoveOptions>, creature?: Creature): number;
|
74
74
|
/**
|
@@ -43,6 +43,7 @@ export default class ActionInspection extends Inspection<ActionId | undefined> {
|
|
43
43
|
protected getTitle(context: InfoProviderContext): Translation;
|
44
44
|
protected getSubtitle(context: InfoProviderContext): Translation | undefined;
|
45
45
|
protected getContent(context: InfoProviderContext): ArrayOr<Translation | InfoProvider | undefined>;
|
46
|
+
private getActionSlotType;
|
46
47
|
private getActionSlotItemMode;
|
47
48
|
private getTranslation;
|
48
49
|
private getActionDiscovered;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2011-2024 Unlok
|
3
|
+
* https://www.unlok.ca
|
4
|
+
*
|
5
|
+
* Credits & Thanks:
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
7
|
+
*
|
8
|
+
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
9
|
+
* https://github.com/WaywardGame/types/wiki
|
10
|
+
*/
|
11
|
+
export declare enum ActionInfoIcon {
|
12
|
+
Undiscovered = 0,
|
13
|
+
ItemMissing = 1
|
14
|
+
}
|
15
|
+
export declare enum ActionSlotItemMethod {
|
16
|
+
None = 0,
|
17
|
+
Exact = 1,
|
18
|
+
Hovered = 2,
|
19
|
+
Best = 3
|
20
|
+
}
|
21
|
+
export declare enum ActionSlotType {
|
22
|
+
None = 0,
|
23
|
+
History = 1,
|
24
|
+
TargetHoveredTile = 2,
|
25
|
+
AutoUse = 3
|
26
|
+
}
|
@@ -482,7 +482,12 @@ export interface IGameOptionsItemMagic {
|
|
482
482
|
*/
|
483
483
|
bonusChanceUsesContextualMultiplier: boolean;
|
484
484
|
/**
|
485
|
-
* Whether to
|
485
|
+
* Whether to ignore the magical property quantity override from mastercrafting.
|
486
|
+
*/
|
487
|
+
ignoreQuantityOverride: boolean;
|
488
|
+
/**
|
489
|
+
* Whether to randomize the magical properties as a value from a range with flat chances.
|
490
|
+
* Disables `bonusChance` and `bonusChanceUsesContextualMultiplier`.
|
486
491
|
*/
|
487
492
|
randomizeAsRange: boolean;
|
488
493
|
}
|
@@ -11,132 +11,133 @@
|
|
11
11
|
declare enum Dictionary {
|
12
12
|
Action = 0,
|
13
13
|
ActionSlotItemMethod = 1,
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
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
|
-
|
14
|
+
ActionSlotType = 2,
|
15
|
+
ActionSort = 3,
|
16
|
+
AiType = 4,
|
17
|
+
AutoSave = 5,
|
18
|
+
BadTemperature = 6,
|
19
|
+
Bindable = 7,
|
20
|
+
BindableType = 8,
|
21
|
+
Biome = 9,
|
22
|
+
BleedLevel = 10,
|
23
|
+
Book = 11,
|
24
|
+
Challenge = 12,
|
25
|
+
ChangelogChangeType = 13,
|
26
|
+
CharacterSort = 14,
|
27
|
+
CombatDangerLevel = 15,
|
28
|
+
CombatStrength = 16,
|
29
|
+
Command = 17,
|
30
|
+
ContainerSort = 18,
|
31
|
+
Corpse = 19,
|
32
|
+
CraftEfficacy = 20,
|
33
|
+
CraftingSort = 21,
|
34
|
+
Creature = 22,
|
35
|
+
CurseComponent = 23,
|
36
|
+
DamageType = 24,
|
37
|
+
Deity = 25,
|
38
|
+
DeitySymbol = 26,
|
39
|
+
Dialog = 27,
|
40
|
+
Direction = 28,
|
41
|
+
DisplayLevel = 29,
|
42
|
+
DoctorCure = 30,
|
43
|
+
DoctorMethod = 31,
|
44
|
+
Doodad = 32,
|
45
|
+
DoodadExtra = 33,
|
46
|
+
DoodadGroup = 34,
|
47
|
+
DrawnMapTheme = 35,
|
48
|
+
DurabilityLevel = 36,
|
49
|
+
EquipEffect = 37,
|
50
|
+
EquipSlot = 38,
|
51
|
+
ExhaustionLevel = 39,
|
52
|
+
FireStage = 40,
|
53
|
+
FontStyle = 41,
|
54
|
+
GameEndMessage = 42,
|
55
|
+
GameMode = 43,
|
56
|
+
Growth = 44,
|
57
|
+
GrowthFungus = 45,
|
58
|
+
Health = 46,
|
59
|
+
HealthAccuracy = 47,
|
60
|
+
HelpArticle = 48,
|
61
|
+
HighscoreSort = 49,
|
62
|
+
HumanName = 50,
|
63
|
+
HungerLevel = 51,
|
64
|
+
Input = 52,
|
65
|
+
InspectType = 53,
|
66
|
+
InterruptChoice = 54,
|
67
|
+
IslandModifier = 55,
|
68
|
+
IslandName = 56,
|
69
|
+
IslandNameBiomeDescriptor = 57,
|
70
|
+
IslandNameBiomeNoun = 58,
|
71
|
+
IslandNameModifierDescriptor = 59,
|
72
|
+
IslandNameOverrunWithCreatureDescriptor = 60,
|
73
|
+
Item = 61,
|
74
|
+
ItemAffixPostReformat = 62,
|
75
|
+
ItemAffixPreReformat = 63,
|
76
|
+
ItemExtra = 64,
|
77
|
+
ItemGroup = 65,
|
78
|
+
JoinServerRetryReason = 66,
|
79
|
+
Label = 67,
|
80
|
+
Level = 68,
|
81
|
+
LighthouseName = 69,
|
82
|
+
Loading = 70,
|
83
|
+
Macro = 71,
|
84
|
+
MagicalPropertyType = 72,
|
85
|
+
MapQuality = 73,
|
86
|
+
MenuBarButton = 74,
|
87
|
+
Message = 75,
|
88
|
+
MessagesDefaultFilter = 76,
|
89
|
+
MessagesTimestampMode = 77,
|
90
|
+
Milestone = 78,
|
91
|
+
MilestoneModifierGroup = 79,
|
92
|
+
MilestoneSort = 80,
|
93
|
+
Misc = 81,
|
94
|
+
ModLoadError = 82,
|
95
|
+
ModLoadFailureReason = 83,
|
96
|
+
ModProvide = 84,
|
97
|
+
ModSort = 85,
|
98
|
+
ModType = 86,
|
99
|
+
MultiplayerCompatibility = 87,
|
100
|
+
MultiplayerDisconnectReason = 88,
|
101
|
+
MusicPlaylist = 89,
|
102
|
+
Note = 90,
|
103
|
+
Npc = 91,
|
104
|
+
Number = 92,
|
105
|
+
PartOfDay = 93,
|
106
|
+
Prompt = 94,
|
107
|
+
QuadrantComponent = 95,
|
108
|
+
QuadrantComponentContextMenuAction = 96,
|
109
|
+
Quality = 97,
|
110
|
+
Quest = 98,
|
111
|
+
QuestRequirement = 99,
|
112
|
+
RecipeLevel = 100,
|
113
|
+
Region = 101,
|
114
|
+
Riddle = 102,
|
115
|
+
RunekeeperDomain = 103,
|
116
|
+
RunekeeperDomainEvent = 104,
|
117
|
+
SaveImportErrorReason = 105,
|
118
|
+
SaveSlotSort = 106,
|
119
|
+
Skill = 107,
|
120
|
+
SkillsSort = 108,
|
121
|
+
Source = 109,
|
122
|
+
Stat = 110,
|
123
|
+
Status = 111,
|
124
|
+
StatusEffect = 112,
|
125
|
+
StatusThreatLevel = 113,
|
126
|
+
SteamInputKeyboardPosition = 114,
|
127
|
+
TeamMemberResponsibility = 115,
|
128
|
+
TemperatureType = 116,
|
129
|
+
Term = 117,
|
130
|
+
Terrain = 118,
|
131
|
+
ThirstLevel = 119,
|
132
|
+
TileEvent = 120,
|
133
|
+
TooltipVisibilityOption = 121,
|
134
|
+
Ui = 122,
|
135
|
+
UiQuadrant = 123,
|
136
|
+
UnableToJoinReason = 124,
|
137
|
+
UnlockedRecipesStrategy = 125,
|
138
|
+
UsableActionType = 126,
|
139
|
+
Website = 127,
|
140
|
+
WeightStatus = 128,
|
141
|
+
WorldLayer = 129
|
141
142
|
}
|
142
143
|
export default Dictionary;
|