@wayward/types 2.15.0-beta.dev.20250924.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
|
@@ -9,12 +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
|
-
import
|
|
14
|
-
import type { Direction } from "@wayward/game/utilities/math/Direction";
|
|
15
|
-
import Vector2 from "@wayward/game/utilities/math/Vector2";
|
|
16
|
-
declare const _default: Action<[ActionArgument.Direction], 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.Direction], ActionType.Move, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
17
14
|
usable: true;
|
|
18
|
-
}, [Direction.None | Direction.East | Direction.North | Direction.West | Direction.South]>;
|
|
15
|
+
}, [import("../../../../utilities/math/Direction").Direction.None | import("../../../../utilities/math/Direction").Direction.East | import("../../../../utilities/math/Direction").Direction.North | import("../../../../utilities/math/Direction").Direction.West | import("../../../../utilities/math/Direction").Direction.South]>;
|
|
19
16
|
export default _default;
|
|
20
|
-
export declare function getMovePos(executor: Entity, direction: Direction): Vector2;
|
|
@@ -13,7 +13,7 @@ import { MoveItemFilterArgument } from "@wayward/game/game/entity/action/actions
|
|
|
13
13
|
import { MoveItemOptionsArgument } from "@wayward/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument";
|
|
14
14
|
import MoveItemsSourceArgument from "@wayward/game/game/entity/action/actions/moveItem/MoveItemsSourceArgument";
|
|
15
15
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
16
|
-
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
16
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
17
17
|
import type { IContainer } from "@wayward/game/game/item/IItem";
|
|
18
18
|
import Item from "@wayward/game/game/item/Item";
|
|
19
19
|
export interface IMoveItemCanUse extends IActionUsable {
|
|
@@ -21,5 +21,5 @@ export interface IMoveItemCanUse extends IActionUsable {
|
|
|
21
21
|
targetContainer: IContainer;
|
|
22
22
|
index?: number;
|
|
23
23
|
}
|
|
24
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearbyIncludingTradeContainer, ActionArgument.ItemArrayNearbyIncludingTradeContainer, MoveItemsSourceArgument], [arg1: ActionArgument.Undefined, ActionArgument.Container], [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, MoveItemFilterArgument<import("@wayward/game/game/entity/action/actions/moveItem/MoveItemFilterArgument").IMoveItemFilterArgument>], [arg1: ActionArgument.Undefined, MoveItemOptionsArgument]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IMoveItemCanUse, [(Item | Item[] | import("@wayward/game/game/entity/action/actions/moveItem/MoveItemsSourceArgument").IMoveItemsSourceArgument | undefined)?, (IContainer | undefined)?, (number | undefined)?, (import("@wayward/game/game/entity/action/actions/moveItem/MoveItemFilterArgument").IMoveItemFilterArgument | undefined)?, (import("@wayward/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument").IMoveItemOptionsArgument | undefined)?]>;
|
|
24
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearbyIncludingTradeContainer, ActionArgument.ItemArrayNearbyIncludingTradeContainer, MoveItemsSourceArgument], [arg1: ActionArgument.Undefined, ActionArgument.Container], [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, MoveItemFilterArgument<import("@wayward/game/game/entity/action/actions/moveItem/MoveItemFilterArgument").IMoveItemFilterArgument>], [arg1: ActionArgument.Undefined, MoveItemOptionsArgument]], ActionType.MoveItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IMoveItemCanUse, [(Item | Item[] | import("@wayward/game/game/entity/action/actions/moveItem/MoveItemsSourceArgument").IMoveItemsSourceArgument | undefined)?, (IContainer | undefined)?, (number | undefined)?, (import("@wayward/game/game/entity/action/actions/moveItem/MoveItemFilterArgument").IMoveItemFilterArgument | undefined)?, (import("@wayward/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument").IMoveItemOptionsArgument | undefined)?]>;
|
|
25
25
|
export default _default;
|
|
@@ -12,9 +12,9 @@ import type Human from "@wayward/game/game/entity/Human";
|
|
|
12
12
|
import { Delay } from "@wayward/game/game/entity/IHuman";
|
|
13
13
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
14
14
|
import type { IActionApi } 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 { Direction } from "@wayward/game/utilities/math/Direction";
|
|
17
|
-
declare const _default: Action<[ActionArgument.Vector2, [arg1: ActionArgument.Undefined, ActionArgument.Direction], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
17
|
+
declare const _default: Action<[ActionArgument.Vector2, [arg1: ActionArgument.Undefined, ActionArgument.Direction], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.MoveTo, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
18
18
|
usable: true;
|
|
19
19
|
}, [import("../../../../utilities/math/IVector").IVector2, (Direction.None | Direction.East | Direction.North | Direction.West | Direction.South | undefined)?, (boolean | undefined)?]>;
|
|
20
20
|
export default _default;
|
|
@@ -10,12 +10,12 @@
|
|
|
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
|
export interface INPCInteractUsable extends IActionUsable {
|
|
15
15
|
/**
|
|
16
16
|
* Whether this interaction is only usable when used directly — ie, via a dedicated UsableAction rather than in MoveTo
|
|
17
17
|
*/
|
|
18
18
|
onlyDirect?: boolean;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, INPCInteractUsable, [import("../../npc/NPC").default, (number | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], ActionType.NPCInteract, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, INPCInteractUsable, [import("../../npc/NPC").default, (number | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -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.ItemInventory], 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.ItemInventory], ActionType.Navigate, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
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.Human], 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("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.Human], ActionType.Noclip, 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("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>]>;
|
|
14
14
|
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 Creature from "@wayward/game/game/entity/creature/Creature";
|
|
15
15
|
export interface IOfferCanUse extends IActionUsable {
|
|
16
16
|
creature: Creature;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemInventory], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IOfferCanUse, [import("../../../item/Item").default]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Offer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IOfferCanUse, [import("../../../item/Item").default]>;
|
|
19
19
|
export default _default;
|
|
@@ -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.ItemNearby], 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.ItemNearby], ActionType.OpenBottle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
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.Container, import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], ActionType.OpenContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleContainer").IToggleContainerCanUse, [(import("../../npc/NPC").default | import("../../../item/IItem").IContainer | undefined)?, (boolean | undefined)?]>;
|
|
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.DoodadNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], ActionType.OpenDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/ToggleDoor").IToggleDoorCanUse, [(import("../../../doodad/Doodad").default | undefined)?, (boolean | undefined)?]>;
|
|
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.PackGround, 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;
|
|
@@ -10,9 +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 { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
14
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
14
15
|
export interface IPetCanUse extends IActionUsable {
|
|
15
16
|
creature: Creature;
|
|
16
17
|
}
|
|
17
|
-
declare const _default: Action<[], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPetCanUse, []>;
|
|
18
|
+
declare const _default: Action<[], ActionType.Pet, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPetCanUse, []>;
|
|
18
19
|
export default _default;
|
|
@@ -12,7 +12,7 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
12
12
|
import type { IDoodadDescription } 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 Human from "@wayward/game/game/entity/Human";
|
|
17
17
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
18
18
|
import type Item from "@wayward/game/game/item/Item";
|
|
@@ -25,5 +25,5 @@ export interface IPickUpCanUse extends IActionUsable {
|
|
|
25
25
|
pickUpTypes: ItemType[];
|
|
26
26
|
terrainDescription: ITerrainDescription;
|
|
27
27
|
}
|
|
28
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpCanUse, [(Item | undefined)?]>;
|
|
28
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.PickUp, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpCanUse, [(Item | undefined)?]>;
|
|
29
29
|
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 { ITileContainer } from "@wayward/game/game/tile/ITerrain";
|
|
15
15
|
export interface IPickUpAllItemsCanUse extends IActionUsable {
|
|
16
16
|
tileContainer: ITileContainer;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Boolean]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpAllItemsCanUse, [(boolean | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.PickUpAllItems, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpAllItemsCanUse, [(boolean | 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 Human from "@wayward/game/game/entity/Human";
|
|
15
15
|
import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
|
|
16
16
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
@@ -21,5 +21,5 @@ export interface IPickUpExcrementCanUse extends IActionUsable {
|
|
|
21
21
|
excrementDescription: ITileEventDescription;
|
|
22
22
|
excrement: TileEvent;
|
|
23
23
|
}
|
|
24
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpExcrementCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
24
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.PickUpExcrement, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpExcrementCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
25
25
|
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 IPickUpItemCanUse extends IActionUsable {
|
|
16
16
|
pickUpItem: Item | Item[];
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Boolean], [arg1: ActionArgument.Undefined, ActionArgument.ItemArrayNearby]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpItemCanUse, [(boolean | undefined)?, (Item[] | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Boolean], [arg1: ActionArgument.Undefined, ActionArgument.ItemArrayNearby]], ActionType.PickUpItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPickUpItemCanUse, [(boolean | undefined)?, (Item[] | undefined)?]>;
|
|
19
19
|
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, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Tile]], ActionType.PlaceDown, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Build").IBuildCanUse, [import("../../../item/Item").default, (import("../../../tile/Tile").default | undefined)?]>;
|
|
12
13
|
export default _default;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import type { DoodadType, IDoodadDescription } from "@wayward/game/game/doodad/IDoodad";
|
|
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 Item from "@wayward/game/game/item/Item";
|
|
16
16
|
import type { ITerrainDescription } from "@wayward/game/game/tile/ITerrain";
|
|
17
17
|
import { TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
@@ -23,5 +23,5 @@ export interface IPlantCanUse extends IActionUsable {
|
|
|
23
23
|
terrainDescription?: ITerrainDescription;
|
|
24
24
|
tile: Tile;
|
|
25
25
|
}
|
|
26
|
-
declare const _default: Action<[ActionArgument.ItemInventory], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPlantCanUse, [Item]>;
|
|
26
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Plant, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPlantCanUse, [Item]>;
|
|
27
27
|
export default _default;
|
|
@@ -12,7 +12,7 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
12
12
|
import type { IDoodadDescription } 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 Human from "@wayward/game/game/entity/Human";
|
|
17
17
|
import type { IWell } from "@wayward/game/game/island/IIsland";
|
|
18
18
|
import type { IItemDescription, IItemReturn } from "@wayward/game/game/item/IItem";
|
|
@@ -27,5 +27,5 @@ export interface IPourCanUse extends IActionUsable {
|
|
|
27
27
|
well?: IWell;
|
|
28
28
|
returnOnUse?: IItemReturn | undefined;
|
|
29
29
|
}
|
|
30
|
-
declare const _default: Action<[ActionArgument.ItemNearby], Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPourCanUse, [import("../../../item/Item").default]>;
|
|
30
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.Pour, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPourCanUse, [import("../../../item/Item").default]>;
|
|
31
31
|
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 { IItemDescription } from "@wayward/game/game/item/IItem";
|
|
15
15
|
export interface IPourOnYourselfCanUse extends IActionUsable {
|
|
16
16
|
itemDescription: IItemDescription;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPourOnYourselfCanUse, [import("../../../item/Item").default]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.PourOnYourself, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPourOnYourselfCanUse, [import("../../../item/Item").default]>;
|
|
19
19
|
export default _default;
|
|
@@ -10,12 +10,12 @@
|
|
|
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 { IItemDescription } from "@wayward/game/game/item/IItem";
|
|
15
15
|
import type Item from "@wayward/game/game/item/Item";
|
|
16
16
|
export interface IPreserveCanUse extends IActionUsable {
|
|
17
17
|
preservee: Item;
|
|
18
18
|
description: IItemDescription;
|
|
19
19
|
}
|
|
20
|
-
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, IPreserveCanUse, [Item, (Item | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Preserve, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPreserveCanUse, [Item, (Item | undefined)?]>;
|
|
21
21
|
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 Player from "@wayward/game/game/entity/player/Player";
|
|
14
14
|
import type { Prompt } from "@wayward/game/game/meta/prompt/IPrompt";
|
|
15
15
|
import InterruptChoice from "@wayward/game/language/dictionary/InterruptChoice";
|
|
16
|
-
declare const _default: Action<[ActionArgument.Integer32, [ActionArgument.Boolean, ActionArgument.Integer32]], Player, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [number, number | boolean]>;
|
|
16
|
+
declare const _default: Action<[ActionArgument.Integer32, [ActionArgument.Boolean, ActionArgument.Integer32]], ActionType.PromptResponse, Player, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [number, number | boolean]>;
|
|
17
17
|
export default _default;
|
|
18
18
|
export declare function waitForPromptResponse(executor: Player, type: Prompt): Promise<boolean | InterruptChoice>;
|
|
@@ -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.DoodadNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], ActionType.PropOpenDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/ToggleDoor").IToggleDoorCanUse, [(import("../../../doodad/Doodad").default | undefined)?, (boolean | undefined)?]>;
|
|
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.ProtectItem, 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;
|
|
@@ -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 { BookType } from "@wayward/game/game/item/IItem";
|
|
15
15
|
import type Item from "@wayward/game/game/item/Item";
|
|
16
16
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
@@ -18,5 +18,5 @@ export interface IReadCanUse extends IActionUsable {
|
|
|
18
18
|
book: BookType;
|
|
19
19
|
basicBookName: TranslationImpl;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.ItemNearby], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReadCanUse, [Item]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.Read, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReadCanUse, [Item]>;
|
|
22
22
|
export default _default;
|
|
@@ -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.ItemNearby], 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.ItemNearby], ActionType.ReadMap, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
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 IRefineCanUse extends IActionUsable {
|
|
16
16
|
refineTarget: 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, IRefineCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Refine, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRefineCanUse, [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 Item from "@wayward/game/game/item/Item";
|
|
15
15
|
export interface IReinforceCanUse extends IActionUsable {
|
|
16
16
|
maxReinforcement: number;
|
|
@@ -18,5 +18,5 @@ export interface IReinforceCanUse extends IActionUsable {
|
|
|
18
18
|
actionTier: number;
|
|
19
19
|
reinforcee: 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, IReinforceCanUse, [Item, (Item | undefined)?]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reinforce, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReinforceCanUse, [Item, (Item | undefined)?]>;
|
|
22
22
|
export default _default;
|
|
@@ -10,6 +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 { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
14
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
14
15
|
export interface IReleaseCanUse extends IActionUsable {
|
|
15
16
|
creature: Creature;
|
|
@@ -17,5 +18,5 @@ export interface IReleaseCanUse extends IActionUsable {
|
|
|
17
18
|
/**
|
|
18
19
|
* Releases a creature from being tamed
|
|
19
20
|
*/
|
|
20
|
-
declare const _default: Action<[], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReleaseCanUse, []>;
|
|
21
|
+
declare const _default: Action<[], ActionType.Release, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReleaseCanUse, []>;
|
|
21
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<[ActionArgument.NPC], 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("../../npc/NPC").default]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.NPC], ActionType.RemoveControllableNPC, 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("../../npc/NPC").default]>;
|
|
14
14
|
export default _default;
|
|
@@ -9,7 +9,7 @@
|
|
|
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 Creature from "@wayward/game/game/entity/creature/Creature";
|
|
14
|
-
declare const _default: Action<[[ActionArgument.ItemNearby, ActionArgument.Doodad, ActionArgument.Creature, ActionArgument.NPC], ActionArgument.String], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [Creature | import("../../../doodad/Doodad").default | import("../../../item/Item").default | import("../../npc/NPC").default, string]>;
|
|
14
|
+
declare const _default: Action<[[ActionArgument.ItemNearby, ActionArgument.Doodad, ActionArgument.Creature, ActionArgument.NPC], ActionArgument.String], ActionType.Rename, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [Creature | import("../../../doodad/Doodad").default | import("../../../item/Item").default | import("../../npc/NPC").default, string]>;
|
|
15
15
|
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.Island, ActionArgument.String], 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("../../../island/Island").default, string]>;
|
|
12
|
+
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.Island, ActionArgument.String], ActionType.RenameIsland, 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("../../../island/Island").default, string]>;
|
|
14
14
|
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 { IItemDescription } from "@wayward/game/game/item/IItem";
|
|
16
16
|
import type { IRequirementInfo } from "@wayward/game/game/item/IItemManager";
|
|
17
17
|
import type Item from "@wayward/game/game/item/Item";
|
|
@@ -22,5 +22,5 @@ export interface IRepairCanUse extends IActionUsable {
|
|
|
22
22
|
repaireeIsItem: boolean;
|
|
23
23
|
}
|
|
24
24
|
export declare function getDurabilityReduction(repairee: Item | Doodad, actionTier: number): number;
|
|
25
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRepairCanUse, [Item, (Doodad | Item | undefined)?]>;
|
|
25
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.Repair, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRepairCanUse, [Item, (Doodad | Item | undefined)?]>;
|
|
26
26
|
export default _default;
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
|
|
12
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[], ActionType.ResetItemDiscovered, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
13
14
|
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 IReshapeCanUse extends IActionUsable {
|
|
16
16
|
reshapeTarget: 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, IReshapeCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reshape, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReshapeCanUse, [Item, (Item | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -10,9 +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 { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
14
|
export interface IRespawnCanUse extends IActionUsable {
|
|
14
15
|
rerunInitialPlayerSetup?: boolean;
|
|
15
16
|
isNotMultiplayer?: boolean;
|
|
16
17
|
}
|
|
17
|
-
declare const _default: Action<[], import("../../player/Player").default, void, IRespawnCanUse, []>;
|
|
18
|
+
declare const _default: Action<[], ActionType.Respawn, import("../../player/Player").default, void, IRespawnCanUse, []>;
|
|
18
19
|
export default _default;
|
|
@@ -12,7 +12,7 @@ import { RestType } from "@wayward/game/game/entity/IHuman";
|
|
|
12
12
|
import type { IStatChanging, IStatMax } from "@wayward/game/game/entity/IStats";
|
|
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 { ITerrainDescription, TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
17
17
|
export interface IRestCanUse extends IActionUsable {
|
|
18
18
|
restType: RestType;
|
|
@@ -21,5 +21,5 @@ export interface IRestCanUse extends IActionUsable {
|
|
|
21
21
|
tileDescription?: ITerrainDescription;
|
|
22
22
|
tileType: TerrainType;
|
|
23
23
|
}
|
|
24
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby], [ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<RestType, "Resting" | "Sleeping">]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (RestType | undefined)?]>;
|
|
24
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby], [ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<RestType, "Resting" | "Sleeping">]], ActionType.Rest, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (RestType | undefined)?]>;
|
|
25
25
|
export default _default;
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
|
-
|
|
12
|
+
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[], ActionType.RestCancel, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
13
14
|
export default _default;
|