@wayward/types 2.15.3-beta.dev.20251231.1 → 2.15.3-beta.dev.20260106.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.
|
@@ -315,7 +315,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
|
315
315
|
* All the milestones we need to check on game load.
|
|
316
316
|
*/
|
|
317
317
|
protected checkOnLoadMilestones(): void;
|
|
318
|
-
setVehicle(item: Item | undefined, extinguishTorches?: boolean): boolean;
|
|
318
|
+
setVehicle(item: Item | undefined, extinguishTorches?: boolean, skipMessage?: boolean): boolean;
|
|
319
319
|
getWeightStatus(): WeightStatus;
|
|
320
320
|
/**
|
|
321
321
|
* Extinguishes all torches the player is holding of they are swimming.
|
|
@@ -14,9 +14,12 @@ import type Human from "@wayward/game/game/entity/Human";
|
|
|
14
14
|
import { ItemType } from "@wayward/game/game/item/IItem";
|
|
15
15
|
import type Item from "@wayward/game/game/item/Item";
|
|
16
16
|
import Message from "@wayward/game/language/dictionary/Message";
|
|
17
|
+
import type { GetItemProtectedItemExclusion } from "@wayward/game/game/item/IItemManager";
|
|
17
18
|
interface ICopyMapRequirement {
|
|
18
19
|
type: ItemType;
|
|
19
20
|
message: Message;
|
|
21
|
+
excludeProtectedItems?: true | GetItemProtectedItemExclusion;
|
|
22
|
+
includeProtectedItemsThatWillNotBreak?: ActionType | true;
|
|
20
23
|
}
|
|
21
24
|
export declare const copyMapRequirements: ICopyMapRequirement[];
|
|
22
25
|
export declare function hasMapRequirement(requirement: ICopyMapRequirement, human: Human): Item | undefined;
|
package/package.json
CHANGED