@wayward/types 2.14.0-beta.dev.20231205.1 → 2.14.0-beta.dev.20231207.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/game/deity/AlignmentManager.d.ts +3 -1
- package/definitions/game/game/deity/IDeities.d.ts +10 -2
- package/definitions/game/game/doodad/Doodad.d.ts +3 -3
- package/definitions/game/game/doodad/IDoodad.d.ts +8 -0
- package/definitions/game/game/entity/Human.d.ts +2 -1
- package/definitions/game/game/entity/IHuman.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/item/Item.d.ts +2 -0
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +94 -93
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +1 -0
- package/definitions/game/game/milestones/IMilestone.d.ts +2 -1
- package/definitions/game/language/Translation.d.ts +1 -0
- package/definitions/game/language/dictionary/Message.d.ts +789 -780
- package/definitions/game/renderer/Renderer.d.ts +5 -5
- package/definitions/game/renderer/platform/webgl/SpriteBatchWebGlBase.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/IMessages.d.ts +2 -1
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/package.json +1 -1
|
@@ -32,7 +32,8 @@ export default class AlignmentManager {
|
|
|
32
32
|
}
|
|
33
33
|
export declare class Alignment implements IReadableAlignment {
|
|
34
34
|
private readonly alignment;
|
|
35
|
-
static calculateNightlyEvilAlignment(human?: Human): number;
|
|
35
|
+
static calculateNightlyEvilAlignment(human?: Human, modifier?: number): number;
|
|
36
|
+
private static calculateRampFraction;
|
|
36
37
|
private readonly humanRef;
|
|
37
38
|
private get human();
|
|
38
39
|
constructor(human: Human, alignment: AlignmentDetails);
|
|
@@ -82,6 +83,7 @@ export declare class Alignment implements IReadableAlignment {
|
|
|
82
83
|
* A multiplier for the amount of evil that the player will receive tomorrow night. (IE delayed by one day.)
|
|
83
84
|
*/
|
|
84
85
|
get nightlyEvilMultiplier(): number;
|
|
86
|
+
get atMaxRamp(): boolean;
|
|
85
87
|
/**
|
|
86
88
|
* A multiplier for the amount of evil that the player will receive tomorrow night. (IE delayed by one day.)
|
|
87
89
|
*/
|
|
@@ -28,7 +28,7 @@ export declare const DEITY_RUNE_CHANCE_BASE_MAX = 0.1;
|
|
|
28
28
|
*
|
|
29
29
|
* The piety chance is combined with the base chance in the rune dropping calculation.
|
|
30
30
|
*/
|
|
31
|
-
export declare const DEITY_RUNE_CHANCE_PIETY_MAX = 0.
|
|
31
|
+
export declare const DEITY_RUNE_CHANCE_PIETY_MAX = 0.1;
|
|
32
32
|
/**
|
|
33
33
|
* The chance that a rune drop is replaced with a neutral rune drop.
|
|
34
34
|
*/
|
|
@@ -40,7 +40,15 @@ export declare const DEITY_ALIGNMENT_EVIL_NIGHTLY_RAMP_RANGE: IRange;
|
|
|
40
40
|
/**
|
|
41
41
|
* The number of days it takes for nightly evil alignment to fully ramp up.
|
|
42
42
|
*/
|
|
43
|
-
export declare const DEITY_ALIGNMENT_EVIL_NIGHTLY_RAMP_TIME =
|
|
43
|
+
export declare const DEITY_ALIGNMENT_EVIL_NIGHTLY_RAMP_TIME = 50;
|
|
44
|
+
/**
|
|
45
|
+
* A multiplier for chance values that get added to the nightly evil multiplier.
|
|
46
|
+
*/
|
|
47
|
+
export declare const DEITY_ALIGNMENT_EVIL_NIGHTLY_MULTIPLIER_CHANCE_VALUE_MULTIPLIER: number;
|
|
48
|
+
/**
|
|
49
|
+
* The chance of adding to the nightly evil multiplier.
|
|
50
|
+
*/
|
|
51
|
+
export declare const DEITY_ALIGNMENT_EVIL_NIGHTLY_MULTIPLIER_CHANCE_VALUE_CHANCE: number;
|
|
44
52
|
export interface IReadableAlignment {
|
|
45
53
|
/**
|
|
46
54
|
* The current Deity aligned to.
|
|
@@ -12,8 +12,7 @@ import { TileUpdateType } from "@wayward/game/game/IGame";
|
|
|
12
12
|
import type { IObject } from "@wayward/game/game/IObject";
|
|
13
13
|
import { Quality } from "@wayward/game/game/IObject";
|
|
14
14
|
import type { DisplayableDoodadType, DoodadTypeExtra, DoorOrientation, IDoodadDescription, IDoodadOptions, IHasBuilder, IHasWater } from "@wayward/game/game/doodad/IDoodad";
|
|
15
|
-
import { DoodadTag } from "@wayward/game/game/doodad/IDoodad";
|
|
16
|
-
import { DoodadType, DoodadTypeGroup, GrowingStage } from "@wayward/game/game/doodad/IDoodad";
|
|
15
|
+
import { DoodadTag, DoodadType, DoodadTypeGroup, GrowingStage } from "@wayward/game/game/doodad/IDoodad";
|
|
17
16
|
import type { IEntityMovableEvents } from "@wayward/game/game/entity/EntityMovable";
|
|
18
17
|
import EntityMovable from "@wayward/game/game/entity/EntityMovable";
|
|
19
18
|
import type Human from "@wayward/game/game/entity/Human";
|
|
@@ -28,7 +27,7 @@ import type NPC from "@wayward/game/game/entity/npc/NPC";
|
|
|
28
27
|
import type Player from "@wayward/game/game/entity/player/Player";
|
|
29
28
|
import type { IWell } from "@wayward/game/game/island/IIsland";
|
|
30
29
|
import { LiquidType } from "@wayward/game/game/island/IIsland";
|
|
31
|
-
import type { DisplayableItemType, IContainer,
|
|
30
|
+
import type { ContainerSort, DisplayableItemType, IContainer, IItemVehicle, ILiquidGather, ItemTypeExtra } from "@wayward/game/game/item/IItem";
|
|
32
31
|
import { ItemType } from "@wayward/game/game/item/IItem";
|
|
33
32
|
import type Item from "@wayward/game/game/item/Item";
|
|
34
33
|
import type { IHasMagic } from "@wayward/game/game/magic/MagicalPropertyManager";
|
|
@@ -78,6 +77,7 @@ export interface IDoodadEvents extends IEntityMovableEvents {
|
|
|
78
77
|
transformed(newType: DoodadType, oldType: DoodadType): any;
|
|
79
78
|
durabilityChange(durability: number, oldDurability: number): any;
|
|
80
79
|
durabilityMaxChange(durability: number, oldDurability: number): any;
|
|
80
|
+
revertToItem(item: Item): any;
|
|
81
81
|
}
|
|
82
82
|
export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType, ReferenceType.Doodad, DoodadTag> implements IUnserializedCallback, IObject<DoodadType>, IDoodadOptions, Partial<IContainer>, IHasInsulation, IHasBuilder, IHasMagic {
|
|
83
83
|
static is(value: any): value is Doodad;
|
|
@@ -122,6 +122,14 @@ export interface IDoodadDescription extends IObjectDescription, IModdable, ICaus
|
|
|
122
122
|
* Works with "Gather"-based actions.
|
|
123
123
|
*/
|
|
124
124
|
gatherPickUp?: ILootItem[];
|
|
125
|
+
/**
|
|
126
|
+
* If this is a doodad container, you can set this to true to make the doodad considered one where you can only "place items onto" the doodad,
|
|
127
|
+
* rather than storing the items within the doodad.
|
|
128
|
+
* - Changes messages when putting items in the container to "placed onto"
|
|
129
|
+
* - Prevents using the item as a container when in your inventory
|
|
130
|
+
* - Prevents picking up the doodad when
|
|
131
|
+
*/
|
|
132
|
+
placeOnContainer?: true;
|
|
125
133
|
providesFire?: boolean;
|
|
126
134
|
providesLight?: number;
|
|
127
135
|
reduceDurabilityOnGather?: boolean;
|
|
@@ -314,7 +314,8 @@ export default abstract class Human<TypeType extends number = number, EntityRefe
|
|
|
314
314
|
calculateEquipmentStats(): void;
|
|
315
315
|
private recalculateInsulation;
|
|
316
316
|
private getEquipmentInsulation;
|
|
317
|
-
|
|
317
|
+
discoverRecipes(recipes: Array<[recipeType: ItemType, crafted: ICrafted]>, discoveredClientSide?: boolean): void;
|
|
318
|
+
discoverRecipe(recipeType: ItemType, crafted?: ICrafted, discoveredClientSide?: boolean, emit?: boolean): void;
|
|
318
319
|
incrementIslandTickCount(): void;
|
|
319
320
|
protected onPostMove(lastTile: Tile, tile: Tile): void;
|
|
320
321
|
passTurn(turnType?: TurnTypeFlag): void;
|
|
@@ -280,7 +280,7 @@ export interface IHumanEvents extends Events<EntityWithStats>, ISkillEvents {
|
|
|
280
280
|
* Luck is a multiplier applied to some chance calculations. 1 is default, 0.5 would mean chances are halved, 2 would mean chances are doubled, etc.
|
|
281
281
|
*/
|
|
282
282
|
getLuckMultiplier(multiplier: number): number;
|
|
283
|
-
|
|
283
|
+
discoverRecipes(recipes: Array<[recipeType: ItemType, crafted: ICrafted]>): any;
|
|
284
284
|
undiscoverRecipes(): any;
|
|
285
285
|
}
|
|
286
286
|
export interface IHairstyleDescription extends IModdable, IHasImagePath {
|
|
@@ -133,7 +133,7 @@ export declare const actionDescriptionsSlow: {
|
|
|
133
133
|
96: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32, [import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SailToIsland").ISailToIslandCanUse, [number, number, (number | undefined)?]>;
|
|
134
134
|
122: import("./Action").Action<[import("./argument/ActionArgumentEnum").default<import("../IEntity").AiType, "Attack" | "Tamed" | "Stay" | "Defend" | "Heel" | "Random" | "Neutral" | "Hostile" | "Scared" | "Hidden" | "Fearless" | "FollowClose" | "Retaliate" | "Fleeing" | "Waiting" | "FollowFar" | "AttackAdjacent" | "AttackInSight">], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../IEntity").AiType]>;
|
|
135
135
|
6: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<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]>;
|
|
136
|
-
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, "Milestone" | "Skill">], [import("@wayward/game/game/entity/action/IAction").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">, 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" | "Piety">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (Milestone | import("../IHuman").SkillType | undefined)?]>;
|
|
136
|
+
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, "Milestone" | "Skill">], [import("@wayward/game/game/entity/action/IAction").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">, 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" | "Piety">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (Milestone | import("../IHuman").SkillType | undefined)?]>;
|
|
137
137
|
119: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby, [import("@wayward/game/game/entity/action/IAction").ActionArgument.Island, import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined]], import("../Human").default<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)?]>;
|
|
138
138
|
94: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<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]>;
|
|
139
139
|
11: import("./Action").Action<[[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<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, "Milestone" | "Skill">], [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">, 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" | "Piety">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
|
|
19
|
+
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Milestone" | "Skill">], [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">, 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" | "Piety">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
|
|
20
20
|
export default _default;
|
|
@@ -12,6 +12,7 @@ import { TileUpdateType } from "@wayward/game/game/IGame";
|
|
|
12
12
|
import type { IObject, IObjectOptions } from "@wayward/game/game/IObject";
|
|
13
13
|
import { Quality } from "@wayward/game/game/IObject";
|
|
14
14
|
import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
15
|
+
import type { IDoodadDescription } from "@wayward/game/game/doodad/IDoodad";
|
|
15
16
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
16
17
|
import type { IEntityMovableEvents } from "@wayward/game/game/entity/EntityMovable";
|
|
17
18
|
import EntityMovable from "@wayward/game/game/entity/EntityMovable";
|
|
@@ -153,6 +154,7 @@ export default class Item extends EntityMovable<IItemDescription, ItemType, Refe
|
|
|
153
154
|
set durabilityMax(value: number);
|
|
154
155
|
getDisplayItem(): DisplayableItemType;
|
|
155
156
|
isContainer(): this is Item & IContainer;
|
|
157
|
+
get builtDescription(): IDoodadDescription | undefined;
|
|
156
158
|
countTradesWith(human?: Human): number;
|
|
157
159
|
/**
|
|
158
160
|
* Gets the owner of this item.
|
|
@@ -33,99 +33,100 @@ export declare enum Prompt {
|
|
|
33
33
|
GameLoadFailure = 16,
|
|
34
34
|
GameNoHealingRequired = 17,
|
|
35
35
|
GameNoSaveOnDeath = 18,
|
|
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
|
-
|
|
36
|
+
GamePickUpDoodadWillBeDestroyed = 19,
|
|
37
|
+
GamePickUpStillWithWater = 20,
|
|
38
|
+
GameReleaseCreature = 21,
|
|
39
|
+
GameUncage = 22,
|
|
40
|
+
GameRenameGeneric = 23,
|
|
41
|
+
GameRenameCreature = 24,
|
|
42
|
+
GameRenameDoodad = 25,
|
|
43
|
+
GameRenameItem = 26,
|
|
44
|
+
GameReturnToTitleScreen = 27,
|
|
45
|
+
GameReturnToTitleScreenChallenge = 28,
|
|
46
|
+
GameSailAwayEnd = 29,
|
|
47
|
+
GameSailAwayReturnable = 30,
|
|
48
|
+
GameSaveFailure = 31,
|
|
49
|
+
GameIslandTravelConfirmation = 32,
|
|
50
|
+
GameWellConvert = 33,
|
|
51
|
+
GameSolarStillWontWorkInTemperature = 34,
|
|
52
|
+
GameSolarStillWontWorkInCave = 35,
|
|
53
|
+
GameShipToIslandPayment = 36,
|
|
54
|
+
GamePause = 37,
|
|
55
|
+
GameWin = 38,
|
|
56
|
+
GameOver = 39,
|
|
57
|
+
GameHelp = 40,
|
|
58
|
+
GameMultiplayerOptions = 41,
|
|
59
|
+
GameEditBindings = 42,
|
|
60
|
+
MenuCharacterCreationImportCharacterFailure = 43,
|
|
61
|
+
MenuCharacterSelectionDeleteCharacter = 44,
|
|
62
|
+
MenuGameEndGhostDeleteSave = 45,
|
|
63
|
+
MenuGameEndWonDeleteSave = 46,
|
|
64
|
+
MenuGameEndReturnToTitleScreen = 47,
|
|
65
|
+
MenuGameEndReturnToTitleScreenChallengeMultiplayer = 48,
|
|
66
|
+
MenuGameEndReturnToTitleScreenChallenge = 49,
|
|
67
|
+
MenuGameEndReturnToTitleScreenMultiplayer = 50,
|
|
68
|
+
MenuLoadGameDeleteSave = 51,
|
|
69
|
+
MenuLoadGameDeleteSaves = 52,
|
|
70
|
+
MenuLoadGameExportType = 53,
|
|
71
|
+
MenuLoadGameImportSaveFailure = 54,
|
|
72
|
+
MenuLoadGameMissingMod = 55,
|
|
73
|
+
MenuLoadGameOldBuildTime = 56,
|
|
74
|
+
MenuLoadGamePublishError = 57,
|
|
75
|
+
MenuMainWelcomeToVersion = 58,
|
|
76
|
+
MenuMainOldVersionWarning = 59,
|
|
77
|
+
MenuModsConfirmPublish = 60,
|
|
78
|
+
MenuModsConfirmPublishUpdate = 61,
|
|
79
|
+
MenuModsModEnableMultipleLanguages = 62,
|
|
80
|
+
MenuModsModEnableUseLanguage = 63,
|
|
81
|
+
MenuModsPublishedReminderRequiredModsOnWorkshop = 64,
|
|
82
|
+
MenuModsPublishError = 65,
|
|
83
|
+
MenuModsPublishUpdateError = 66,
|
|
84
|
+
MenuModsInfoMissingDependencies = 67,
|
|
85
|
+
MenuModsConfirmEnableDisabledDependencies = 68,
|
|
86
|
+
MenuModsConfirmDisableDependents = 69,
|
|
87
|
+
MenuModsConfirmUninstallMod = 70,
|
|
88
|
+
MenuModsUnloadableSaveGameMod = 71,
|
|
89
|
+
MenuModsSubmenuEditInternalModsModsListChangeReload = 72,
|
|
90
|
+
MenuMultiplayerCannotJoinFailedToLoadMods = 73,
|
|
91
|
+
MenuMultiplayerCannotJoinMissingMods = 74,
|
|
92
|
+
MenuNewGameTooManySaves = 75,
|
|
93
|
+
MenuCustomGameOptionsConfirmImport = 76,
|
|
94
|
+
MenuCustomGameOptionsImportFailure = 77,
|
|
95
|
+
MenuMilestoneModifiersConfirmImport = 78,
|
|
96
|
+
MenuMilestoneModifiersImportFailure = 79,
|
|
97
|
+
MenuOptionsReloadGame = 80,
|
|
98
|
+
MenuOptionsChangeReload = 81,
|
|
99
|
+
MenuOptionsConfirmUnlockMilestones = 82,
|
|
100
|
+
MenuOptionsConfirmDiscoverActions = 83,
|
|
101
|
+
MenuOptionsConfirmUnlockRecipes = 84,
|
|
102
|
+
MenuOptionsSaveDataClearAll = 85,
|
|
103
|
+
MenuOptionsSaveDataClearCharacters = 86,
|
|
104
|
+
MenuOptionsSaveDataClearHighscores = 87,
|
|
105
|
+
MenuOptionsSaveDataClearMilestones = 88,
|
|
106
|
+
MenuOptionsSaveDataClearOptions = 89,
|
|
107
|
+
MenuOptionsSaveDataClearSaves = 90,
|
|
108
|
+
MenuOptionsSaveDataClearCraftingRecipes = 91,
|
|
109
|
+
MenuOptionsSaveDataClearBindings = 92,
|
|
110
|
+
MenuOptionsConfirmImportGlobalData = 93,
|
|
111
|
+
MenuPauseGhostKeepSave = 94,
|
|
112
|
+
MenuPauseReturnToTitleScreen = 95,
|
|
113
|
+
MenuPauseReturnToTitleScreenChallenge = 96,
|
|
114
|
+
MenuPauseReturnToTitleScreenChallengeMultiplayer = 97,
|
|
115
|
+
MenuPauseReturnToTitleScreenMultiplayer = 98,
|
|
116
|
+
MultiplayerFailedToConnect = 99,
|
|
117
|
+
MultiplayerRestartServerAfterLoadingSave = 100,
|
|
118
|
+
MultiplayerDisconnect = 101,
|
|
119
|
+
MultiplayerDisconnectRejoin = 102,
|
|
120
|
+
MultiplayerServerHasUnpublishedMods = 103,
|
|
121
|
+
SteamworksURLOpenedInBrowser = 104,
|
|
122
|
+
SteamworksWorkshopOpenedInBrowser = 105,
|
|
123
|
+
SteamworksModWithNameAlreadyExists = 106,
|
|
124
|
+
SteamworksModImportSaveGameFailure = 107,
|
|
125
|
+
SteamworksModImportedSaveGame = 108,
|
|
126
|
+
SteamworksOpenFolderFailure = 109,
|
|
127
|
+
SteamworksModPublishModJsonUpdateFailed = 110,
|
|
128
|
+
SteamworksNotAvailableOnSteamDeck = 111,
|
|
129
|
+
UiSaveDrop = 112
|
|
129
130
|
}
|
|
130
131
|
export declare enum PromptType {
|
|
131
132
|
Info = 0,
|
|
@@ -40,6 +40,7 @@ export declare const promptGameItemsMayBeDestroyedOnUse: import("@wayward/game/g
|
|
|
40
40
|
export declare const promptGameLoadFailure: import("@wayward/game/game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
41
41
|
export declare const promptGameNoHealingRequired: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
42
42
|
export declare const promptGameNoSaveOnDeath: import("@wayward/game/game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
43
|
+
export declare const promptGamePickUpDoodadWillBeDestroyed: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[doodad: Text]>;
|
|
43
44
|
export declare const promptGamePickUpStillWithWater: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[dripstoneOrStill: Text]>;
|
|
44
45
|
export declare const promptGameReleaseCreature: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[creatureName: Text]>;
|
|
45
46
|
export declare const promptGameUncage: import("@wayward/game/game/meta/prompt/IPrompt").IPromptConfirmDescription<[creatureName: Text]>;
|
|
@@ -68,7 +68,8 @@ export declare enum Milestone {
|
|
|
68
68
|
Curator = 56,
|
|
69
69
|
Thaumaturgic = 57,
|
|
70
70
|
Runekeeper = 58,
|
|
71
|
-
InternalDeityDiscovery = 59
|
|
71
|
+
InternalDeityDiscovery = 59,
|
|
72
|
+
InternalMerchantsDiscovery = 60
|
|
72
73
|
}
|
|
73
74
|
export type ExcludeInternalMilestones<MILESTONE extends Milestone> = PickValueKeys<typeof Milestone, MILESTONE> extends `Internal${string}` ? never : MILESTONE;
|
|
74
75
|
export declare enum MilestoneVisibility {
|