@wayward/types 2.14.4-beta.dev.20241231.1 → 2.14.4-beta.dev.20250102.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/IGlobal.d.ts +2 -9
- package/definitions/game/game/Game.d.ts +2 -2
- package/definitions/game/game/IGame.d.ts +1 -1
- package/definitions/game/game/doodad/Doodad.d.ts +1 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/island/Island.d.ts +2 -2
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +2 -1
- package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
- package/definitions/game/game/mapgen/MapGenHelpers.d.ts +1 -1
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/language/DictionaryMap.d.ts +2 -2
- package/definitions/game/language/dictionary/Message.d.ts +37 -37
- package/definitions/game/language/dictionary/UiTranslation.d.ts +924 -917
- package/definitions/game/mod/IMod.d.ts +1 -1
- 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 +1 -1
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +2 -1
- package/definitions/game/save/data/SaveData.d.ts +1 -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 +1 -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 +1 -1
- package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +1 -1
- package/definitions/game/steamworks/ISteamworks.d.ts +0 -6
- package/definitions/game/steamworks/Steamworks.d.ts +2 -2
- package/definitions/game/ui/{screen/screens/splash → component}/Notice.d.ts +4 -2
- 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/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/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 +2 -0
- package/definitions/game/ui/screen/screens/splash/DevelopmentBranchNotice.d.ts +1 -1
- package/definitions/game/utilities/VersionTranslation.d.ts +18 -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/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/{matchmakingserver → server/matchmaking}/dedicatedServer.d.ts +1 -1
- package/definitions/test/core/applicationDom.d.ts +1 -1
- 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/{game/utilities → utilities}/Version.d.ts +3 -7
- package/definitions/utilities/event/EventEmitter.d.ts +12 -7
- package/definitions/utilities/types.d.ts +18 -0
- package/package.json +1 -1
- /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
- /package/definitions/utilities/{typesglobal → types}/Types.d.ts +0 -0
@@ -23,20 +23,13 @@ import "@wayward/game/typings/jquery";
|
|
23
23
|
import "@wayward/game/typings/jqueryui";
|
24
24
|
import type { Ui } from "@wayward/game/ui/Ui";
|
25
25
|
import type OldUi from "@wayward/game/ui/old/OldUi";
|
26
|
-
import type Version from "@wayward/
|
26
|
+
import type Version from "@wayward/utilities/Version";
|
27
27
|
import "@wayward/goodstream/apply";
|
28
28
|
import "@wayward/hosts/shared/globalTypes";
|
29
29
|
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
30
30
|
import "@wayward/utilities/IGlobal";
|
31
31
|
import "@wayward/utilities/prototype/Promise";
|
32
|
-
import "@wayward/utilities/
|
33
|
-
import "@wayward/utilities/typesglobal/Descriptions";
|
34
|
-
import "@wayward/utilities/typesglobal/Function";
|
35
|
-
import "@wayward/utilities/typesglobal/Immutable";
|
36
|
-
import "@wayward/utilities/typesglobal/Iterables";
|
37
|
-
import "@wayward/utilities/typesglobal/Misc";
|
38
|
-
import "@wayward/utilities/typesglobal/Objects";
|
39
|
-
import "@wayward/utilities/typesglobal/Types";
|
32
|
+
import "@wayward/utilities/types";
|
40
33
|
declare global {
|
41
34
|
let audio: WAudio | undefined;
|
42
35
|
let game: Game;
|
@@ -45,8 +45,8 @@ import type { IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
|
|
45
45
|
import type { ISerializer } from "@wayward/game/save/serializer/ISerializer";
|
46
46
|
import type StringTokenizer from "@wayward/game/save/serializer/StringTokenizer";
|
47
47
|
import Steamworks from "@wayward/game/steamworks/Steamworks";
|
48
|
-
import type { IVersionInfo } from "@wayward/
|
49
|
-
import Version from "@wayward/
|
48
|
+
import type { IVersionInfo } from "@wayward/utilities/Version";
|
49
|
+
import Version from "@wayward/utilities/Version";
|
50
50
|
import type { IVector2 } from "@wayward/game/utilities/math/IVector";
|
51
51
|
import { WebWorkerManager } from "@wayward/game/webWorker/WebWorkerManager";
|
52
52
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
@@ -29,7 +29,7 @@ import type { IMultiplayerOptions, IMultiplayerWorldData, ServerInfo } from "@wa
|
|
29
29
|
import type { Renderer } from "@wayward/game/renderer/Renderer";
|
30
30
|
import type { IReplayLogEntry } from "@wayward/game/replay/IReplayLogEntry";
|
31
31
|
import type { IHighscoreOld, IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
|
32
|
-
import type Version from "@wayward/
|
32
|
+
import type Version from "@wayward/utilities/Version";
|
33
33
|
import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
|
34
34
|
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
35
35
|
import type { IRange } from "@wayward/utilities/math/Range";
|
@@ -234,7 +234,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
|
|
234
234
|
removeMagic(): void;
|
235
235
|
unhitch(): void;
|
236
236
|
damage(forceBreak?: boolean, skipDropAsItem?: boolean, skipSound?: boolean, skipResources?: boolean, damage?: number): void;
|
237
|
-
getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/
|
237
|
+
getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator | import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator>): number;
|
238
238
|
/**
|
239
239
|
* Gets the container to use for doodad executed actions
|
240
240
|
*/
|
@@ -142,7 +142,7 @@ export declare const actionDescriptionsSlow: {
|
|
142
142
|
122: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
|
143
143
|
136: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
|
144
144
|
6: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetDown").ISetDownCanUse, [import("../../item/Item").default]>;
|
145
|
-
123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "
|
145
|
+
123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../../milestones/IMilestone").Milestone | import("../IHuman").SkillType | undefined)?]>;
|
146
146
|
119: import("./Action").Action<[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.Island, import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ShipToIsland").IShipToIslandCanUse, [import("../npc/NPC").default, (import("../../island/Island").default | import("../../../utilities/math/IVector").IVector2 | undefined)?, (number | undefined)?]>;
|
147
147
|
94: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Shoot").IShootCanUse, [import("../../item/Item").default]>;
|
148
148
|
11: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../IHuman").RestType, "Resting" | "Sleeping">]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../doodad/Doodad").default | import("../../item/Item").default | undefined)?, (import("../IHuman").RestType | undefined)?]>;
|
@@ -16,5 +16,5 @@ export declare enum TitleType {
|
|
16
16
|
Milestone = 0,
|
17
17
|
Skill = 1
|
18
18
|
}
|
19
|
-
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "
|
19
|
+
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
|
20
20
|
export default _default;
|
@@ -43,8 +43,8 @@ import TileEventManager from "@wayward/game/game/tile/TileEventManager";
|
|
43
43
|
import Translation from "@wayward/game/language/Translation";
|
44
44
|
import World from "@wayward/game/renderer/world/World";
|
45
45
|
import type { IPostSerializeCallback, IPreSerializeCallback, ISerializer } from "@wayward/game/save/serializer/ISerializer";
|
46
|
-
import type { IVersionInfo } from "@wayward/
|
47
|
-
import Version from "@wayward/
|
46
|
+
import type { IVersionInfo } from "@wayward/utilities/Version";
|
47
|
+
import Version from "@wayward/utilities/Version";
|
48
48
|
import { Direction } from "@wayward/game/utilities/math/Direction";
|
49
49
|
import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
|
50
50
|
import Vector2 from "@wayward/game/utilities/math/Vector2";
|
@@ -16,8 +16,9 @@ import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
|
16
16
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
17
17
|
import type { ListEnder } from "@wayward/game/language/ITranslation";
|
18
18
|
import Translation from "@wayward/game/language/Translation";
|
19
|
+
import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
|
19
20
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
20
|
-
export interface IMagicalPropertyManagerEvents {
|
21
|
+
export interface IMagicalPropertyManagerEvents extends IEventSubscriberEvents {
|
21
22
|
/**
|
22
23
|
* Emitted when a property was removed
|
23
24
|
*/
|
@@ -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;
|
@@ -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 type 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;
|
@@ -1830,8 +1830,8 @@ declare const dictionaryMap: {
|
|
1830
1830
|
70: typeof Load;
|
1831
1831
|
71: symbol;
|
1832
1832
|
72: typeof MagicalPropertyType;
|
1833
|
-
74: symbol;
|
1834
1833
|
73: typeof MagicalPropertyType;
|
1834
|
+
74: symbol;
|
1835
1835
|
75: typeof MapQuality;
|
1836
1836
|
76: typeof MenuBarButtonType;
|
1837
1837
|
77: typeof Message;
|
@@ -3622,8 +3622,8 @@ export declare const strictDictionaries: {
|
|
3622
3622
|
70: typeof Load;
|
3623
3623
|
71: symbol;
|
3624
3624
|
72: typeof MagicalPropertyType;
|
3625
|
-
74: symbol;
|
3626
3625
|
73: typeof MagicalPropertyType;
|
3626
|
+
74: symbol;
|
3627
3627
|
75: typeof MapQuality;
|
3628
3628
|
76: typeof MenuBarButtonType;
|
3629
3629
|
77: typeof Message;
|
@@ -336,43 +336,43 @@ declare enum Message {
|
|
336
336
|
DedicatedTitleAlreadySelected = 324,
|
337
337
|
DedicatedTitleMilestoneNotAllowed = 325,
|
338
338
|
DestroyedFromUse = 326,
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
339
|
+
DeveloperContainerDesync = 327,
|
340
|
+
DidNotSeemToBeHurting = 328,
|
341
|
+
Dig = 329,
|
342
|
+
DigAway = 330,
|
343
|
+
Digging = 331,
|
344
|
+
Disassemble = 332,
|
345
|
+
Disassembling = 333,
|
346
|
+
DiscoveredCaveEntrance = 334,
|
347
|
+
DiscoveredColdInsulation = 335,
|
348
|
+
DiscoveredHeatInsulation = 336,
|
349
|
+
DiscoveredInTheBottle = 337,
|
350
|
+
DiscoveredLavaPassage = 338,
|
351
|
+
DiscoveredQuality = 339,
|
352
|
+
Dismantle = 340,
|
353
|
+
Dismantling = 341,
|
354
|
+
DismantlingRequires = 342,
|
355
|
+
Dismounted = 343,
|
356
|
+
DisplacedPuddles = 344,
|
357
|
+
DoNotProduceAnyResources = 345,
|
358
|
+
DoodadCauseStatus = 346,
|
359
|
+
DoodadGroupTier = 347,
|
360
|
+
DrewSurroundings = 348,
|
361
|
+
Dripstone = 349,
|
362
|
+
DroppedIntoDepths = 350,
|
363
|
+
DroppedIntoFire = 351,
|
364
|
+
DroppedIntoTheVoid = 352,
|
365
|
+
DryadSprouted = 353,
|
366
|
+
DueToDehydration = 354,
|
367
|
+
DueToStarvation = 355,
|
368
|
+
DugTreasureOut = 356,
|
369
|
+
DugTreasureOutSurprise = 357,
|
370
|
+
DumpContentsOfContainerInInventory = 358,
|
371
|
+
DyingOfDehydration = 359,
|
372
|
+
EarnedMilestone = 360,
|
373
|
+
Effective = 361,
|
374
|
+
EquipmentPreventedStatusEffects = 362,
|
375
|
+
ErrorHasOccured = 363,
|
376
376
|
ExtinguishedFire = 364,
|
377
377
|
ExtinguishedLightSource = 365,
|
378
378
|
ExudeNotPossible = 366,
|