@wayward/types 2.14.0-beta.dev.20241114.1 → 2.14.0-beta.dev.20241115.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/entity/action/Action.d.ts +2 -6
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +2 -1
- package/definitions/game/game/inspection/InfoProvider.d.ts +2 -0
- package/definitions/game/game/island/IIsland.d.ts +1 -1
- package/definitions/game/game/item/IItem.d.ts +4 -2
- package/definitions/game/game/item/IItemManager.d.ts +1 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +8 -2
- package/definitions/game/language/dictionary/UiTranslation.d.ts +159 -157
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/definitions/game/ui/input/Bindable.d.ts +186 -187
- package/definitions/game/ui/screen/screens/game/static/actions/ActionsSelector.d.ts +2 -1
- package/package.json +1 -1
|
@@ -25,12 +25,8 @@ import { Direction } from "@wayward/game/utilities/math/Direction";
|
|
|
25
25
|
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
26
26
|
export declare class Action<A extends ActionArguments, E extends Entity = Entity, R = void, CU extends IActionUsable = IActionUsable, AV extends any[] = ActionArgumentTupleTypes<A>> implements IActionDescription<A, E, R, CU, AV> {
|
|
27
27
|
readonly argumentTypes: A;
|
|
28
|
-
readonly usability:
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
readonly flags: {
|
|
32
|
-
[key in ActionFlag]?: boolean;
|
|
33
|
-
};
|
|
28
|
+
readonly usability: PartialRecord<ActionUsability, boolean>;
|
|
29
|
+
readonly flags: PartialRecord<ActionFlag, boolean>;
|
|
34
30
|
validExecutors: Set<EntityType>;
|
|
35
31
|
preExecutionHandler?: (actionApi: IActionApi<E, CU>, ...args: AV) => any;
|
|
36
32
|
canUseHandler: (actionApi: IActionHandlerApi<E, CU>, ...args: AV) => CU | IActionNotUsable;
|
|
@@ -24,7 +24,7 @@ import type { InspectType } from "@wayward/game/game/inspection/IInspection";
|
|
|
24
24
|
import type { IIcon } from "@wayward/game/game/inspection/InfoProvider";
|
|
25
25
|
import type Inspection from "@wayward/game/game/inspection/Inspection";
|
|
26
26
|
import type { Quality } from "@wayward/game/game/IObject";
|
|
27
|
-
import type { IItemDescription, ItemType } from "@wayward/game/game/item/IItem";
|
|
27
|
+
import type { IContainer, IItemDescription, ItemType } from "@wayward/game/game/item/IItem";
|
|
28
28
|
import type Item from "@wayward/game/game/item/Item";
|
|
29
29
|
import type ItemFinder from "@wayward/game/game/item/ItemFinder";
|
|
30
30
|
import type { IItemFinderOptions } from "@wayward/game/game/item/ItemFinder";
|
|
@@ -93,6 +93,7 @@ export interface IUsableActionPossibleUsing {
|
|
|
93
93
|
item?: Item;
|
|
94
94
|
itemType?: ItemType;
|
|
95
95
|
itemQuality?: ArrayOr<Quality>;
|
|
96
|
+
container?: IContainer;
|
|
96
97
|
doodad?: Doodad;
|
|
97
98
|
vehicle?: Doodad;
|
|
98
99
|
creature?: Creature;
|
|
@@ -76,6 +76,7 @@ export interface ISerializedIcon extends IIcon {
|
|
|
76
76
|
path: string | ISerializedImagePath;
|
|
77
77
|
}
|
|
78
78
|
export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProviderEvents> implements IRefreshable {
|
|
79
|
+
private static bus?;
|
|
79
80
|
static multiTextParagraph: string;
|
|
80
81
|
static create(...translations: TranslationGenerator[]): SimpleInfoProvider;
|
|
81
82
|
static dynamic<T>(observer: BaseObserver<T>, supplier: (value: T) => InfoProvider | undefined): SimpleInfoProvider;
|
|
@@ -106,6 +107,7 @@ export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProvid
|
|
|
106
107
|
hasContent(_context: InfoProviderContext): boolean;
|
|
107
108
|
init(): void;
|
|
108
109
|
readonly subscribeRefreshOn: BaseObserver.IRegistrar<this>;
|
|
110
|
+
private dirty;
|
|
109
111
|
/**
|
|
110
112
|
* Call when this info provider should be refreshed.
|
|
111
113
|
*/
|
|
@@ -225,7 +225,7 @@ export interface IIslandTickOptions {
|
|
|
225
225
|
ticks: number;
|
|
226
226
|
tickFlags?: TickFlag;
|
|
227
227
|
playingHumans?: Human[];
|
|
228
|
-
dueToAction?:
|
|
228
|
+
dueToAction?: Human;
|
|
229
229
|
}
|
|
230
230
|
export interface IIslandTickAsyncOptions extends IIslandTickOptions {
|
|
231
231
|
onProgress?: (progess: number) => Promise<void>;
|
|
@@ -17,7 +17,8 @@ import type { RuneChance } from "@wayward/game/game/deity/IDeities";
|
|
|
17
17
|
import type { DoodadType, DoodadTypeGroup } from "@wayward/game/game/doodad/IDoodad";
|
|
18
18
|
import type Human from "@wayward/game/game/entity/Human";
|
|
19
19
|
import type { DamageType, Defense, EntityType, ICastable, MoveType } from "@wayward/game/game/entity/IEntity";
|
|
20
|
-
import { SkillType
|
|
20
|
+
import type { SkillType } from "@wayward/game/game/entity/IHuman";
|
|
21
|
+
import { type Delay, type EquipType } from "@wayward/game/game/entity/IHuman";
|
|
21
22
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
22
23
|
import type { IActionApi } from "@wayward/game/game/entity/action/IAction";
|
|
23
24
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
@@ -1686,7 +1687,8 @@ export type DisplayableItemType = ItemType | ItemTypeExtra;
|
|
|
1686
1687
|
export declare enum ItemTag {
|
|
1687
1688
|
None = 0,
|
|
1688
1689
|
ShipperBoat = 1,
|
|
1689
|
-
Rune = 2
|
|
1690
|
+
Rune = 2,
|
|
1691
|
+
VersatileApplied = 3
|
|
1690
1692
|
}
|
|
1691
1693
|
export declare enum ItemTypeGroup {
|
|
1692
1694
|
Invalid = -9999,
|
|
@@ -24,10 +24,16 @@ export default class Versatile extends MilestoneModifier {
|
|
|
24
24
|
getGroup(): MilestoneModifierGroup;
|
|
25
25
|
instantiate(id: Milestone, player?: Player): VersatileMilestoneModifierInstance | undefined;
|
|
26
26
|
}
|
|
27
|
+
interface IVersatileOutcome extends IDamageOutcome {
|
|
28
|
+
versatileApplied?: true;
|
|
29
|
+
}
|
|
30
|
+
interface VersatileDefense extends Defense {
|
|
31
|
+
versatileApplied?: true;
|
|
32
|
+
}
|
|
27
33
|
declare class VersatileMilestoneModifierInstance extends MilestoneModifierInstance<Record<string, Map<CreatureType, Set<DamageType>>>> {
|
|
28
34
|
protected onCreateItem(manager: ItemManager, item: Item): void;
|
|
29
|
-
protected getDefense(island: Island, defense:
|
|
30
|
-
protected calculateAttackOutcome(island: Island, outcome:
|
|
35
|
+
protected getDefense(island: Island, defense: VersatileDefense | undefined, target: Human | Creature | CreatureType, damageType?: DamageType): Defense | undefined;
|
|
36
|
+
protected calculateAttackOutcome(island: Island, outcome: IVersatileOutcome, input: IDamageOutcomeInput, attackValue: number, defenseValue: number): IDamageOutcome | undefined;
|
|
31
37
|
protected hasDiscoveredVulnOrResist(player: Player, creature: CreatureType, damageType: DamageType): boolean | undefined;
|
|
32
38
|
protected discoverVulnOrResist(player: Player, creature: CreatureType, damageType: DamageType): void;
|
|
33
39
|
protected getDiscoveredVulnsAndResists(player: Player): Map<CreatureType, Set<DamageType>>;
|
|
@@ -793,162 +793,164 @@ declare enum UiTranslation {
|
|
|
793
793
|
MenuOptionsButtonDropIntoContainersTooltip = 778,
|
|
794
794
|
MenuOptionsButtonWarnOnDangerousActions = 779,
|
|
795
795
|
MenuOptionsButtonWarnOnDangerousActionsTooltip = 780,
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
796
|
+
MenuOptionsButtonWarnOnDestructiveActions = 781,
|
|
797
|
+
MenuOptionsButtonWarnOnDestructiveActionsTooltip = 782,
|
|
798
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 783,
|
|
799
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 784,
|
|
800
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUse = 785,
|
|
801
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 786,
|
|
802
|
+
MenuOptionsHeadingWarnWhenBreakingItems = 787,
|
|
803
|
+
MenuOptionsButtonSaveDataClearBindings = 788,
|
|
804
|
+
MenuOptionsLabelSaveDataRemoval = 789,
|
|
805
|
+
MenuOptionsTooltipDialogOpacity = 790,
|
|
806
|
+
MenuOptionsLabelDialogOpacity = 791,
|
|
807
|
+
MenuOptionsDeveloperSteamBetas = 792,
|
|
808
|
+
MenuOptionsDeveloperSteamBetaName = 793,
|
|
809
|
+
MenuOptionsDeveloperLogSourceFilterHeading = 794,
|
|
810
|
+
MenuOptionsDeveloperUIExperiments = 795,
|
|
811
|
+
MenuOptionsDeveloperUIExperimentsDescription = 796,
|
|
812
|
+
MenuOptionsAudioVolumeDisplay = 797,
|
|
813
|
+
MenuOptionsAudioInputSoundOnTyping = 798,
|
|
814
|
+
MenuOptionsAudioPlayAudioInBackground = 799,
|
|
815
|
+
MenuOptionsMusicPlaylist = 800,
|
|
816
|
+
MenuOptionsButtonConfigureBindings = 801,
|
|
817
|
+
MenuOptionsButtonSaveCompression = 802,
|
|
818
|
+
MenuOptionsButtonSaveCompressionTooltip = 803,
|
|
819
|
+
MenuOptionsButtonSaveUIDataGlobally = 804,
|
|
820
|
+
MenuOptionsButtonSaveUIDataGloballyTooltip = 805,
|
|
821
|
+
MenuPauseButtonContinueGame = 806,
|
|
822
|
+
MenuPauseButtonReturnToGame = 807,
|
|
823
|
+
MenuPauseButtonOptions = 808,
|
|
824
|
+
MenuPauseButtonGameSettings = 809,
|
|
825
|
+
MenuPauseButtonPaused = 810,
|
|
826
|
+
MenuPauseButtonMultiplayer = 811,
|
|
827
|
+
MenuPauseButtonHelp = 812,
|
|
828
|
+
MenuPauseButtonTitleScreen = 813,
|
|
829
|
+
MenuPauseButtonStopServer = 814,
|
|
830
|
+
MenuPauseButtonQuitWithoutSaving = 815,
|
|
831
|
+
MenuPauseTooltipNotPaused = 816,
|
|
832
|
+
MenuPauseLabelPaused = 817,
|
|
833
|
+
MenuPauseLabelNotPaused = 818,
|
|
834
|
+
MenuModesTitle = 819,
|
|
835
|
+
MenuModesDescription = 820,
|
|
836
|
+
MenuMultiplayerOptionsTitle = 821,
|
|
837
|
+
MenuMultiplayerOptionsDescription = 822,
|
|
838
|
+
MenuMultiplayerOptionsOpenServer = 823,
|
|
839
|
+
MenuMultiplayerOptionsOpenServerDescription = 824,
|
|
840
|
+
MenuMultiplayerOptionsCopyGameCode = 825,
|
|
841
|
+
MenuMultiplayerOptionsCopyGameCodeTooltip = 826,
|
|
842
|
+
MenuMultiplayerOptionsInviteSteamFriends = 827,
|
|
843
|
+
MenuMultiplayerOptionsCheckConnectionHeading = 828,
|
|
844
|
+
MenuMultiplayerOptionsCheckConnectionParagraph = 829,
|
|
845
|
+
MenuMultiplayerOptionsCheckConnectionButton = 830,
|
|
846
|
+
MenuMultiplayerOptionsCheckConnectionResultUnknown = 831,
|
|
847
|
+
MenuMultiplayerOptionsCheckConnectionResultChecking = 832,
|
|
848
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 833,
|
|
849
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 834,
|
|
850
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 835,
|
|
851
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocket = 836,
|
|
852
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 837,
|
|
853
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 838,
|
|
854
|
+
MenuMultiplayerOptionsCheckConnectionResultSuccess = 839,
|
|
855
|
+
MenuJoinServerTitle = 840,
|
|
856
|
+
MenuJoinServerDescription = 841,
|
|
857
|
+
MenuJoinServerInputPlaceholder = 842,
|
|
858
|
+
MenuJoinServerChooseModifiersTitle = 843,
|
|
859
|
+
MenuJoinServerChooseModifiersDescription = 844,
|
|
860
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriends = 845,
|
|
861
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 846,
|
|
862
|
+
MenuSharedMultiplayerChoiceLobbyTypePublic = 847,
|
|
863
|
+
MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 848,
|
|
864
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivate = 849,
|
|
865
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 850,
|
|
866
|
+
MenuSharedMultiplayerChoicePVP = 851,
|
|
867
|
+
MenuSharedMultiplayerChoicePVPDescription = 852,
|
|
868
|
+
MenuSharedMultiplayerChoiceAllowTraveling = 853,
|
|
869
|
+
MenuSharedMultiplayerChoiceAllowTravelingDescription = 854,
|
|
870
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 855,
|
|
871
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 856,
|
|
872
|
+
MenuSharedMultiplayerChoicePauseOnDesync = 857,
|
|
873
|
+
MenuSharedMultiplayerChoicePauseOnDesyncDescription = 858,
|
|
874
|
+
MenuSharedMultiplayerDescription = 859,
|
|
875
|
+
MenuSharedMultiplayerMessageOfTheDay = 860,
|
|
876
|
+
MenuSharedMultiplayerMaxPlayers = 861,
|
|
877
|
+
MenuSharedRealTimeTickSpeedTooltip = 862,
|
|
878
|
+
MenuSharedRealTimeTickSpeedLabel = 863,
|
|
879
|
+
MenuSharedButtonDefault = 864,
|
|
880
|
+
MenuSharedValueSeconds = 865,
|
|
881
|
+
MenuSharedValueMilliseconds = 866,
|
|
882
|
+
MenuSharedValueTurns = 867,
|
|
883
|
+
MenuSharedValuePercentage = 868,
|
|
884
|
+
MenuSharedMilestonesNotUnlockable = 869,
|
|
885
|
+
MenuSharedMilestonesNotUnlockableDescription = 870,
|
|
886
|
+
MenuSharedMilestonesNotUnlockableButtonShowMods = 871,
|
|
887
|
+
MenuSharedButtonDisableAll = 872,
|
|
888
|
+
MenuSharedButtonEnableAll = 873,
|
|
889
|
+
MenuSharedMilestoneModifiersSelected = 874,
|
|
890
|
+
MiscSortBy = 875,
|
|
891
|
+
MiscSortCustom = 876,
|
|
892
|
+
MiscSortDirection = 877,
|
|
893
|
+
MiscFilter = 878,
|
|
894
|
+
MiscNone = 879,
|
|
895
|
+
MiscPlayerNameDefault = 880,
|
|
896
|
+
MiscPlayerNameServer = 881,
|
|
897
|
+
MiscSaveNameDefault = 882,
|
|
898
|
+
MiscSaveNameDailyChallenge = 883,
|
|
899
|
+
MiscSaveNameChallenge = 884,
|
|
900
|
+
MiscSaveVersionUnknown = 885,
|
|
901
|
+
MiscVersion = 886,
|
|
902
|
+
MiscVersionBuildInfoTooltip = 887,
|
|
903
|
+
MiscVersionUpdate = 888,
|
|
904
|
+
MiscTime = 889,
|
|
905
|
+
MiscTimeMeridiem = 890,
|
|
906
|
+
MiscError = 891,
|
|
907
|
+
MiscContextMenuCopyTooltip = 892,
|
|
908
|
+
MiscBindableNoBindings = 893,
|
|
909
|
+
MiscBindingIcon = 894,
|
|
910
|
+
MiscBindingIconThen = 895,
|
|
911
|
+
DifficultyOptionsPeaceful = 896,
|
|
912
|
+
DifficultyOptionsAberrantSpawnsDisabled = 897,
|
|
913
|
+
DifficultyOptionsAberrantSpawnsOnly = 898,
|
|
914
|
+
DifficultyOptionsCreatureSpawningDisabled = 899,
|
|
915
|
+
DifficultyOptionsCreatureAlwaysSpawns = 900,
|
|
916
|
+
DifficultyOptionsCreatureSpawnsDefault = 901,
|
|
917
|
+
DifficultyOptionsCreatureSpawnsAberrantOnly = 902,
|
|
918
|
+
DifficultyOptionsCreatureSpawnsNoAberrants = 903,
|
|
919
|
+
DifficultyOptionsSpawnLimit = 904,
|
|
920
|
+
DifficultyOptionsSpawnRateMultiplier = 905,
|
|
921
|
+
DifficultyOptionsDisableScared = 906,
|
|
922
|
+
DifficultyOptionsRespawn = 907,
|
|
923
|
+
DifficultyOptionsEternalNight = 908,
|
|
924
|
+
DifficultyOptionsEternalDay = 909,
|
|
925
|
+
DifficultyOptionsTimeInitial = 910,
|
|
926
|
+
DifficultyOptionsTimeFrozen = 911,
|
|
927
|
+
DifficultyOptionsTimeDayLength = 912,
|
|
928
|
+
DifficultyOptionsTimeDayPercent = 913,
|
|
929
|
+
DifficultyOptionsNoItems = 914,
|
|
930
|
+
DifficultyOptionsRecipes = 915,
|
|
931
|
+
DifficultyOptionsStartingIsland = 916,
|
|
932
|
+
DifficultyOptionsTravelingEffectsDisabled = 917,
|
|
933
|
+
DifficultyOptionsLuck = 918,
|
|
934
|
+
DifficultyOptionsWeightBonus = 919,
|
|
935
|
+
DifficultyOptionsStatInitial = 920,
|
|
936
|
+
DifficultyOptionsStatMax = 921,
|
|
937
|
+
DifficultyOptionsStatMultiplier = 922,
|
|
938
|
+
DifficultyOptionsStatusStartWith = 923,
|
|
939
|
+
DifficultyOptionsStatusUntreatable = 924,
|
|
940
|
+
DifficultyOptionsStatusPassChanceMultiplier = 925,
|
|
941
|
+
DifficultyOptionsNoRandomSkills = 926,
|
|
942
|
+
DifficultyOptionsSkillStartingCount = 927,
|
|
943
|
+
DifficultyOptionsSkillGainMultiplier = 928,
|
|
944
|
+
DifficultyOptionsSkillInitial = 929,
|
|
945
|
+
DifficultyOptionsStatusPermanent = 930,
|
|
946
|
+
DifficultyOptionsStatusRateMultiplier = 931,
|
|
947
|
+
DifficultyOptionsStatusMultiplier = 932,
|
|
948
|
+
DifficultyOptionsItemDurabilityMultiplier = 933,
|
|
949
|
+
DifficultyOptionsItemDecayMultiplier = 934,
|
|
950
|
+
DifficultyOptionsTileContainersEnabled = 935,
|
|
951
|
+
TabCrafting = 936,
|
|
952
|
+
TabDismantle = 937,
|
|
953
|
+
WindowTitleContainer = 938,
|
|
954
|
+
WindowTitleInventory = 939
|
|
953
955
|
}
|
|
954
956
|
export default UiTranslation;
|
|
@@ -65,193 +65,192 @@ declare enum Bindable {
|
|
|
65
65
|
GameActionsItems = 46,
|
|
66
66
|
GameActionsInFront = 47,
|
|
67
67
|
GameActionsItemsInFront = 48,
|
|
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
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
GameActionCommandCreatureAll = 235
|
|
68
|
+
GameActionAltarInvoke = 49,
|
|
69
|
+
GameActionAltarKneel = 50,
|
|
70
|
+
GameActionAltarSacrifice = 51,
|
|
71
|
+
GameActionArmorStandDisplayItem = 52,
|
|
72
|
+
GameActionArmorStandDisplayLeft = 53,
|
|
73
|
+
GameActionArmorStandDisplayRight = 54,
|
|
74
|
+
GameActionArmorStandEquip = 55,
|
|
75
|
+
GameActionArmorStandSwap = 56,
|
|
76
|
+
GameActionArmorStandTake = 57,
|
|
77
|
+
GameActionAttackClose = 58,
|
|
78
|
+
GameActionAttackCloseMelee = 59,
|
|
79
|
+
GameActionAttackRangeFire = 60,
|
|
80
|
+
GameActionAttackRangeShoot = 61,
|
|
81
|
+
GameActionAttackRangeThrow = 62,
|
|
82
|
+
GameActionBuild = 63,
|
|
83
|
+
GameActionBuildPlaceDown = 64,
|
|
84
|
+
GameActionBuildSetDown = 65,
|
|
85
|
+
GameActionCage = 66,
|
|
86
|
+
GameActionCageUncage = 67,
|
|
87
|
+
GameActionCast = 68,
|
|
88
|
+
GameActionCommandCreature = 69,
|
|
89
|
+
GameActionCommandCreatureAll = 70,
|
|
90
|
+
GameActionCommandSetAiAttack = 71,
|
|
91
|
+
GameActionCommandSetAiDefend = 72,
|
|
92
|
+
GameActionCommandSetAiFollowClose = 73,
|
|
93
|
+
GameActionCommandSetAiFollowFar = 74,
|
|
94
|
+
GameActionCommandSetAiHeel = 75,
|
|
95
|
+
GameActionCommandSetAiStay = 76,
|
|
96
|
+
GameActionConsumeApply = 77,
|
|
97
|
+
GameActionConsumeCure = 78,
|
|
98
|
+
GameActionConsumeDrink = 79,
|
|
99
|
+
GameActionConsumeEat = 80,
|
|
100
|
+
GameActionConsumeHeal = 81,
|
|
101
|
+
GameActionConsumeHealOther = 82,
|
|
102
|
+
GameActionContainerOpenTile = 83,
|
|
103
|
+
GameActionCraftingCraft = 84,
|
|
104
|
+
GameActionCraftingDisassemble = 85,
|
|
105
|
+
GameActionCraftingDismantle = 86,
|
|
106
|
+
GameActionDoorClose = 87,
|
|
107
|
+
GameActionDoorOpen = 88,
|
|
108
|
+
GameActionEquip = 89,
|
|
109
|
+
GameActionEquipLeft = 90,
|
|
110
|
+
GameActionEquipRight = 91,
|
|
111
|
+
GameActionEquipUnequip = 92,
|
|
112
|
+
GameActionFireAddFuelWithItem = 93,
|
|
113
|
+
GameActionFireExtinguish = 94,
|
|
114
|
+
GameActionFireIgnite = 95,
|
|
115
|
+
GameActionFireIgniteWithItem = 96,
|
|
116
|
+
GameActionFireSmother = 97,
|
|
117
|
+
GameActionFireStart = 98,
|
|
118
|
+
GameActionFireStoke = 99,
|
|
119
|
+
GameActionGatherButcher = 100,
|
|
120
|
+
GameActionGatherChop = 101,
|
|
121
|
+
GameActionGatherDig = 102,
|
|
122
|
+
GameActionGatherDigWithHands = 103,
|
|
123
|
+
GameActionGatherGatherWithHands = 104,
|
|
124
|
+
GameActionGatherHarvest = 105,
|
|
125
|
+
GameActionGatherHarvestWithHands = 106,
|
|
126
|
+
GameActionGatherMine = 107,
|
|
127
|
+
GameActionGrasp = 108,
|
|
128
|
+
GameActionHitch = 109,
|
|
129
|
+
GameActionHitchToggle = 110,
|
|
130
|
+
GameActionHitchUnhitch = 111,
|
|
131
|
+
GameActionImproveBasicEnhance = 112,
|
|
132
|
+
GameActionImproveBasicEnhanceWithItem = 113,
|
|
133
|
+
GameActionImproveBasicPreserve = 114,
|
|
134
|
+
GameActionImproveBasicPreserveWithItem = 115,
|
|
135
|
+
GameActionImproveBasicRefine = 116,
|
|
136
|
+
GameActionImproveBasicRefineWithItem = 117,
|
|
137
|
+
GameActionImproveBasicReinforce = 118,
|
|
138
|
+
GameActionImproveBasicReinforceWithItem = 119,
|
|
139
|
+
GameActionImproveBasicRepair = 120,
|
|
140
|
+
GameActionImproveBasicRepairWithItem = 121,
|
|
141
|
+
GameActionImproveBasicReshape = 122,
|
|
142
|
+
GameActionImproveBasicReshapeWithItem = 123,
|
|
143
|
+
GameActionImproveMagicAbsorb = 124,
|
|
144
|
+
GameActionImproveMagicAbsorbWithItem = 125,
|
|
145
|
+
GameActionImproveMagicAlter = 126,
|
|
146
|
+
GameActionImproveMagicAlterWithItem = 127,
|
|
147
|
+
GameActionImproveMagicEnchant = 128,
|
|
148
|
+
GameActionImproveMagicEnchantWithItem = 129,
|
|
149
|
+
GameActionImproveMagicExude = 130,
|
|
150
|
+
GameActionImproveMagicExudeWithItem = 131,
|
|
151
|
+
GameActionImproveMagicTransmogrify = 132,
|
|
152
|
+
GameActionImproveMagicTransmogrifyWithItem = 133,
|
|
153
|
+
GameActionImproveMagicUpgrade = 134,
|
|
154
|
+
GameActionImproveMagicUpgradeWithItem = 135,
|
|
155
|
+
GameActionItemContainerDumpItems = 136,
|
|
156
|
+
GameActionItemContainerMoveContents = 137,
|
|
157
|
+
GameActionItemContainerStateClose = 138,
|
|
158
|
+
GameActionItemContainerStateOpen = 139,
|
|
159
|
+
GameActionItemDestinationActiveContainer = 140,
|
|
160
|
+
GameActionItemDestinationFacingContainer = 141,
|
|
161
|
+
GameActionItemDestinationInventory = 142,
|
|
162
|
+
GameActionItemDrop = 143,
|
|
163
|
+
GameActionItemDropAll = 144,
|
|
164
|
+
GameActionItemDropAllOfSameQuality = 145,
|
|
165
|
+
GameActionItemMove = 146,
|
|
166
|
+
GameActionItemMoveAll = 147,
|
|
167
|
+
GameActionItemMoveAllOfSameQuality = 148,
|
|
168
|
+
GameActionItemPickUpAllItems = 149,
|
|
169
|
+
GameActionItemPickUpItem = 150,
|
|
170
|
+
GameActionJump = 151,
|
|
171
|
+
GameActionLearn = 152,
|
|
172
|
+
GameActionLiquidGather = 153,
|
|
173
|
+
GameActionLiquidPour = 154,
|
|
174
|
+
GameActionLiquidPourOnYourself = 155,
|
|
175
|
+
GameActionLockpick = 156,
|
|
176
|
+
GameActionMapDraw = 157,
|
|
177
|
+
GameActionMapRead = 158,
|
|
178
|
+
GameActionNavigate = 159,
|
|
179
|
+
GameActionOpenBottle = 160,
|
|
180
|
+
GameActionPickUpDoodad = 161,
|
|
181
|
+
GameActionPickUpExcrementWithHands = 162,
|
|
182
|
+
GameActionPlant = 163,
|
|
183
|
+
GameActionProtect = 164,
|
|
184
|
+
GameActionProtectUnprotect = 165,
|
|
185
|
+
GameActionRead = 166,
|
|
186
|
+
GameActionRename = 167,
|
|
187
|
+
GameActionRest = 168,
|
|
188
|
+
GameActionRestSleep = 169,
|
|
189
|
+
GameActionRotate = 170,
|
|
190
|
+
GameActionSqueeze = 171,
|
|
191
|
+
GameActionStillAttachContainer = 172,
|
|
192
|
+
GameActionStillDetachContainer = 173,
|
|
193
|
+
GameActionSummon = 174,
|
|
194
|
+
GameActionTame = 175,
|
|
195
|
+
GameActionTameOffer = 176,
|
|
196
|
+
GameActionTamePet = 177,
|
|
197
|
+
GameActionTameRelease = 178,
|
|
198
|
+
GameActionTeleport = 179,
|
|
199
|
+
GameActionTellTime = 180,
|
|
200
|
+
GameActionTestDepth = 181,
|
|
201
|
+
GameActionTill = 182,
|
|
202
|
+
GameActionTillUntill = 183,
|
|
203
|
+
GameActionTillWithHands = 184,
|
|
204
|
+
GameActionTrade = 185,
|
|
205
|
+
GameActionTradeBuyFromTrader = 186,
|
|
206
|
+
GameActionTradeSellToTrader = 187,
|
|
207
|
+
GameActionTravelSailToCivilization = 188,
|
|
208
|
+
GameActionTravelShipToIsland = 189,
|
|
209
|
+
GameActionVehicleRide = 190,
|
|
210
|
+
GameActionVehicleUnride = 191,
|
|
211
|
+
DialogCloseAll = 192,
|
|
212
|
+
DialogOptions = 193,
|
|
213
|
+
DialogHelp = 194,
|
|
214
|
+
DialogMilestones = 195,
|
|
215
|
+
DialogNotes = 196,
|
|
216
|
+
DialogMessages = 197,
|
|
217
|
+
DialogMessagesChatFocus = 198,
|
|
218
|
+
DialogInventory = 199,
|
|
219
|
+
DialogCrafting = 200,
|
|
220
|
+
DialogDismantle = 201,
|
|
221
|
+
DialogEquipment = 202,
|
|
222
|
+
DialogSkills = 203,
|
|
223
|
+
DialogQuests = 204,
|
|
224
|
+
DialogIslands = 205,
|
|
225
|
+
HudToggleMenuBar = 206,
|
|
226
|
+
HudToggleActionBar = 207,
|
|
227
|
+
HudToggleMessages = 208,
|
|
228
|
+
HudToggleStats = 209,
|
|
229
|
+
TooltipMoreInformation = 210,
|
|
230
|
+
TooltipToggle = 211,
|
|
231
|
+
MenuEnter = 212,
|
|
232
|
+
MenuSubmit = 213,
|
|
233
|
+
MenuNext = 214,
|
|
234
|
+
MenuPrevious = 215,
|
|
235
|
+
MenuUp = 216,
|
|
236
|
+
MenuDown = 217,
|
|
237
|
+
MenuLeft = 218,
|
|
238
|
+
MenuRight = 219,
|
|
239
|
+
MenuCancel = 220,
|
|
240
|
+
MenuNextOption = 221,
|
|
241
|
+
MenuPreviousOption = 222,
|
|
242
|
+
MenuContextMenu = 223,
|
|
243
|
+
MenuSelect = 224,
|
|
244
|
+
DeveloperInterfaceScaleUp = 225,
|
|
245
|
+
DeveloperInterfaceScaleDown = 226,
|
|
246
|
+
DeveloperToggleDeveloperMode = 227,
|
|
247
|
+
DeveloperToggleDeveloperTools = 228,
|
|
248
|
+
DeveloperReloadGame = 229,
|
|
249
|
+
DeveloperReloadWithoutSavingGame = 230,
|
|
250
|
+
DeveloperReloadAndContinueGame = 231,
|
|
251
|
+
DeveloperReloadWithoutSavingAndContinueGame = 232,
|
|
252
|
+
DeveloperReloadStylesheets = 233,
|
|
253
|
+
DeveloperReloadTextures = 234
|
|
255
254
|
}
|
|
256
255
|
export default Bindable;
|
|
257
256
|
export declare enum BindableType {
|
|
@@ -13,6 +13,7 @@ import type UsableAction from "@wayward/game/game/entity/action/usable/UsableAct
|
|
|
13
13
|
import Component from "@wayward/game/ui/component/Component";
|
|
14
14
|
import Input from "@wayward/game/ui/component/Input";
|
|
15
15
|
import type { IBindHandlerApi } from "@wayward/game/ui/input/Bind";
|
|
16
|
+
import type ActionsConfigurationDrawer from "@wayward/game/ui/screen/screens/game/static/actions/ActionsDrawer";
|
|
16
17
|
import ActionsList from "@wayward/game/ui/screen/screens/game/static/actions/ActionsList";
|
|
17
18
|
import SelectionHandler from "@wayward/game/ui/screen/screens/menu/component/SelectionHandler";
|
|
18
19
|
import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
@@ -46,7 +47,7 @@ export default class ActionsSelector extends Component {
|
|
|
46
47
|
get action(): UsableAction<IUsableActionRequirements, IUsableActionDefinition> | undefined;
|
|
47
48
|
private readonly host;
|
|
48
49
|
private using?;
|
|
49
|
-
constructor(host:
|
|
50
|
+
constructor(host: ActionsConfigurationDrawer);
|
|
50
51
|
listen(): this;
|
|
51
52
|
unlisten(): this;
|
|
52
53
|
setSlot(number: number, action: UsableAction | undefined, using: IUsableActionPossibleUsing): void;
|
package/package.json
CHANGED