@wayward/types 2.11.3-beta.dev.20220126.1 → 2.11.4-beta.dev.20220127.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.
|
@@ -23,8 +23,8 @@ export interface IGetItemOptions {
|
|
|
23
23
|
*/
|
|
24
24
|
excludeProtectedItems: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* True to include protected items if they pass an item.willBreakOnDamage() check.
|
|
27
|
-
* excludeProtectedItems must be set to
|
|
26
|
+
* True to only include protected items if they pass an item.willBreakOnDamage() check.
|
|
27
|
+
* excludeProtectedItems must be set to true for this to work.
|
|
28
28
|
*/
|
|
29
29
|
includeProtectedItemsThatWillNotBreak: ActionType;
|
|
30
30
|
/**
|
|
@@ -12,5 +12,5 @@ import { CreatureType } from "game/entity/creature/ICreature";
|
|
|
12
12
|
import type { IDropdownOption } from "ui/component/Dropdown";
|
|
13
13
|
import EnumDropdown from "ui/component/dropdown/EnumDropdown";
|
|
14
14
|
export default class CreatureDropdown<OTHER_OPTIONS extends string = never> extends EnumDropdown<typeof CreatureType, OTHER_OPTIONS> {
|
|
15
|
-
constructor(defaultOption: OTHER_OPTIONS | CreatureType, options
|
|
15
|
+
constructor(defaultOption: OTHER_OPTIONS | CreatureType, options?: Iterable<IDropdownOption<OTHER_OPTIONS>>);
|
|
16
16
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
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 { ActionType } from "game/entity/action/IAction";
|
|
11
12
|
import { EquipType } from "game/entity/IHuman";
|
|
12
13
|
import type { IContainer, IDismantleComponent } from "game/item/IItem";
|
|
13
14
|
import { ItemType } from "game/item/IItem";
|
|
@@ -250,6 +251,7 @@ export default class InGameScreen extends BaseScreen {
|
|
|
250
251
|
onHandToggle(api: IBindHandlerApi): boolean;
|
|
251
252
|
onInput(api: IBindHandlerApi): void;
|
|
252
253
|
private clearActionsMenuTileOverlay;
|
|
254
|
+
getAutoActionItem(actionType: ActionType, allowProtectedItems?: boolean): Item | undefined;
|
|
253
255
|
private runAutoAction;
|
|
254
256
|
private runAction;
|
|
255
257
|
private updateContextMenu;
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch =
|
|
11
|
+
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch = 4, gameVersionName = "Horizons";
|
|
12
12
|
export declare const gameVersion: string;
|
|
13
13
|
export declare function registerGlobals(globalObject: any): void;
|
package/package.json
CHANGED