@wayward/types 2.15.0-beta.dev.20250925.1 → 2.15.0-beta.dev.20250926.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 +58 -54
- package/definitions/game/event/EventManager.d.ts +28 -27
- package/definitions/game/game/biome/coastal/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/doodad/Doodad.d.ts +4 -4
- package/definitions/game/game/doodad/DoodadManager.d.ts +2 -1
- package/definitions/game/game/entity/CombatStrengthManager.d.ts +1 -20
- package/definitions/game/game/entity/ICombatStrength.d.ts +30 -0
- package/definitions/game/game/entity/action/Action.d.ts +10 -7
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +2 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -189
- package/definitions/game/game/entity/action/IAction.d.ts +2 -0
- package/definitions/game/game/entity/action/actions/Absorb.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/AddFuel.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/AddItemDiscovered.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Alter.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Apply.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/AscendDescend.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/AttachContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Attack.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Build.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Butcher.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CageCreature.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Cast.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Chop.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ConsumeItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CopyMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Craft.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CreateControllableNPC.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Cure.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DamageMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dig.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Disassemble.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dismantle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DisplayItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DrawMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DrinkInFront.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Drop.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Eat.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Enchant.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Enhance.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Equip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Extinguish.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Exude.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Fire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Gather.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Grasp.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Harvest.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Heal.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/HealOther.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Hitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Idle.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Ignite.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Invoke.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Jump.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Kneel.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Learn.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Lockpick.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Melee.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Mine.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Move.d.ts +3 -7
- package/definitions/game/game/entity/action/actions/MoveItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/MoveTo.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/NPCInteract.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Navigate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Noclip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Offer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/OpenBottle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/PackGround.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Pet.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/PickUp.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpAllItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpExcrement.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Plant.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Pour.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PourOnYourself.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Preserve.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PromptResponse.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Read.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ReadMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Refine.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Reinforce.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Release.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/RemoveControllableNPC.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Rename.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/RenameIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Repair.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ResetItemDiscovered.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Reshape.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Respawn.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rest.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/RestCancel.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rotate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SailToCivilization.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SetDown.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Shoot.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Squeeze.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Squish.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Stack.d.ts +3 -3
- package/definitions/game/game/entity/action/actions/StartFire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/StokeFire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Summon.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Tame.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Teleport.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TellTime.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TestDepth.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Throw.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Till.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Trade.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Uncage.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Unequip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Unhitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Upgrade.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ViewItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/helper/MoveUtilities.d.ts +17 -0
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemMerchant.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/creature/Creature.d.ts +2 -1
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +4 -3
- package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +1 -1
- package/definitions/game/game/entity/creature/corpse/CorpseManager.d.ts +1 -1
- package/definitions/game/game/entity/npc/NPC.d.ts +1 -1
- package/definitions/game/game/entity/npc/NPCManager.d.ts +1 -0
- package/definitions/game/game/entity/status/IStatus.d.ts +24 -1
- package/definitions/game/game/entity/status/IStatusContext.d.ts +1 -1
- package/definitions/game/game/entity/status/Status.d.ts +1 -23
- package/definitions/game/game/item/IItem.d.ts +13 -12
- package/definitions/game/game/item/Item.d.ts +2 -2
- package/definitions/game/game/item/ItemManager.d.ts +5 -3
- package/definitions/game/game/item/recipe/output/ItemOutput.d.ts +2 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +1 -1
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +8 -1
- package/definitions/game/game/mapgen/version/2.15.0.d.ts +19 -0
- package/definitions/game/game/options/modifiers/island/IIslandModifier.d.ts +13 -0
- package/definitions/game/game/options/modifiers/island/IslandModifier.d.ts +1 -3
- package/definitions/game/game/options/modifiers/island/IslandModifiers.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/IMilestoneModifier.d.ts +24 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifier.d.ts +1 -14
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Abnormalizer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Apocryphal.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Artificer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Boundless.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Challenger.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Chef.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Collector.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Contender.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Crafter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Curator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Dedicated.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/DestroyerOfMagi.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Diverse.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Doctor.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/DragonSlayer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Explorer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exsanguinated.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exterminator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gardener.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gatherer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Grandmaster.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Helmsman.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hounded.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hunter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Huntsman.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Invoker.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Locksmith.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Masochist.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Merchant.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Multitasker.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Murderer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Navigator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Notekeeper.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Operator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Prepared.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Pulchritudinous.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/ReaperOfSouls.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Retailer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Rouseabout.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Seafarer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Serene.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Statistician.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Talented.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thaumaturgic.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thrower.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Traitor.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Trapper.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/TreasureHunter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Treasurer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/DeityInvokeMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/StatBonusMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/TamedCreatureMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/reference/IReferenceManager.d.ts +1 -0
- package/definitions/game/game/temperature/TemperatureManager.d.ts +1 -1
- package/definitions/game/game/tile/ITileEvent.d.ts +7 -1
- package/definitions/game/game/tile/Tile.d.ts +2 -1
- package/definitions/game/game/tile/TileEvent.d.ts +6 -2
- package/definitions/game/game/tile/TileEventManager.d.ts +2 -1
- package/definitions/game/game/tile/events/PileOfLeaves.d.ts +12 -0
- package/definitions/game/game/tile/events/{IFire.d.ts → fire/FireHelper.d.ts} +2 -17
- package/definitions/game/game/tile/events/fire/FireStage.d.ts +27 -0
- package/definitions/game/language/DictionaryMap.d.ts +9 -4
- package/definitions/game/language/ITranslation.d.ts +18 -0
- package/definitions/game/language/Translation.d.ts +5 -23
- package/definitions/game/language/english/game/CombatDangerLevels.d.ts +1 -1
- package/definitions/game/language/english/game/CombatStrengths.d.ts +1 -1
- package/definitions/game/language/english/game/FireStages.d.ts +1 -1
- package/definitions/game/language/english/game/IslandModifiers.d.ts +1 -1
- package/definitions/game/language/english/game/islandName/IslandNameModifierDescriptors.d.ts +1 -1
- package/definitions/game/language/english/ui/MilestoneModifierGroups.d.ts +1 -1
- package/definitions/game/language/utility/TranslationListBuilder.d.ts +7 -4
- package/definitions/game/language/utility/TranslationSorter.d.ts +22 -11
- package/definitions/game/language/utility/TranslationUtility.d.ts +15 -0
- package/definitions/game/mod/ModInformation.d.ts +2 -2
- package/definitions/game/multiplayer/packets/shared/ActionPacketBase.d.ts +1 -0
- package/definitions/game/ui/Ui.d.ts +3 -0
- package/definitions/game/ui/component/GameIcons.d.ts +1 -1
- package/definitions/game/ui/input/Bind.d.ts +1 -1
- package/definitions/game/ui/input/BindableManager.d.ts +4 -1
- package/definitions/game/ui/input/Bindables.d.ts +1 -0
- package/definitions/game/ui/input/Defaults.d.ts +12 -2
- package/definitions/game/ui/input/InputInfo.d.ts +34 -0
- package/definitions/game/ui/input/InputManager.d.ts +1 -22
- package/definitions/game/ui/input/Macros.d.ts +4 -1
- package/definitions/game/ui/screen/screens/GameScreen.d.ts +5 -1
- package/definitions/game/ui/screen/screens/game/component/ContainerBucket.d.ts +5 -42
- package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +1 -23
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -1
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketManager.d.ts +42 -0
- package/definitions/game/ui/screen/screens/game/component/container/IContainerBucket.d.ts +25 -0
- package/definitions/game/ui/screen/screens/game/component/item/IItemComponent.d.ts +23 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentTradeManager.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +1 -2
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +3 -2
- package/definitions/game/ui/screen/screens/game/dialog/TradeDialog.d.ts +3 -4
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +0 -18
- package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +18 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/IStatuses.d.ts +29 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/Statuses.d.ts +0 -19
- package/definitions/game/ui/screen/screens/menu/menus/HelpArticleMenu.d.ts +3 -0
- package/definitions/game/ui/screen/screens/menu/menus/help/HelpArticleDescriptions.d.ts +0 -2
- package/definitions/game/ui/screen/screens/menu/menus/mods/ModRow.d.ts +3 -0
- package/definitions/game/utilities/collection/map/DefaultMap.d.ts +5 -1
- package/definitions/game/utilities/object/Merge.d.ts +5 -2
- package/definitions/hosts/shared/globalTypes.d.ts +15 -13
- package/definitions/utilities/Log.d.ts +0 -14
- package/definitions/utilities/log/ErrorReporting.d.ts +28 -0
- package/package.json +1 -1
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
13
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
15
15
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
16
16
|
export interface ITestDepthCanUse extends IActionUsable {
|
|
17
17
|
doodad: Doodad;
|
|
18
18
|
tile: Tile;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITestDepthCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.TestDepth, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITestDepthCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -8,5 +8,6 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: 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("../argument/ActionArgumentEnum").default<import("../../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Throw, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../../item/Item").default | undefined)?, (import("../../IEntity").AttackType | undefined)?, (import("../../../item/Item").default | undefined)?]>;
|
|
12
13
|
export default _default;
|
|
@@ -8,5 +8,6 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Till, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleTilled").ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
12
13
|
export default _default;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
import Entity from "@wayward/game/game/entity/Entity";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
13
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
15
15
|
import type { IContainer } from "@wayward/game/game/item/IItem";
|
|
16
16
|
export interface IToggleContainerCanUse extends IActionUsable {
|
|
17
17
|
container: IContainer;
|
|
18
18
|
entity: Entity;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -12,12 +12,12 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
12
12
|
import type { DoodadType } from "@wayward/game/game/doodad/IDoodad";
|
|
13
13
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
14
14
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
15
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
15
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
16
16
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
17
17
|
export interface IToggleDoorCanUse extends IActionUsable {
|
|
18
18
|
doodad: Doodad;
|
|
19
19
|
tile: Tile;
|
|
20
20
|
changeType: DoodadType;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
|
|
23
23
|
export default _default;
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
13
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
15
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
15
16
|
export interface IToggleHitchCanUse extends IActionUsable {
|
|
16
17
|
creature: Creature;
|
|
17
18
|
hitch?: Doodad;
|
|
18
19
|
}
|
|
19
|
-
declare const _default: Action<[], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleHitchCanUse, []>;
|
|
20
|
+
declare const _default: Action<[], ActionType.ToggleHitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleHitchCanUse, []>;
|
|
20
21
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("@wayward/game/game/entity/action/IAction").ActionType, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
14
14
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type { ITerrainDescription, TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
15
15
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
16
16
|
export interface ITillCanUse extends IActionUsable {
|
|
@@ -19,5 +19,5 @@ export interface ITillCanUse extends IActionUsable {
|
|
|
19
19
|
tileType: TerrainType;
|
|
20
20
|
terrainDescription: ITerrainDescription;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.ToggleTilled, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
23
23
|
export default _default;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
13
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
15
15
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
16
16
|
import Item from "@wayward/game/game/item/Item";
|
|
17
17
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
@@ -29,5 +29,5 @@ export interface ToggleVehicleItemCanUse extends IActionUsable {
|
|
|
29
29
|
facingTile?: Tile;
|
|
30
30
|
}
|
|
31
31
|
export type ToggleVehicleCanUse = ToggleVehicleDoodadCanUse | ToggleVehicleItemCanUse;
|
|
32
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
|
|
32
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.ToggleVehicle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
|
|
33
33
|
export default _default;
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { TradeArgument } from "@wayward/game/game/entity/action/actions/trade/TradeArgument";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
-
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
+
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], ActionType.Trade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
|
|
15
15
|
export default _default;
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type Item from "@wayward/game/game/item/Item";
|
|
15
15
|
export interface ITransmogrifyCanUse extends IActionUsable {
|
|
16
16
|
transmogrifyTarget: Item;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Transmogrify, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
15
15
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
16
16
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
@@ -22,5 +22,5 @@ export interface IUncageCanUse extends IActionUsable {
|
|
|
22
22
|
/**
|
|
23
23
|
* Releases a creature from a cage
|
|
24
24
|
*/
|
|
25
|
-
declare const _default: Action<[ActionArgument.ItemInventory], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUncageCanUse, [import("../../../item/Item").default]>;
|
|
25
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Uncage, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUncageCanUse, [import("../../../item/Item").default]>;
|
|
26
26
|
export default _default;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.Unequip, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
|
|
14
14
|
export default _default;
|
|
@@ -8,5 +8,6 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
+
declare const _default: import("../Action").Action<[], ActionType.Unhitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleHitch").IToggleHitchCanUse, []>;
|
|
12
13
|
export default _default;
|
|
@@ -8,5 +8,6 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
+
declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.UnProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
12
13
|
export default _default;
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
13
|
import type Human from "@wayward/game/game/entity/Human";
|
|
14
14
|
import { Direction } from "@wayward/game/utilities/math/Direction";
|
|
15
|
-
declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
15
|
+
declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.UpdateDirection, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
16
16
|
usable: true;
|
|
17
17
|
}, [Direction.None | Direction.East | Direction.North | Direction.West | Direction.South, (number | undefined)?, (boolean | undefined)?]>;
|
|
18
18
|
export default _default;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.Object], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.Object], ActionType.UpdateGameOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
|
|
14
14
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import { ActionArgumentCustom } from "@wayward/game/game/entity/action/argument/ActionArgumentCustom";
|
|
15
15
|
import type { IContainerSort } from "@wayward/game/game/item/IItemManager";
|
|
16
16
|
export declare class ActionArgumentItemSort extends ActionArgumentCustom<IContainerSort> {
|
|
@@ -18,5 +18,5 @@ export declare class ActionArgumentItemSort extends ActionArgumentCustom<IContai
|
|
|
18
18
|
read(): IContainerSort;
|
|
19
19
|
write(executor: Entity | undefined, value: IContainerSort): void;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], ActionType.UpdateItemOrder, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
|
|
22
22
|
export default _default;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[import("../argument/ActionArgumentObjectKey").default<import("../../../../save/data/ISaveDataGlobal").IOptions>, ActionArgument.Object], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../../save/data/ISaveDataGlobal").IOptions, any?]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[import("../argument/ActionArgumentObjectKey").default<import("../../../../save/data/ISaveDataGlobal").IOptions>, ActionArgument.Object], ActionType.UpdateOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../../save/data/ISaveDataGlobal").IOptions, any?]>;
|
|
14
14
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgumentCustom } from "@wayward/game/game/entity/action/argument/ActionArgumentCustom";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
15
15
|
import type { IWalkToPathInProgress } from "@wayward/game/game/entity/player/IPlayer";
|
|
16
16
|
export declare class WalkToArgument extends ActionArgumentCustom<IWalkToPathInProgress> {
|
|
@@ -20,5 +20,5 @@ export declare class WalkToArgument extends ActionArgumentCustom<IWalkToPathInPr
|
|
|
20
20
|
private readOptionalRange;
|
|
21
21
|
private writeOptionalRange;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, WalkToArgument]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(IWalkToPathInProgress | undefined)?]>;
|
|
23
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, WalkToArgument]], ActionType.UpdateWalkTo, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(IWalkToPathInProgress | undefined)?]>;
|
|
24
24
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type { IMagicalPropertyInfo } from "@wayward/game/game/item/IItem";
|
|
15
15
|
import type Item from "@wayward/game/game/item/Item";
|
|
16
16
|
import type MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
|
@@ -18,7 +18,7 @@ export interface IUpgradeCanUse extends IActionUsable {
|
|
|
18
18
|
upgrades: IUpgradeable[];
|
|
19
19
|
upgradeTarget: Item;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUpgradeCanUse, [Item, (Item | undefined)?]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Upgrade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUpgradeCanUse, [Item, (Item | undefined)?]>;
|
|
22
22
|
export default _default;
|
|
23
23
|
export interface IUpgradeable extends IMagicalPropertyInfo {
|
|
24
24
|
target: Item;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.Tile], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.Tile], ActionType.ViewItems, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../tile/Tile").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 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
|
+
import type Entity from "@wayward/game/game/entity/Entity";
|
|
12
|
+
import type { Direction } from "@wayward/game/utilities/math/Direction";
|
|
13
|
+
import Vector2 from "@wayward/game/utilities/math/Vector2";
|
|
14
|
+
declare namespace MoveUtilities {
|
|
15
|
+
function getMovePos(executor: Entity, direction: Direction): Vector2;
|
|
16
|
+
}
|
|
17
|
+
export default MoveUtilities;
|
|
@@ -18,4 +18,4 @@ export declare class ActionArgumentMerchant extends ActionArgumentCustom<Merchan
|
|
|
18
18
|
read(): MerchantNPC;
|
|
19
19
|
write(executor: Entity | undefined, value: MerchantNPC): void;
|
|
20
20
|
}
|
|
21
|
-
export declare const BuyItemFromMerchant: Action<[ActionArgument.Item, ActionArgumentMerchant], Entity<unknown, number, import("../../../../reference/IReferenceManager").EntityReferenceTypes, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../../item/Item").default, MerchantNPC]>;
|
|
21
|
+
export declare const BuyItemFromMerchant: Action<[ActionArgument.Item, ActionArgumentMerchant], import("@wayward/game/game/entity/action/IAction").ActionType, Entity<unknown, number, import("../../../../reference/IReferenceManager").EntityReferenceTypes, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../../item/Item").default, MerchantNPC]>;
|
|
@@ -17,7 +17,7 @@ export declare enum WorldContextMenuClasses {
|
|
|
17
17
|
OptionText = "world-context-menu-option-text"
|
|
18
18
|
}
|
|
19
19
|
export declare namespace WorldContextMenuClasses {
|
|
20
|
-
const OptionSpecific: (enumValue: UsableActionType) => "world-context-menu-option-none" | "world-context-menu-option-actions" | "world-context-menu-option-move" | "world-context-menu-option-use" | "world-context-menu-option-
|
|
20
|
+
const OptionSpecific: (enumValue: UsableActionType) => "world-context-menu-option-none" | "world-context-menu-option-actions" | "world-context-menu-option-move" | "world-context-menu-option-use" | "world-context-menu-option-collapse" | "world-context-menu-option-unused" | "world-context-menu-option-commandattack" | "world-context-menu-option-commanddefend" | "world-context-menu-option-commandfollowclose" | "world-context-menu-option-commandfollowfar" | "world-context-menu-option-commandheel" | "world-context-menu-option-commandstay" | "world-context-menu-option-quickslotremove" | "world-context-menu-option-quickslotadd" | "world-context-menu-option-quickslotaddtofree" | "world-context-menu-option-quickslotaddtoslot" | "world-context-menu-option-movetoinventory" | "world-context-menu-option-dropmenu" | "world-context-menu-option-dropall" | "world-context-menu-option-dropallofsamequality" | "world-context-menu-option-repairwithitem" | "world-context-menu-option-reinforcewithitem" | "world-context-menu-option-enhancewithitem" | "world-context-menu-option-enchantwithitem" | "world-context-menu-option-transmogrifywithitem" | "world-context-menu-option-upgradewithitem" | "world-context-menu-option-alterwithitem" | "world-context-menu-option-refinewithitem" | "world-context-menu-option-preservewithitem" | "world-context-menu-option-addfuelwithitem" | "world-context-menu-option-ignitewithitem" | "world-context-menu-option-absorbwithitem" | "world-context-menu-option-exudewithitem" | "world-context-menu-option-movetoinventorymenu" | "world-context-menu-option-movetoactivecontainermenu" | "world-context-menu-option-movetofacingcontainermenu" | "world-context-menu-option-moveall" | "world-context-menu-option-moveallofsamequality" | "world-context-menu-option-tradetradersell" | "world-context-menu-option-tradetraderbuy" | "world-context-menu-option-itemactions" | "world-context-menu-option-gatherwithhands" | "world-context-menu-option-harvestwithhands" | "world-context-menu-option-digwithhands" | "world-context-menu-option-tillwithhands" | "world-context-menu-option-pickupexcrementwithhands" | "world-context-menu-option-equipheld" | "world-context-menu-option-equiplegs" | "world-context-menu-option-equipchest" | "world-context-menu-option-equiphead" | "world-context-menu-option-equipwaist" | "world-context-menu-option-equipfeet" | "world-context-menu-option-equipneck" | "world-context-menu-option-equiphands" | "world-context-menu-option-equipback" | "world-context-menu-option-equipmainhand" | "world-context-menu-option-equipoffhand" | "world-context-menu-option-restonground" | "world-context-menu-option-sleeponground" | "world-context-menu-option-commandmenu" | "world-context-menu-option-displayheld" | "world-context-menu-option-displaylegs" | "world-context-menu-option-displaychest" | "world-context-menu-option-displayhead" | "world-context-menu-option-displaywaist" | "world-context-menu-option-displayfeet" | "world-context-menu-option-displayneck" | "world-context-menu-option-displayhands" | "world-context-menu-option-displayback" | "world-context-menu-option-displaymainhand" | "world-context-menu-option-displayoffhand" | "world-context-menu-option-reshapewithitem" | "world-context-menu-option-movecontentsmenu" | "world-context-menu-option-movecontentstoinventory" | "world-context-menu-option-movecontentstoactivecontainer" | "world-context-menu-option-movecontentstofacingcontainer" | "world-context-menu-option-movecontentsofactivecontainermenu" | "world-context-menu-option-movecontentsoffacingcontainermenu" | "world-context-menu-option-commandmenuall" | "world-context-menu-option-commandallfollowclose" | "world-context-menu-option-commandallfollowfar" | "world-context-menu-option-commandallstay" | "world-context-menu-option-commandalldefend" | "world-context-menu-option-commandallattack" | "world-context-menu-option-commandallheel" | "world-context-menu-option-ascend" | "world-context-menu-option-descend" | "world-context-menu-option-excavate";
|
|
21
21
|
}
|
|
22
22
|
export declare const UsableActionsWorldActions: UsableActionGenerator<[]>;
|
|
23
23
|
export declare const UsableActionsWorldItemActions: UsableActionGenerator<[]>;
|
|
@@ -33,7 +33,8 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
33
33
|
import type { Reference, ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
|
|
34
34
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
35
35
|
import type TileEvent from "@wayward/game/game/tile/TileEvent";
|
|
36
|
-
import Translation
|
|
36
|
+
import Translation from "@wayward/game/language/Translation";
|
|
37
|
+
import { Article } from "@wayward/game/language/ITranslation";
|
|
37
38
|
import { MarkerType } from "@wayward/game/renderer/notifier/INotifier";
|
|
38
39
|
import type { IUnserializedCallback } from "@wayward/game/save/serializer/ISerializer";
|
|
39
40
|
import { Direction } from "@wayward/game/utilities/math/Direction";
|
|
@@ -18,7 +18,7 @@ import type Human from "@wayward/game/game/entity/Human";
|
|
|
18
18
|
import { MoveType } from "@wayward/game/game/entity/IEntity";
|
|
19
19
|
import Tile from "@wayward/game/game/tile/Tile";
|
|
20
20
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
21
|
-
import { Article } from "@wayward/game/language/
|
|
21
|
+
import { Article } from "@wayward/game/language/ITranslation";
|
|
22
22
|
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
23
23
|
import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
24
24
|
export interface ICreatureManagerEvents extends Events<EntityManager<Creature>> {
|
|
@@ -34,6 +34,7 @@ export interface ICreatureManagerEvents extends Events<EntityManager<Creature>>
|
|
|
34
34
|
export default class CreatureManager extends EntityManager<Creature, IEntityRemoveOptions & {
|
|
35
35
|
remainTamed?: boolean;
|
|
36
36
|
}> {
|
|
37
|
+
readonly static: typeof CreatureManager;
|
|
37
38
|
protected readonly name = "CreatureManager";
|
|
38
39
|
event: IEventEmitter<this, ICreatureManagerEvents>;
|
|
39
40
|
static combatStrength: CombatStrengthManager;
|
|
@@ -77,6 +78,6 @@ export default class CreatureManager extends EntityManager<Creature, IEntityRemo
|
|
|
77
78
|
*/
|
|
78
79
|
getMovePenaltyFromWasm(moveType: MoveType, x: number, y: number, z: number): number;
|
|
79
80
|
spawnGuardians(position: IVector3, amount: number): number;
|
|
80
|
-
static list: import("../../../language/utility/TranslationListBuilder").
|
|
81
|
-
list: import("../../../language/utility/TranslationListBuilder").
|
|
81
|
+
static list: import("../../../language/utility/TranslationListBuilder").TranslationListBuilder<Creature, CreatureType, boolean>;
|
|
82
|
+
list: import("../../../language/utility/TranslationListBuilder").TranslationListBuilder<Creature, CreatureType, boolean>;
|
|
82
83
|
}
|
|
@@ -28,7 +28,7 @@ import type { ReferenceType } from "@wayward/game/game/reference/IReferenceManag
|
|
|
28
28
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
29
29
|
import type TileEvent from "@wayward/game/game/tile/TileEvent";
|
|
30
30
|
import type Translation from "@wayward/game/language/Translation";
|
|
31
|
-
import type { Article } from "@wayward/game/language/
|
|
31
|
+
import type { Article } from "@wayward/game/language/ITranslation";
|
|
32
32
|
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
33
33
|
import type { IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
34
34
|
export interface ICorpseEvents extends IEntityEvents {
|
|
@@ -13,7 +13,7 @@ import type { CreatureType } from "@wayward/game/game/entity/creature/ICreature"
|
|
|
13
13
|
import Corpse from "@wayward/game/game/entity/creature/corpse/Corpse";
|
|
14
14
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
15
15
|
import type { TextContext } from "@wayward/game/language/ITranslation";
|
|
16
|
-
import { Article } from "@wayward/game/language/
|
|
16
|
+
import { Article } from "@wayward/game/language/ITranslation";
|
|
17
17
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
18
18
|
export default class CorpseManager extends EntityManager<Corpse> {
|
|
19
19
|
protected readonly name = "CorpseManager";
|
|
@@ -33,7 +33,7 @@ import type { IContainer, ItemType } from "@wayward/game/game/item/IItem";
|
|
|
33
33
|
import type Item from "@wayward/game/game/item/Item";
|
|
34
34
|
import type { ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
|
|
35
35
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
36
|
-
import type { Article } from "@wayward/game/language/
|
|
36
|
+
import type { Article } from "@wayward/game/language/ITranslation";
|
|
37
37
|
import Translation from "@wayward/game/language/Translation";
|
|
38
38
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
39
39
|
import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
@@ -49,6 +49,7 @@ export interface INPCManagerSpawnTracker {
|
|
|
49
49
|
chances: number[];
|
|
50
50
|
}
|
|
51
51
|
export default class NPCManager extends EntityManager<NPC> {
|
|
52
|
+
readonly static: typeof NPCManager;
|
|
52
53
|
protected readonly name = "NPCManager";
|
|
53
54
|
protected readonly reregisterObjectsForMemoryLeaks = true;
|
|
54
55
|
event: IEventEmitter<this, INPCManagerEvents>;
|
|
@@ -14,7 +14,6 @@ import type { Stat } from "@wayward/game/game/entity/IStats";
|
|
|
14
14
|
import { MessageType } from "@wayward/game/game/entity/player/IMessageManager";
|
|
15
15
|
import type IStatusContext from "@wayward/game/game/entity/status/IStatusContext";
|
|
16
16
|
import type Status from "@wayward/game/game/entity/status/Status";
|
|
17
|
-
import type { StatusParticleEvent } from "@wayward/game/game/entity/status/Status";
|
|
18
17
|
import type { StatusEffectList } from "@wayward/game/game/entity/status/StatusEffectList";
|
|
19
18
|
import type { IGameOptionsStatus } from "@wayward/game/game/options/IGameOptions";
|
|
20
19
|
import type Dictionary from "@wayward/game/language/Dictionary";
|
|
@@ -88,6 +87,16 @@ export declare enum StatusType {
|
|
|
88
87
|
Statistician = 12,
|
|
89
88
|
Runekeeper = 13
|
|
90
89
|
}
|
|
90
|
+
/** Fake status types just for display */
|
|
91
|
+
export declare enum DisplayStatusType {
|
|
92
|
+
Cut = -100000,
|
|
93
|
+
RunekeeperEvil = -99999,
|
|
94
|
+
RunekeeperChaos = -99998,
|
|
95
|
+
RunekeeperGood = -99997,
|
|
96
|
+
StatisticianStrength = -99996,
|
|
97
|
+
StatisticianDexterity = -99995,
|
|
98
|
+
StatisticianMetabolism = -99994
|
|
99
|
+
}
|
|
91
100
|
export declare enum StatusApplicability {
|
|
92
101
|
None = 0,
|
|
93
102
|
Creature = 1,
|
|
@@ -143,3 +152,17 @@ export type StatusEffect = {
|
|
|
143
152
|
[TYPE in StatusEffectType]: IStatusEffect<TYPE>;
|
|
144
153
|
}[StatusEffectType];
|
|
145
154
|
export declare const STATUS_GROUP_MESSAGE_TYPE_MAP: Record<StatusThreatLevel, MessageType>;
|
|
155
|
+
export declare enum StatusParticleEvent {
|
|
156
|
+
/**
|
|
157
|
+
* Particle effect for when a turn passes
|
|
158
|
+
*/
|
|
159
|
+
Turn = 0,
|
|
160
|
+
/**
|
|
161
|
+
* Particle effect for when the status effect has a "tick". A status effect tick is controlled by the effect rate.
|
|
162
|
+
*/
|
|
163
|
+
Tick = 1,
|
|
164
|
+
/**
|
|
165
|
+
* Particle effect for when the status effect passes.
|
|
166
|
+
*/
|
|
167
|
+
Passed = 2
|
|
168
|
+
}
|
|
@@ -24,7 +24,7 @@ interface IStatusContext {
|
|
|
24
24
|
}
|
|
25
25
|
declare namespace IStatusContext {
|
|
26
26
|
function fromStatus(status: Status): IStatusContext;
|
|
27
|
-
function
|
|
27
|
+
function fromDef(status: StatusType, definition: IStatusDescription, entity?: EntityWithStats): IStatusContext;
|
|
28
28
|
function withLevel(status: IStatusContext, level: number): IStatusContext;
|
|
29
29
|
function getInterval(status: IStatusContext): number;
|
|
30
30
|
function getOptions(type: StatusType, entity?: EntityWithStats): IGameOptionsStatus;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import type EntityWithStats from "@wayward/game/game/entity/EntityWithStats";
|
|
12
12
|
import { StatusChangeReason } from "@wayward/game/game/entity/IEntity";
|
|
13
13
|
import type { IStatusDescription, IStatusIconDescription, StatusParticle, StatusType } from "@wayward/game/game/entity/status/IStatus";
|
|
14
|
+
import { StatusParticleEvent } from "@wayward/game/game/entity/status/IStatus";
|
|
14
15
|
import { StatusThreatLevel } from "@wayward/game/game/entity/status/IStatus";
|
|
15
16
|
import IStatusContext from "@wayward/game/game/entity/status/IStatusContext";
|
|
16
17
|
import type { StatusEffectList } from "@wayward/game/game/entity/status/StatusEffectList";
|
|
@@ -24,29 +25,6 @@ import type { IHighlight } from "@wayward/game/ui/util/IHighlight";
|
|
|
24
25
|
import type { IRGB } from "@wayward/utilities/Color";
|
|
25
26
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
|
26
27
|
export type StatusClass = Class<Status, [StatusType, EntityWithStats?]> & IModdable;
|
|
27
|
-
export declare enum StatusParticleEvent {
|
|
28
|
-
/**
|
|
29
|
-
* Particle effect for when a turn passes
|
|
30
|
-
*/
|
|
31
|
-
Turn = 0,
|
|
32
|
-
/**
|
|
33
|
-
* Particle effect for when the status effect has a "tick". A status effect tick is controlled by the effect rate.
|
|
34
|
-
*/
|
|
35
|
-
Tick = 1,
|
|
36
|
-
/**
|
|
37
|
-
* Particle effect for when the status effect passes.
|
|
38
|
-
*/
|
|
39
|
-
Passed = 2
|
|
40
|
-
}
|
|
41
|
-
export declare enum UiStatusType {
|
|
42
|
-
Cut = -100000,
|
|
43
|
-
RunekeeperEvil = -99999,
|
|
44
|
-
RunekeeperChaos = -99998,
|
|
45
|
-
RunekeeperGood = -99997,
|
|
46
|
-
StatisticianStrength = -99996,
|
|
47
|
-
StatisticianDexterity = -99995,
|
|
48
|
-
StatisticianMetabolism = -99994
|
|
49
|
-
}
|
|
50
28
|
export interface IStatusEvents {
|
|
51
29
|
tick(): any;
|
|
52
30
|
deregister(): any;
|