@wayward/types 2.14.3-beta.dev.20241226.1 → 2.14.4-beta
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/IGlobal.d.ts +2 -9
- package/definitions/game/game/Game.d.ts +7 -7
- package/definitions/game/game/IGame.d.ts +18 -2
- package/definitions/game/game/ILoot.d.ts +1 -0
- package/definitions/game/game/IObject.d.ts +3 -2
- package/definitions/game/game/doodad/Doodad.d.ts +18 -9
- package/definitions/game/game/doodad/DoodadManager.d.ts +2 -0
- package/definitions/game/game/doodad/DoodadUtilities.d.ts +25 -0
- package/definitions/game/game/doodad/IDoodad.d.ts +30 -0
- package/definitions/game/game/entity/Entity.d.ts +11 -4
- package/definitions/game/game/entity/EntityManager.d.ts +10 -3
- package/definitions/game/game/entity/Human.d.ts +17 -4
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +9 -8
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +32 -30
- package/definitions/game/game/entity/action/IAction.d.ts +30 -23
- package/definitions/game/game/entity/action/actions/Absorb.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Alter.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +14 -0
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Enhance.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +24 -0
- package/definitions/game/game/entity/action/actions/Extinguish.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Exude.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Kneel.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Repair.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rest.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Rotate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/helper/ConfirmDumpDropItems.d.ts +13 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +18 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -0
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +3 -1
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/creature/Creature.d.ts +11 -2
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +2 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +25 -1
- package/definitions/game/game/entity/player/Player.d.ts +17 -2
- package/definitions/game/game/entity/player/quest/quest/IQuest.d.ts +1 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +0 -2
- package/definitions/game/game/inspection/infoProviders/LevelValue.d.ts +3 -1
- package/definitions/game/game/inspection/infoProviders/MagicalDamageReduction.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/MagicalDamageRegeneration.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +3 -2
- package/definitions/game/game/inspection/infoProviders/creature/CreatureTamedInfo.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/doodad/DoodadScareRadius.d.ts +20 -0
- package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +3 -5
- package/definitions/game/game/inspection/infoProviders/item/ItemInvoke.d.ts +20 -0
- package/definitions/game/game/inspection/infoProviders/item/MagicalSourceTooltip.d.ts +2 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +4 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/stat/GenericInfo.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/MagicInspection.d.ts +2 -2
- package/definitions/game/game/island/Island.d.ts +10 -3
- package/definitions/game/game/island/automation/IAutomation.d.ts +10 -0
- package/definitions/game/game/item/IItem.d.ts +28 -14
- package/definitions/game/game/item/IItemManager.d.ts +2 -2
- package/definitions/game/game/item/Item.d.ts +20 -8
- package/definitions/game/game/item/ItemFinder.d.ts +2 -1
- package/definitions/game/game/item/ItemManager.d.ts +7 -7
- package/definitions/game/game/item/ItemReference.d.ts +3 -3
- package/definitions/game/game/item/MagicalLoot.d.ts +21 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +85 -0
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +7 -75
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +25 -6
- package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
- package/definitions/game/game/mapgen/MapGenHelpers.d.ts +1 -1
- package/definitions/game/game/meta/SaveLoad.d.ts +1 -1
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +111 -109
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
- package/definitions/game/game/milestones/Milestones.d.ts +2 -0
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifier.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +126 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Benevolent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Boundless.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Crafter.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Curator.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Dedicated.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Diverse.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Doctor.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/DragonSlayer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exsanguinated.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exterminator.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gardener.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gatherer.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Grandmaster.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Helmsman.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hounded.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hunter.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Huntsman.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Invoker.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Locksmith.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Malevolent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Merchant.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Multitasker.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Navigator.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Operator.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Retailer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Rouseabout.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Serene.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Statistician.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Talented.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thrower.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Traitor.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Trapper.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Treasurer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Turbulent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/StatBonusMilestoneModifier.d.ts +2 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +2 -1
- package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
- package/definitions/game/game/tile/ITileEvent.d.ts +2 -1
- package/definitions/game/game/tile/Tile.d.ts +37 -3
- package/definitions/game/game/tile/TileEvent.d.ts +0 -1
- package/definitions/game/game/tile/TileEventManager.d.ts +1 -1
- package/definitions/game/game/tile/events/Fire.d.ts +1 -1
- package/definitions/game/game/tile/events/MeltingTile.d.ts +1 -1
- package/definitions/game/game/tile/events/Puddles.d.ts +1 -1
- package/definitions/game/game/time/TimeManager.d.ts +8 -0
- package/definitions/game/language/Dictionary.d.ts +60 -58
- package/definitions/game/language/DictionaryMap.d.ts +122 -114
- package/definitions/game/language/ITranslation.d.ts +2 -0
- package/definitions/game/{multiplayer/packets/shared/DiscoverRecipePacket.d.ts → language/MagicAffix.d.ts} +5 -9
- package/definitions/game/language/Translation.d.ts +1 -2
- package/definitions/game/language/dictionary/Health.d.ts +2 -1
- package/definitions/game/language/dictionary/Message.d.ts +855 -830
- package/definitions/game/language/dictionary/Misc.d.ts +31 -26
- package/definitions/game/language/dictionary/UiTranslation.d.ts +931 -910
- package/definitions/game/language/english/item/MagicalPropertyAffixes.d.ts +13 -0
- package/definitions/game/language/english/item/MagicalSubPropertyAffixes.d.ts +13 -0
- package/definitions/game/language/impl/TranslationImpl.d.ts +8 -2
- package/definitions/game/mod/IMod.d.ts +1 -1
- package/definitions/game/multiplayer/IMultiplayer.d.ts +79 -76
- package/definitions/game/multiplayer/Multiplayer.d.ts +1 -1
- package/definitions/game/multiplayer/SyncRegion.d.ts +22 -0
- package/definitions/game/multiplayer/packets/IPacket.d.ts +3 -1
- package/definitions/game/renderer/IRenderer.d.ts +27 -26
- package/definitions/game/renderer/RenderersNotifiers.d.ts +2 -2
- package/definitions/game/renderer/notifier/INotifier.d.ts +51 -2
- package/definitions/game/renderer/notifier/Notifier.d.ts +2 -2
- package/definitions/game/renderer/world/WorldRenderer.d.ts +2 -1
- package/definitions/game/resource/IResourceLoader.d.ts +18 -18
- package/definitions/game/save/ISaveManager.d.ts +1 -1
- package/definitions/game/save/SaveManager.d.ts +1 -1
- package/definitions/game/save/SaveMetadata.d.ts +1 -1
- package/definitions/game/save/data/ISaveData.d.ts +23 -0
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -0
- package/definitions/game/save/data/SaveData.d.ts +10 -1
- package/definitions/game/save/data/SaveDataGlobal.d.ts +1 -1
- package/definitions/game/save/serializer/ISerializer.d.ts +1 -1
- package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +5 -1
- package/definitions/game/save/serializer/Serializer.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradePlayer.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradeSaveDataGlobal.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +18 -3
- package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +4 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/_beta.2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev00000001.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev00000002.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240827.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240829.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240901.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240905.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241024.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.3/beta2.14.3-dev20241223.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta.2.14.4-dev20250422.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta2.14.4-dev20241231.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta2.14.4-dev20250220.d.ts +12 -0
- package/definitions/game/steamworks/ISteamworks.d.ts +1 -6
- package/definitions/game/steamworks/Steamworks.d.ts +14 -5
- package/definitions/game/ui/{screen/screens/splash → component}/Notice.d.ts +4 -2
- package/definitions/game/ui/component/dropdown/IslandDropdown.d.ts +1 -1
- package/definitions/game/ui/component/dropdown/MagicalPropertyDropdown.d.ts +1 -2
- package/definitions/game/ui/input/Bindable.d.ts +143 -142
- package/definitions/game/ui/input/InputManager.d.ts +4 -2
- package/definitions/game/ui/input/Macros.d.ts +1 -1
- package/definitions/game/ui/screen/screens/SplashScreen.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/DialogManager.d.ts +8 -3
- package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +5 -1
- package/definitions/game/ui/screen/screens/game/ReferenceTooltipHandler.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +0 -1
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +6 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/MilestonesDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/dialog/QuestDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/dialog/equipment/EquipmentSlotTooltip.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/unlockables/UnlockablesDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/static/messages/MessageLog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/util/item/ItemStylesheet.d.ts +12 -0
- package/definitions/game/ui/screen/screens/menu/menus/main/ChangelogMenu.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/ErrorReportingNotice.d.ts +14 -0
- package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +3 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/TabSaveData.d.ts +1 -0
- package/definitions/game/ui/screen/screens/splash/DevelopmentBranchNotice.d.ts +1 -1
- package/definitions/game/ui/tooltip/Tooltip.d.ts +2 -2
- package/definitions/game/ui/util/ComponentManipulator.d.ts +6 -5
- package/definitions/game/ui/util/Draggable.d.ts +8 -15
- package/definitions/game/ui/util/HighlightManager.d.ts +11 -1
- package/definitions/game/ui/util/IHighlight.d.ts +1 -0
- package/definitions/game/utilities/Observer.d.ts +1 -1
- package/definitions/game/utilities/VersionTranslation.d.ts +18 -0
- package/definitions/game/utilities/dev/Debug.d.ts +4 -0
- package/definitions/game/utilities/dev/Performance2.d.ts +1 -0
- package/definitions/game/utilities/memory/MemoryLeakDetector.d.ts +8 -2
- package/definitions/game/utilities/object/Merge.d.ts +3 -0
- package/definitions/game/utilities/object/PrettyJsonStringify.d.ts +23 -0
- package/definitions/game/utilities/trello/ITrello.d.ts +1 -1
- package/definitions/game/utilities/trello/Trello.d.ts +1 -1
- package/definitions/hosts/node/nodeLoader.d.ts +1 -0
- package/definitions/hosts/shared/globalTypes.d.ts +6 -0
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/lint/condition-complexity.d.mts +31 -0
- package/definitions/{devserver/middleware/util → server/core}/Middleware.d.ts +1 -0
- package/definitions/{devserver → server/core}/middleware/E404.d.ts +1 -1
- package/definitions/server/core/middleware/Probe.d.ts +13 -0
- package/definitions/{devserver → server/core}/middleware/Static.d.ts +1 -1
- package/definitions/{devserver → server/core}/middleware/Validate.d.ts +1 -1
- package/definitions/{devserver/middleware → server/core}/util/SendFile.d.ts +1 -1
- package/definitions/{matchmakingserver → server/dev}/index.d.ts +1 -3
- package/definitions/{devserver → server/dev}/middleware/CustomInternalMods.d.ts +1 -1
- package/definitions/{devserver → server/dev}/middleware/SaveFolder.d.ts +1 -1
- package/definitions/server/error/Router.d.ts +13 -0
- package/definitions/server/error/index.d.ts +11 -0
- package/definitions/server/error/middleware/ReportError.d.ts +13 -0
- package/definitions/server/error/util/SendDiscordMessage.d.ts +19 -0
- package/definitions/{matchmakingserver → server/matchmaking}/dedicatedServer.d.ts +1 -1
- package/definitions/test/core/applicationDom.d.ts +4 -2
- package/definitions/test/core/applicationInteractions.d.ts +4 -0
- package/definitions/test/suite/functionalTests/singleplayer/ui/DialogLeak.d.ts +13 -0
- package/definitions/{devserver/index.d.ts → utilities/ApplyTsConfigPaths.d.ts} +1 -1
- package/definitions/utilities/Errors.d.ts +4 -0
- package/definitions/utilities/Functions.d.ts +1 -1
- package/definitions/utilities/Log.d.ts +35 -3
- package/definitions/{game/utilities → utilities}/Version.d.ts +5 -9
- package/definitions/utilities/dev/DebugShared.d.ts +23 -0
- package/definitions/utilities/event/EventEmitter.d.ts +39 -7
- package/definitions/utilities/memory/ILifetime.d.ts +5 -1
- package/definitions/utilities/object/Objects.d.ts +9 -0
- package/definitions/utilities/prototype/Array.d.ts +2 -1
- package/definitions/utilities/prototype/Define.d.ts +2 -0
- package/definitions/utilities/random/IRandom.d.ts +1 -1
- package/definitions/utilities/random/Random.d.ts +1 -1
- package/definitions/utilities/random/RandomUtilities.d.ts +2 -2
- package/definitions/utilities/random/SeededGenerator.d.ts +1 -1
- package/definitions/utilities/{typesglobal → types}/Types.d.ts +3 -0
- package/definitions/utilities/types.d.ts +18 -0
- package/package.json +3 -3
- /package/definitions/game/game/entity/action/actions/helper/{ConfirmGatherHarvest.d.ts → ConfirmGatherHarvestButcher.d.ts} +0 -0
- /package/definitions/{devserver → server/core}/util/Log.d.ts +0 -0
- /package/definitions/{devserver → server/dev}/Router.d.ts +0 -0
- /package/definitions/{devserver/middleware → server/dev}/util/GameLogFilter.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/directoryConnection.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/globalMatchmaking.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/globalServerDirectory.d.ts +0 -0
- /package/definitions/{matchmakingserver/vps.d.ts → server/matchmaking/index.d.ts} +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/server.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/shared.d.ts +0 -0
- /package/definitions/utilities/{types → type}/Assert.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Class.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Descriptions.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Function.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Immutable.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Iterables.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Misc.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Objects.d.ts +0 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2011-2024 Unlok
|
3
|
+
* https://www.unlok.ca
|
4
|
+
*
|
5
|
+
* Credits & Thanks:
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
7
|
+
*
|
8
|
+
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
9
|
+
* https://github.com/WaywardGame/types/wiki
|
10
|
+
*/
|
11
|
+
import MagicalPropertyManager from "@wayward/game/game/magic/MagicalPropertyManager";
|
12
|
+
import type { MagicalPropertyTypeSubTypeMap } from "@wayward/game/game/magic/MagicalPropertyType";
|
13
|
+
import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
14
|
+
export interface IHasMagic {
|
15
|
+
magic?: MagicalPropertyManager;
|
16
|
+
}
|
17
|
+
export interface IMagicalProperty {
|
18
|
+
value: number;
|
19
|
+
}
|
20
|
+
export declare const SYMBOL_MAGIC_SUB_PROPERTY_TYPES: unique symbol;
|
21
|
+
export declare const SYMBOL_MAGIC_SUB_PROPERTY_ENTRIES: unique symbol;
|
22
|
+
export interface IMagicalSubProperty<T extends number> {
|
23
|
+
subPropertyCount: number;
|
24
|
+
subProperties: Partial<Record<T, number>>;
|
25
|
+
[SYMBOL_MAGIC_SUB_PROPERTY_TYPES]: readonly T[];
|
26
|
+
[SYMBOL_MAGIC_SUB_PROPERTY_ENTRIES]: ReadonlyArray<{
|
27
|
+
type: T;
|
28
|
+
value: number;
|
29
|
+
}>;
|
30
|
+
}
|
31
|
+
export type MagicalProperty<T extends MagicalPropertyType> = MagicalPropertyTypeSubTypeMap extends Record<T, any> ? IMagicalSubProperty<MagicalPropertyTypeSubTypeMap[T]> : IMagicalProperty;
|
32
|
+
export interface MagicalNormalPropertyEntry {
|
33
|
+
type: MagicalNormalPropertyTypes;
|
34
|
+
value: number;
|
35
|
+
}
|
36
|
+
export type MagicalSubPropertyEntry = {
|
37
|
+
[K in MagicalSubPropertyTypes]: {
|
38
|
+
type: K;
|
39
|
+
subType: MagicalPropertyTypeSubTypeMap[K];
|
40
|
+
value: number;
|
41
|
+
};
|
42
|
+
}[MagicalSubPropertyTypes];
|
43
|
+
export type MagicalPropertyEntry = MagicalNormalPropertyEntry | MagicalSubPropertyEntry;
|
44
|
+
export declare namespace MagicalPropertyEntry {
|
45
|
+
function isSubType(entry: MagicalPropertyEntry): entry is MagicalSubPropertyEntry;
|
46
|
+
function identity(entry: MagicalPropertyEntry): MagicalPropertyIdentity;
|
47
|
+
}
|
48
|
+
export interface MagicalPropertyEntryIntersection {
|
49
|
+
type: MagicalPropertyType;
|
50
|
+
subType?: MagicalSubPropertySubTypes;
|
51
|
+
value: number;
|
52
|
+
}
|
53
|
+
export type AnyMagicalProperty = Partial<IMagicalProperty> & PartialValues<{
|
54
|
+
[K in MagicalSubPropertyTypes]: IMagicalSubProperty<MagicalPropertyTypeSubTypeMap[K]>;
|
55
|
+
}>;
|
56
|
+
export type MagicalSubPropertyTypes = keyof MagicalPropertyTypeSubTypeMap;
|
57
|
+
export type MagicalNormalPropertyTypes = Exclude<MagicalPropertyType, MagicalSubPropertyTypes>;
|
58
|
+
export type MagicalSubPropertySubTypes = MagicalPropertyTypeSubTypeMap[MagicalSubPropertyTypes];
|
59
|
+
export type MagicalSubPropertyTypesResult = {
|
60
|
+
[K in MagicalSubPropertyTypes]: {
|
61
|
+
type: K;
|
62
|
+
subTypes: ReadonlyArray<MagicalPropertyTypeSubTypeMap[K]>;
|
63
|
+
};
|
64
|
+
}[MagicalSubPropertyTypes];
|
65
|
+
export type MagicalNormalPropertyIdentity<A extends any[] = []> = [MagicalNormalPropertyTypes, ...A];
|
66
|
+
export type MagicalSubPropertyIdentity<A extends any[] = []> = {
|
67
|
+
[Key in MagicalSubPropertyTypes]: [Key, MagicalPropertyTypeSubTypeMap[Key], ...A];
|
68
|
+
}[MagicalSubPropertyTypes];
|
69
|
+
export type MagicalSubPropertyIdentitySimple<A extends any[] = []> = [MagicalSubPropertyTypes, MagicalSubPropertySubTypes, ...A];
|
70
|
+
export type MagicalPropertyIdentity<A extends any[] = []> = [MagicalPropertyType, ...A] | MagicalSubPropertyIdentity<A>;
|
71
|
+
export type MagicalPropertyIdentityFlat = MagicalNormalPropertyTypes | MagicalSubPropertyTypes | {
|
72
|
+
[Key in MagicalSubPropertyTypes]: [Key, MagicalPropertyTypeSubTypeMap[Key]];
|
73
|
+
}[MagicalSubPropertyTypes];
|
74
|
+
export type MagicalPropertyIdentityHash = `${MagicalNormalPropertyTypes}` | {
|
75
|
+
[Key in MagicalSubPropertyTypes]: `${Key}:${MagicalPropertyTypeSubTypeMap[Key]}`;
|
76
|
+
}[MagicalSubPropertyTypes];
|
77
|
+
export declare namespace MagicalPropertyIdentity {
|
78
|
+
function isNormalProperty(identity: MagicalPropertyIdentity): identity is MagicalNormalPropertyIdentity;
|
79
|
+
function isSubProperty(identity: MagicalPropertyIdentity): identity is MagicalSubPropertyIdentity;
|
80
|
+
function hash(...[type, subType]: MagicalPropertyIdentity): MagicalPropertyIdentityHash;
|
81
|
+
function hash(type: MagicalSubPropertyTypes, subType: MagicalSubPropertySubTypes): MagicalPropertyIdentityHash;
|
82
|
+
function translationHash(...identity: MagicalPropertyIdentity): string;
|
83
|
+
function unhash(hash: MagicalPropertyIdentityHash): MagicalPropertyIdentity | undefined;
|
84
|
+
function equals(...identities: MagicalPropertyIdentity[]): boolean;
|
85
|
+
}
|
@@ -8,84 +8,17 @@
|
|
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
|
+
import type { IHasMagic, AnyMagicalProperty, MagicalSubPropertyTypes, MagicalSubPropertyTypesResult, MagicalPropertyIdentityFlat, MagicalNormalPropertyTypes, MagicalPropertyEntryIntersection } from "@wayward/game/game/magic/IMagicalProperty";
|
12
|
+
import { MagicalPropertyIdentity } from "@wayward/game/game/magic/IMagicalProperty";
|
13
|
+
import { MagicalPropertyEntry } from "@wayward/game/game/magic/IMagicalProperty";
|
11
14
|
import type { MagicalPropertyTypeSubTypeMap } from "@wayward/game/game/magic/MagicalPropertyType";
|
12
15
|
import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
13
16
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
14
17
|
import type { ListEnder } from "@wayward/game/language/ITranslation";
|
15
18
|
import Translation from "@wayward/game/language/Translation";
|
19
|
+
import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
|
16
20
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
17
|
-
export interface
|
18
|
-
magic?: MagicalPropertyManager;
|
19
|
-
}
|
20
|
-
export interface IMagicalProperty {
|
21
|
-
value: number;
|
22
|
-
}
|
23
|
-
export declare const SYMBOL_MAGIC_SUB_PROPERTY_TYPES: unique symbol;
|
24
|
-
export declare const SYMBOL_MAGIC_SUB_PROPERTY_ENTRIES: unique symbol;
|
25
|
-
export interface IMagicalSubProperty<T extends number> {
|
26
|
-
subPropertyCount: number;
|
27
|
-
subProperties: Partial<Record<T, number>>;
|
28
|
-
[SYMBOL_MAGIC_SUB_PROPERTY_TYPES]: readonly T[];
|
29
|
-
[SYMBOL_MAGIC_SUB_PROPERTY_ENTRIES]: ReadonlyArray<{
|
30
|
-
type: T;
|
31
|
-
value: number;
|
32
|
-
}>;
|
33
|
-
}
|
34
|
-
export type MagicalProperty<T extends MagicalPropertyType> = MagicalPropertyTypeSubTypeMap extends Record<T, any> ? IMagicalSubProperty<MagicalPropertyTypeSubTypeMap[T]> : IMagicalProperty;
|
35
|
-
type MagicalNormalPropertyEntry = {
|
36
|
-
type: MagicalNormalPropertyTypes;
|
37
|
-
value: number;
|
38
|
-
};
|
39
|
-
type MagicalSubPropertyEntry = {
|
40
|
-
[K in MagicalSubPropertyTypes]: {
|
41
|
-
type: K;
|
42
|
-
subType: MagicalPropertyTypeSubTypeMap[K];
|
43
|
-
value: number;
|
44
|
-
};
|
45
|
-
}[MagicalSubPropertyTypes];
|
46
|
-
export type MagicalPropertyEntry = MagicalNormalPropertyEntry | MagicalSubPropertyEntry;
|
47
|
-
export declare namespace MagicalPropertyEntry {
|
48
|
-
function isSubType(entry: MagicalPropertyEntry): entry is MagicalSubPropertyEntry;
|
49
|
-
function identity(entry: MagicalPropertyEntry): MagicalPropertyIdentity;
|
50
|
-
}
|
51
|
-
export type MagicalPropertyEntryIntersection = {
|
52
|
-
type: MagicalPropertyType;
|
53
|
-
subType?: MagicalSubPropertySubTypes;
|
54
|
-
value: number;
|
55
|
-
};
|
56
|
-
export type AnyMagicalProperty = Partial<IMagicalProperty> & PartialValues<{
|
57
|
-
[K in MagicalSubPropertyTypes]: IMagicalSubProperty<MagicalPropertyTypeSubTypeMap[K]>;
|
58
|
-
}>;
|
59
|
-
export type MagicalSubPropertyTypes = keyof MagicalPropertyTypeSubTypeMap;
|
60
|
-
export type MagicalNormalPropertyTypes = Exclude<MagicalPropertyType, MagicalSubPropertyTypes>;
|
61
|
-
export type MagicalSubPropertySubTypes = MagicalPropertyTypeSubTypeMap[MagicalSubPropertyTypes];
|
62
|
-
type MagicalSubPropertyTypesResult = {
|
63
|
-
[K in MagicalSubPropertyTypes]: {
|
64
|
-
type: K;
|
65
|
-
subTypes: ReadonlyArray<MagicalPropertyTypeSubTypeMap[K]>;
|
66
|
-
};
|
67
|
-
}[MagicalSubPropertyTypes];
|
68
|
-
export type MagicalNormalPropertyIdentity<A extends any[] = []> = [MagicalNormalPropertyTypes, ...A];
|
69
|
-
export type MagicalSubPropertyIdentity<A extends any[] = []> = {
|
70
|
-
[Key in MagicalSubPropertyTypes]: [Key, MagicalPropertyTypeSubTypeMap[Key], ...A];
|
71
|
-
}[MagicalSubPropertyTypes];
|
72
|
-
export type MagicalSubPropertyIdentitySimple<A extends any[] = []> = [MagicalSubPropertyTypes, MagicalSubPropertySubTypes, ...A];
|
73
|
-
export type MagicalPropertyIdentity<A extends any[] = []> = [MagicalPropertyType, ...A] | MagicalSubPropertyIdentity<A>;
|
74
|
-
export type MagicalPropertyIdentityFlat = MagicalNormalPropertyTypes | MagicalSubPropertyTypes | {
|
75
|
-
[Key in MagicalSubPropertyTypes]: [Key, MagicalPropertyTypeSubTypeMap[Key]];
|
76
|
-
}[MagicalSubPropertyTypes];
|
77
|
-
export type MagicalPropertyIdentityHash = `${MagicalNormalPropertyTypes}` | {
|
78
|
-
[Key in MagicalSubPropertyTypes]: `${Key}:${MagicalPropertyTypeSubTypeMap[Key]}`;
|
79
|
-
}[MagicalSubPropertyTypes];
|
80
|
-
export declare namespace MagicalPropertyIdentity {
|
81
|
-
function isNormalProperty(identity: MagicalPropertyIdentity): identity is MagicalNormalPropertyIdentity;
|
82
|
-
function isSubProperty(identity: MagicalPropertyIdentity): identity is MagicalSubPropertyIdentity;
|
83
|
-
function hash(...[type, subType]: MagicalPropertyIdentity): MagicalPropertyIdentityHash;
|
84
|
-
function hash(type: MagicalSubPropertyTypes, subType: MagicalSubPropertySubTypes): MagicalPropertyIdentityHash;
|
85
|
-
function unhash(hash: MagicalPropertyIdentityHash): MagicalPropertyIdentity | undefined;
|
86
|
-
function equals(...identities: MagicalPropertyIdentity[]): boolean;
|
87
|
-
}
|
88
|
-
export interface IMagicalPropertyManagerEvents {
|
21
|
+
export interface IMagicalPropertyManagerEvents extends IEventSubscriberEvents {
|
89
22
|
/**
|
90
23
|
* Emitted when a property was removed
|
91
24
|
*/
|
@@ -225,11 +158,11 @@ export default class MagicalPropertyManager extends EventEmitter.Host<IMagicalPr
|
|
225
158
|
/**
|
226
159
|
* @returns a list of all the magical properties on this object
|
227
160
|
*/
|
228
|
-
all(): MagicalPropertyEntry[];
|
161
|
+
all(): readonly MagicalPropertyEntry[];
|
229
162
|
/**
|
230
163
|
* @returns a list of all the magical properties on this object,
|
231
164
|
*/
|
232
|
-
all(intersectionType: true): MagicalPropertyEntryIntersection[];
|
165
|
+
all(intersectionType: true): readonly MagicalPropertyEntryIntersection[];
|
233
166
|
/**
|
234
167
|
* Translates a list of the magical properties on this object, including sub-properties
|
235
168
|
* @param ender The way to end this list translation, ie and/or
|
@@ -258,4 +191,3 @@ export default class MagicalPropertyManager extends EventEmitter.Host<IMagicalPr
|
|
258
191
|
hash(): string;
|
259
192
|
private clearCachedArrays;
|
260
193
|
}
|
261
|
-
export {};
|
@@ -12,9 +12,9 @@ import Deity from "@wayward/game/game/deity/Deity";
|
|
12
12
|
import { DamageType } from "@wayward/game/game/entity/IEntity";
|
13
13
|
import { SkillType } from "@wayward/game/game/entity/IHuman";
|
14
14
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
15
|
-
import type { IItemDescription, IMagicalPropertyInfo } from "@wayward/game/game/item/IItem";
|
15
|
+
import type { IItemDescription, IMagicalPropertyInfo, ItemType } from "@wayward/game/game/item/IItem";
|
16
16
|
import type Item from "@wayward/game/game/item/Item";
|
17
|
-
import type { MagicalPropertyIdentity } from "@wayward/game/game/magic/
|
17
|
+
import type { MagicalPropertyIdentity } from "@wayward/game/game/magic/IMagicalProperty";
|
18
18
|
import type { TranslationArg } from "@wayward/game/language/ITranslation";
|
19
19
|
declare enum MagicalPropertyType {
|
20
20
|
/** Increases attack value (for weapons and ammo) */
|
@@ -25,7 +25,7 @@ declare enum MagicalPropertyType {
|
|
25
25
|
Illumination_LightItemLightBonus = 2,
|
26
26
|
/** Increases the amount of weight/items that can be contained */
|
27
27
|
Magnitude_WeightCapacity = 3,
|
28
|
-
/** Decreases item weight
|
28
|
+
/** Decreases item weight (minimum weight is 0.1) */
|
29
29
|
Featherweight = 4,
|
30
30
|
/** Increases a stat when equipped */
|
31
31
|
Stat = 5,
|
@@ -33,12 +33,13 @@ declare enum MagicalPropertyType {
|
|
33
33
|
Skill = 6,
|
34
34
|
/** Improves invoking and sacrifice chances */
|
35
35
|
Fanaticism_Deity = 7,
|
36
|
-
|
36
|
+
/** Increased the scare radius of the scarecrow */
|
37
|
+
Terror_ScareRadius = 8,
|
37
38
|
/** Increases the range in which a weapon can shoot a projectile or fishing pole/net can be thrown */
|
38
39
|
Range = 9,
|
39
40
|
/** Increases the stats normally gained when consuming/using an item */
|
40
41
|
Potency_ImproveConsumableStats = 10,
|
41
|
-
/** Increases the
|
42
|
+
/** Increases the credit awarded by merchants when selling this item */
|
42
43
|
Worth = 11,
|
43
44
|
/** Increases a trap's damage */
|
44
45
|
Ensnaring_TrapDamage = 12,
|
@@ -94,7 +95,7 @@ export interface IMagicalPropertyDescription {
|
|
94
95
|
/**
|
95
96
|
* Generates the magical property value when added.
|
96
97
|
*/
|
97
|
-
getInfo(item: Item, description: IItemDescription): IMagicalPropertyInfo | undefined;
|
98
|
+
getInfo(item: Item | ItemType, description: IItemDescription): IMagicalPropertyInfo | undefined;
|
98
99
|
/**
|
99
100
|
* By default, all magical property types can be inscribed. This allows disabling that feature for this magical property type.
|
100
101
|
*/
|
@@ -111,4 +112,22 @@ export interface MagicalPropertyTypeSubTypeMap {
|
|
111
112
|
[MagicalPropertyType.ElementalDamage]: DamageType;
|
112
113
|
[MagicalPropertyType.StatPotency_EquipmentImproveConsumableStats]: Stat;
|
113
114
|
}
|
115
|
+
export declare namespace MagicalPropertyInfoHelper {
|
116
|
+
/**
|
117
|
+
* Creates a partial `IMagicalPropertyDescription` that generates an integer value from min (inclusive) to max (exclusive),
|
118
|
+
* with an *actual* max for the magical property using `max`. (1 higher)
|
119
|
+
*/
|
120
|
+
function intRange(item: Item | ItemType, min: number, max: number, generatedMax?: number): {
|
121
|
+
min: number;
|
122
|
+
max: number;
|
123
|
+
value: () => number;
|
124
|
+
};
|
125
|
+
function randomInt(item: Item | ItemType, maxExclusive: number): number;
|
126
|
+
function randomInt(item: Item | ItemType, min: number, maxExclusive: number): number;
|
127
|
+
function randomIntInRange(item: Item | ItemType, max: number): number;
|
128
|
+
function randomIntInRange(item: Item | ItemType, min: number, maxInclusive: number): number;
|
129
|
+
function randomFloat(item: Item | ItemType, maxExclusive: number): number;
|
130
|
+
function randomFloat(item: Item | ItemType, min: number, maxExclusive: number): number;
|
131
|
+
function functionRequiringItem<T>(item: Item | ItemType, fn: (item: Item) => T): () => T;
|
132
|
+
}
|
114
133
|
export declare const magicalPropertyDescriptions: PartialRecord<MagicalPropertyType, IMagicalPropertyDescription>;
|
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
|
|
14
14
|
import type MapGenHelpers from "@wayward/game/game/mapgen/MapGenHelpers";
|
15
15
|
import type { Load, MultiplayerLoadingDescription } from "@wayward/game/game/meta/Loading";
|
16
16
|
import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
|
17
|
-
import type Version from "@wayward/
|
17
|
+
import type Version from "@wayward/utilities/Version";
|
18
18
|
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
|
19
19
|
import type WorldZ from "@wayward/utilities/game/WorldZ";
|
20
20
|
import type { Random } from "@wayward/utilities/random/Random";
|
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
|
|
14
14
|
import type { MapGenVersions } from "@wayward/game/game/mapgen/IMapGen";
|
15
15
|
import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
|
16
16
|
import type Tile from "@wayward/game/game/tile/Tile";
|
17
|
-
import Version from "@wayward/
|
17
|
+
import Version from "@wayward/utilities/Version";
|
18
18
|
export declare namespace MapGenHelpers {
|
19
19
|
function pickBasedOnVersion<T>(targetVersion: Version.String, versions: MapGenVersions<T>): {
|
20
20
|
version: Version.String;
|
@@ -22,7 +22,7 @@ export declare class SaveLoad {
|
|
22
22
|
* Saves the game (asynchronously)
|
23
23
|
* Keep in sync with saveGameSynchronous
|
24
24
|
*/
|
25
|
-
save(saveType: SaveType, load?: Load): Promise<ISaveInfo | undefined>;
|
25
|
+
save(saveType: SaveType, load?: Load, disableSave?: true): Promise<ISaveInfo | undefined>;
|
26
26
|
/**
|
27
27
|
* Saves the game (synchronously)
|
28
28
|
* Keep in sync with saveGame
|
@@ -21,115 +21,117 @@ export declare enum Prompt {
|
|
21
21
|
GameCannotRunIndexedDbError = 4,
|
22
22
|
GameConfirmationActionIsLava = 5,
|
23
23
|
GameConfirmationActionInLavaOrFire = 6,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
24
|
+
GameConfirmationActionDumpDropItemsInWaterVoid = 7,
|
25
|
+
GameConfirmationDestroyOnGather = 8,
|
26
|
+
GameConfirmationDroppingContainer = 9,
|
27
|
+
GameConfirmationRestWithEquippedFireSource = 10,
|
28
|
+
GameContainerNotFull = 11,
|
29
|
+
GameDesalinationNoNeed = 12,
|
30
|
+
GameExtinguishWaterStill = 13,
|
31
|
+
GameItemMayBeDestroyedInCraft = 14,
|
32
|
+
GameItemMayCauseBurns = 15,
|
33
|
+
GameItemsMayBeDestroyedOnUse = 16,
|
34
|
+
GameLoadFailure = 17,
|
35
|
+
GameNoHealingRequired = 18,
|
36
|
+
GameNoSaveOnDeath = 19,
|
37
|
+
GamePickUpDoodadWillBeDestroyed = 20,
|
38
|
+
GamePickUpStillWithWater = 21,
|
39
|
+
GameReleaseCreature = 22,
|
40
|
+
GameUncage = 23,
|
41
|
+
GameRenameGeneric = 24,
|
42
|
+
GameRenameCreature = 25,
|
43
|
+
GameRenameDoodad = 26,
|
44
|
+
GameRenameItem = 27,
|
45
|
+
GameReturnToTitleScreen = 28,
|
46
|
+
GameReturnToTitleScreenChallenge = 29,
|
47
|
+
GameSailAwayEnd = 30,
|
48
|
+
GameSailAwayReturnable = 31,
|
49
|
+
GameSaveError = 32,
|
50
|
+
GameSaveFailure = 33,
|
51
|
+
GameIslandTravelConfirmation = 34,
|
52
|
+
GameWellConvert = 35,
|
53
|
+
GameSolarStillWontWorkInTemperature = 36,
|
54
|
+
GameSolarStillWontWorkInCave = 37,
|
55
|
+
GameShipToIslandPayment = 38,
|
56
|
+
GameQuestConfirmSkip = 39,
|
57
|
+
GamePause = 40,
|
58
|
+
GameWin = 41,
|
59
|
+
GameOver = 42,
|
60
|
+
GameHelp = 43,
|
61
|
+
GameMultiplayerOptions = 44,
|
62
|
+
GameEditBindings = 45,
|
63
|
+
MenuCharacterCreationImportCharacterFailure = 46,
|
64
|
+
MenuCharacterSelectionDeleteCharacter = 47,
|
65
|
+
MenuGameEndGhostDeleteSave = 48,
|
66
|
+
MenuGameEndWonDeleteSave = 49,
|
67
|
+
MenuGameEndReturnToTitleScreen = 50,
|
68
|
+
MenuGameEndReturnToTitleScreenChallengeMultiplayer = 51,
|
69
|
+
MenuGameEndReturnToTitleScreenChallenge = 52,
|
70
|
+
MenuGameEndReturnToTitleScreenMultiplayer = 53,
|
71
|
+
MenuLoadGameDeleteSave = 54,
|
72
|
+
MenuLoadGameDeleteSaves = 55,
|
73
|
+
MenuLoadGameExportType = 56,
|
74
|
+
MenuLoadGameImportSaveFailure = 57,
|
75
|
+
MenuLoadGameMissingMod = 58,
|
76
|
+
MenuLoadGameOldBuildTime = 59,
|
77
|
+
MenuLoadGamePublishError = 60,
|
78
|
+
MenuMainWelcomeToVersion = 61,
|
79
|
+
MenuMainOldVersionWarning = 62,
|
80
|
+
MenuModsConfirmPublish = 63,
|
81
|
+
MenuModsConfirmPublishUpdate = 64,
|
82
|
+
MenuModsModEnableMultipleLanguages = 65,
|
83
|
+
MenuModsModEnableUseLanguage = 66,
|
84
|
+
MenuModsPublishedReminderRequiredModsOnWorkshop = 67,
|
85
|
+
MenuModsPublishError = 68,
|
86
|
+
MenuModsPublishUpdateError = 69,
|
87
|
+
MenuModsInfoMissingDependencies = 70,
|
88
|
+
MenuModsConfirmEnableDisabledDependencies = 71,
|
89
|
+
MenuModsConfirmDisableDependents = 72,
|
90
|
+
MenuModsConfirmUninstallMod = 73,
|
91
|
+
MenuModsUnloadableSaveGameMod = 74,
|
92
|
+
MenuModsSubmenuEditInternalModsModsListChangeReload = 75,
|
93
|
+
MenuMultiplayerCannotJoinFailedToLoadMods = 76,
|
94
|
+
MenuMultiplayerCannotJoinMissingMods = 77,
|
95
|
+
MenuNewGameTooManySaves = 78,
|
96
|
+
MenuCustomGameOptionsConfirmImport = 79,
|
97
|
+
MenuCustomGameOptionsImportFailure = 80,
|
98
|
+
MenuMilestoneModifiersConfirmImport = 81,
|
99
|
+
MenuMilestoneModifiersImportFailure = 82,
|
100
|
+
MenuOptionsReloadGame = 83,
|
101
|
+
MenuOptionsChangeReload = 84,
|
102
|
+
MenuOptionsChangeSteamBeta = 85,
|
103
|
+
MenuOptionsConfirmUnlockMilestones = 86,
|
104
|
+
MenuOptionsConfirmDiscoverActions = 87,
|
105
|
+
MenuOptionsConfirmUnlockRecipes = 88,
|
106
|
+
MenuOptionsSaveDataClearAll = 89,
|
107
|
+
MenuOptionsSaveDataClearCharacters = 90,
|
108
|
+
MenuOptionsSaveDataClearUI = 91,
|
109
|
+
MenuOptionsSaveDataClearHighscores = 92,
|
110
|
+
MenuOptionsSaveDataClearMilestones = 93,
|
111
|
+
MenuOptionsSaveDataClearOptions = 94,
|
112
|
+
MenuOptionsSaveDataClearSaves = 95,
|
113
|
+
MenuOptionsSaveDataClearCraftingRecipes = 96,
|
114
|
+
MenuOptionsSaveDataClearBindings = 97,
|
115
|
+
MenuOptionsConfirmImportGlobalData = 98,
|
116
|
+
MenuPauseGhostKeepSave = 99,
|
117
|
+
MenuPauseReturnToTitleScreen = 100,
|
118
|
+
MenuPauseReturnToTitleScreenChallenge = 101,
|
119
|
+
MenuPauseReturnToTitleScreenChallengeMultiplayer = 102,
|
120
|
+
MenuPauseReturnToTitleScreenMultiplayer = 103,
|
121
|
+
MultiplayerFailedToConnect = 104,
|
122
|
+
MultiplayerRestartServerAfterLoadingSave = 105,
|
123
|
+
MultiplayerDisconnect = 106,
|
124
|
+
MultiplayerDisconnectRejoin = 107,
|
125
|
+
MultiplayerServerHasUnpublishedMods = 108,
|
126
|
+
SteamworksURLOpenedInBrowser = 109,
|
127
|
+
SteamworksWorkshopOpenedInBrowser = 110,
|
128
|
+
SteamworksModWithNameAlreadyExists = 111,
|
129
|
+
SteamworksModImportSaveGameFailure = 112,
|
130
|
+
SteamworksModImportedSaveGame = 113,
|
131
|
+
SteamworksOpenFolderFailure = 114,
|
132
|
+
SteamworksModPublishModJsonUpdateFailed = 115,
|
133
|
+
SteamworksNotAvailableOnSteamDeck = 116,
|
134
|
+
UiSaveDrop = 117
|
133
135
|
}
|
134
136
|
export declare enum PromptType {
|
135
137
|
Info = 0,
|
@@ -27,6 +27,7 @@ export declare const promptGameConfirmationActionInLavaOrFire: import("@wayward/
|
|
27
27
|
AMOUNT: number;
|
28
28
|
LAVA?: true;
|
29
29
|
}]>;
|
30
|
+
export declare const promptGameConfirmationActionDumpDropItemsInWaterVoid: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
30
31
|
export declare const promptGameConfirmationActionIsLava: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[gatherText: Text]>;
|
31
32
|
export declare const promptGameConfirmationDestroyOnGather: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[growthStage: Text | undefined, objectName: Text]>;
|
32
33
|
export declare const promptGameConfirmationDroppingContainer: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
@@ -111,6 +112,7 @@ export declare const promptMenuOptionsConfirmDiscoverActions: import("@wayward/g
|
|
111
112
|
export declare const promptMenuOptionsConfirmUnlockRecipes: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
112
113
|
export declare const promptMenuOptionsSaveDataClearAll: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
113
114
|
export declare const promptMenuOptionsSaveDataClearCharacters: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
115
|
+
export declare const promptMenuOptionsSaveDataClearUI: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
114
116
|
export declare const promptMenuOptionsSaveDataClearHighscores: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
115
117
|
export declare const promptMenuOptionsSaveDataClearMilestones: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
116
118
|
export declare const promptMenuOptionsSaveDataClearOptions: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
@@ -8,9 +8,11 @@
|
|
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
|
+
import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
|
11
12
|
import { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
12
13
|
import MilestoneDefinition from "@wayward/game/game/milestones/MilestoneDefinition";
|
13
14
|
import Dictionary from "@wayward/game/language/Dictionary";
|
15
|
+
export declare const MILESTONES_HOSTILE_CREATURES: CreatureType[];
|
14
16
|
export declare const milestoneDescriptions: Descriptions<Milestone, MilestoneDefinition>;
|
15
17
|
export declare const milestoneDictionaries: Partial<Record<Milestone, Dictionary>>;
|
16
18
|
export declare namespace Milestones {
|
@@ -27,7 +27,7 @@ declare namespace Runekeeper {
|
|
27
27
|
Dismantle = 8
|
28
28
|
}
|
29
29
|
type DomainName = Lowercase<keyof typeof Domain>;
|
30
|
-
const DOMAINS: ("action" | "event" | "dismantle" | "
|
30
|
+
const DOMAINS: ("action" | "event" | "dismantle" | "craft" | "skill" | "disassemble" | "killcreature" | "tamecreature" | "killnpc")[];
|
31
31
|
type DomainData = `${DomainName}:${number}`;
|
32
32
|
function domainName(domain: Domain): DomainName;
|
33
33
|
function isDiscovered(domain: DomainData): boolean;
|
@@ -12,7 +12,7 @@ import type { SkillType } from "@wayward/game/game/entity/IHuman";
|
|
12
12
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
13
13
|
import type { IGameOptions, IGameOptionsSkill } from "@wayward/game/game/options/IGameOptions";
|
14
14
|
import { GameMode } from "@wayward/game/game/options/IGameOptions";
|
15
|
-
import Version from "@wayward/
|
15
|
+
import type Version from "@wayward/utilities/Version";
|
16
16
|
export declare const CREATURE_SPAWN_LIMIT = 15;
|
17
17
|
declare namespace GameOptions {
|
18
18
|
export function getDefault(difficulty?: GameMode, seed?: number): IGameOptions;
|
@@ -13,6 +13,8 @@ import type Human from "@wayward/game/game/entity/Human";
|
|
13
13
|
import type { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
14
14
|
import type { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
|
15
15
|
import GameplayModifier, { GameplayModifierInstance } from "@wayward/game/game/options/modifiers/GameplayModifier";
|
16
|
+
import type { TranslationArg } from "@wayward/game/language/ITranslation";
|
17
|
+
import Translation from "@wayward/game/language/Translation";
|
16
18
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
17
19
|
export declare enum MilestoneModifierGroup {
|
18
20
|
Creatures = 0,
|
@@ -45,6 +47,8 @@ export default abstract class MilestoneModifier extends GameplayModifier<Milesto
|
|
45
47
|
*/
|
46
48
|
isGlobal(): boolean;
|
47
49
|
constructor(id?: Milestone);
|
50
|
+
protected getTranslationArgs(): TranslationArg[] | undefined;
|
51
|
+
translateDescription(): Translation;
|
48
52
|
instantiate(id: Milestone, human?: Human): MilestoneModifierInstance | undefined;
|
49
53
|
abstract getOptions(): IGameOptionsPartial;
|
50
54
|
initialize(instance: MilestoneModifierInstance): MilestoneModifierInstance;
|