@wayward/types 2.14.2-beta.dev.20241222.1 → 2.14.3-beta
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 +3 -0
- package/definitions/game/event/EventBuses.d.ts +18 -10
- package/definitions/game/event/EventManager.d.ts +7 -5
- package/definitions/game/game/Game.d.ts +2 -0
- package/definitions/game/game/IGame.d.ts +2 -1
- package/definitions/game/game/entity/Entity.d.ts +11 -9
- package/definitions/game/game/entity/EntityWithStats.d.ts +2 -1
- package/definitions/game/game/entity/IEntity.d.ts +2 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/StokeFire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemFilterArgument.d.ts +3 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +18 -2
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +19 -2
- package/definitions/game/game/entity/action/usable/UsableActionRegistrar.d.ts +7 -1
- package/definitions/game/game/entity/ai/AI.d.ts +4 -0
- package/definitions/game/game/entity/ai/AiManager.d.ts +2 -2
- package/definitions/game/game/entity/creature/Creature.d.ts +3 -3
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +1 -1
- package/definitions/game/game/entity/npc/NPC.d.ts +5 -6
- package/definitions/game/game/entity/player/Player.d.ts +2 -2
- package/definitions/game/game/inspection/IInspection.d.ts +1 -4
- package/definitions/game/game/inspection/InfoProvider.d.ts +2 -1
- package/definitions/game/game/inspection/InspectionsHandler.d.ts +2 -1
- package/definitions/game/game/inspection/inspections/ActionInspection.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/action/IActionInspection.d.ts +26 -0
- package/definitions/game/game/island/Island.d.ts +3 -0
- package/definitions/game/game/item/Item.d.ts +0 -1
- package/definitions/game/game/item/ItemFinder.d.ts +1 -1
- package/definitions/game/game/meta/SaveLoad.d.ts +1 -1
- package/definitions/game/game/options/IGameOptions.d.ts +6 -1
- package/definitions/game/language/Dictionary.d.ts +128 -127
- package/definitions/game/language/DictionaryMap.d.ts +252 -249
- package/definitions/game/language/Translation.d.ts +2 -2
- package/definitions/game/language/english/ui/ActionSlotItemMethods.d.ts +1 -1
- package/definitions/game/language/english/ui/ActionSlotTypes.d.ts +13 -0
- package/definitions/game/language/segment/BindSegment.d.ts +2 -2
- package/definitions/game/language/segment/InterpolateArgumentSegment.d.ts +2 -2
- package/definitions/game/language/segment/NumberSegment.d.ts +4 -4
- package/definitions/game/language/segment/ReferenceSegment.d.ts +2 -2
- package/definitions/game/language/segment/ReformatSegment.d.ts +2 -2
- package/definitions/game/language/segment/Segments.d.ts +1 -1
- package/definitions/game/language/segment/TranslationSegment.d.ts +4 -4
- package/definitions/game/mod/IMod.d.ts +2 -1
- package/definitions/game/renderer/RenderersNotifiers.d.ts +1 -1
- package/definitions/game/renderer/notifier/Notifier.d.ts +4 -1
- package/definitions/game/renderer/world/WorldRenderer.d.ts +4 -0
- package/definitions/game/resource/IResourceLoader.d.ts +51 -48
- package/definitions/game/save/data/SaveData.d.ts +2 -0
- package/definitions/game/save/data/SaveDataGlobal.d.ts +2 -0
- package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +6 -0
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +6 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/_beta.2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/{beta2.14.0-dev1.d.ts → beta2.14.0-dev00000001.d.ts} +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/{beta2.14.0-dev2.d.ts → beta2.14.0-dev00000002.d.ts} +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240827.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240829.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240901.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240905.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241024.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.3/beta2.14.3-dev20241223.d.ts +12 -0
- package/definitions/game/steamworks/ISteamworks.d.ts +1 -0
- package/definitions/game/steamworks/Steamworks.d.ts +15 -0
- package/definitions/game/ui/component/Component.d.ts +2 -0
- package/definitions/game/ui/component/ContextMenu.d.ts +1 -1
- package/definitions/game/ui/component/IComponent.d.ts +2 -1
- package/definitions/game/ui/old/OldUi.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +3 -99
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +6 -7
- package/definitions/game/ui/screen/screens/game/component/item/IItemComponent.d.ts +65 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +39 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentHandler.d.ts +46 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentTradeManager.d.ts +32 -0
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +8 -10
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlotConfigurationColumn.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/actions/IActionsDrawer.d.ts +3 -3
- package/definitions/game/utilities/Version.d.ts +16 -7
- package/definitions/game/utilities/dev/Debug.d.ts +4 -0
- package/definitions/game/utilities/memory/MemoryLeakDetector.d.ts +1 -1
- package/definitions/game/utilities/object/Merge.d.ts +2 -0
- package/definitions/game/utilities/string/Interpolator.d.ts +37 -6
- package/definitions/hosts/shared/globalTypes.d.ts +4 -0
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/utilities/Errors.d.ts +10 -0
- package/definitions/utilities/Functions.d.ts +1 -1
- package/definitions/utilities/Log.d.ts +9 -0
- package/definitions/utilities/collection/map/IterableWeakMap.d.ts +35 -0
- package/definitions/utilities/collection/map/LimitedMap.d.ts +45 -0
- package/definitions/utilities/dev/DebugShared.d.ts +23 -0
- package/definitions/utilities/event/EventEmitter.d.ts +27 -3
- package/definitions/utilities/event/EventManager.d.ts +11 -1
- package/definitions/utilities/prototype/Define.d.ts +2 -0
- package/package.json +1 -1
@@ -38,6 +38,7 @@ import { InfoDisplayLevel } from "@wayward/game/game/inspection/IInfoProvider";
|
|
38
38
|
import { InspectType } from "@wayward/game/game/inspection/IInspection";
|
39
39
|
import { Level } from "@wayward/game/game/inspection/infoProviders/ILevel";
|
40
40
|
import { DurabilityLevel } from "@wayward/game/game/inspection/infoProviders/doodad/IDurability";
|
41
|
+
import { ActionSlotItemMethod, ActionSlotType } from "@wayward/game/game/inspection/inspections/action/IActionInspection";
|
41
42
|
import { BookType, ContainerSort, EquipEffect, ItemType, ItemTypeExtra, ItemTypeGroup, RecipeLevel } from "@wayward/game/game/item/IItem";
|
42
43
|
import { CraftEfficacy } from "@wayward/game/game/item/recipe/Crafter";
|
43
44
|
import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
@@ -84,7 +85,7 @@ import { MessageFilterDefault } from "@wayward/game/ui/screen/screens/game/IMess
|
|
84
85
|
import { Quadrant, QuadrantComponentContextMenuAction } from "@wayward/game/ui/screen/screens/game/component/IQuadrantComponent";
|
85
86
|
import { MilestoneSort } from "@wayward/game/ui/screen/screens/game/dialog/IMilestonesDialog";
|
86
87
|
import { SkillSort } from "@wayward/game/ui/screen/screens/game/dialog/ISkillsDialog";
|
87
|
-
import {
|
88
|
+
import { ActionSort } from "@wayward/game/ui/screen/screens/game/static/actions/IActionsDrawer";
|
88
89
|
import { MenuBarButtonType } from "@wayward/game/ui/screen/screens/game/static/menubar/IMenuBarButton";
|
89
90
|
import { CharacterSort } from "@wayward/game/ui/screen/screens/menu/menus/character/Character";
|
90
91
|
import { HelpArticle } from "@wayward/game/ui/screen/screens/menu/menus/help/IHelpArticle";
|
@@ -100,66 +101,67 @@ export declare const SYMBOL_ANY_DICTIONARY: unique symbol;
|
|
100
101
|
declare const dictionaryMap: {
|
101
102
|
0: typeof ActionType;
|
102
103
|
1: typeof ActionSlotItemMethod;
|
103
|
-
2: typeof
|
104
|
-
3: typeof
|
105
|
-
4: typeof
|
106
|
-
5: typeof
|
107
|
-
6: typeof
|
108
|
-
7: typeof
|
109
|
-
8: typeof
|
110
|
-
9: typeof
|
111
|
-
10: typeof
|
112
|
-
11: typeof
|
113
|
-
12: typeof
|
114
|
-
13: typeof
|
115
|
-
14: typeof
|
116
|
-
15: typeof
|
117
|
-
16: typeof
|
118
|
-
17: typeof
|
119
|
-
18: typeof
|
120
|
-
19: typeof
|
121
|
-
20: typeof
|
122
|
-
21: typeof
|
123
|
-
22: typeof
|
124
|
-
23: typeof
|
125
|
-
24: typeof
|
104
|
+
2: typeof ActionSlotType;
|
105
|
+
3: typeof ActionSort;
|
106
|
+
4: typeof AiType;
|
107
|
+
5: typeof AutoSaveMode;
|
108
|
+
6: typeof BadTemperatureLevel;
|
109
|
+
7: typeof Bindable;
|
110
|
+
8: typeof BindableType;
|
111
|
+
9: typeof BiomeType;
|
112
|
+
10: typeof BleedLevel;
|
113
|
+
11: typeof BookType;
|
114
|
+
12: typeof Challenge;
|
115
|
+
13: typeof ChangeType;
|
116
|
+
14: typeof CharacterSort;
|
117
|
+
15: typeof CombatDangerLevel;
|
118
|
+
16: typeof CombatStrength;
|
119
|
+
17: typeof Command;
|
120
|
+
18: typeof ContainerSort;
|
121
|
+
19: typeof CreatureType;
|
122
|
+
20: typeof CraftEfficacy;
|
123
|
+
21: typeof CraftingSort;
|
124
|
+
22: typeof CreatureType;
|
125
|
+
23: typeof CurseComponent;
|
126
|
+
24: typeof DamageType;
|
126
127
|
25: typeof Deity;
|
127
|
-
26: typeof
|
128
|
-
27: typeof
|
129
|
-
28: typeof
|
130
|
-
29: typeof
|
131
|
-
30: typeof
|
132
|
-
31: typeof
|
133
|
-
32: typeof
|
134
|
-
33: typeof
|
135
|
-
34: typeof
|
136
|
-
35: typeof
|
137
|
-
36: typeof
|
138
|
-
37: typeof
|
139
|
-
38: typeof
|
140
|
-
39: typeof
|
141
|
-
40: typeof
|
142
|
-
41: typeof
|
143
|
-
42: typeof
|
144
|
-
43: typeof
|
128
|
+
26: typeof Deity;
|
129
|
+
27: typeof DialogId;
|
130
|
+
28: typeof Direction;
|
131
|
+
29: typeof InfoDisplayLevel;
|
132
|
+
30: typeof DoctorCureType;
|
133
|
+
31: typeof DoctorCureMethod;
|
134
|
+
32: typeof DoodadType;
|
135
|
+
33: typeof DoodadTypeExtra;
|
136
|
+
34: typeof DoodadTypeGroup;
|
137
|
+
35: typeof DrawnMapTheme;
|
138
|
+
36: typeof DurabilityLevel;
|
139
|
+
37: typeof EquipEffect;
|
140
|
+
38: typeof EquipType;
|
141
|
+
39: typeof ExhaustionLevel;
|
142
|
+
40: typeof FireStage;
|
143
|
+
41: typeof FontStyle;
|
144
|
+
42: typeof GameEndMessage;
|
145
|
+
43: typeof GameMode;
|
145
146
|
44: typeof GrowingStage;
|
146
|
-
45: typeof
|
147
|
-
46: typeof
|
148
|
-
47: typeof
|
149
|
-
48: typeof
|
150
|
-
49: typeof
|
151
|
-
50: typeof
|
152
|
-
51:
|
153
|
-
52:
|
154
|
-
53: typeof
|
155
|
-
54: typeof
|
156
|
-
55: typeof
|
157
|
-
56: typeof
|
147
|
+
45: typeof GrowingStage;
|
148
|
+
46: typeof Health;
|
149
|
+
47: typeof HealthAccuracy;
|
150
|
+
48: typeof HelpArticle;
|
151
|
+
49: typeof HighscoreSort;
|
152
|
+
50: typeof HumanName;
|
153
|
+
51: typeof HungerLevel;
|
154
|
+
52: symbol;
|
155
|
+
53: typeof InspectType;
|
156
|
+
54: typeof InterruptChoice;
|
157
|
+
55: typeof IslandModifierType;
|
158
|
+
56: typeof IslandName;
|
158
159
|
57: typeof BiomeType;
|
159
|
-
58: typeof
|
160
|
-
59: typeof
|
161
|
-
60: typeof
|
162
|
-
61:
|
160
|
+
58: typeof BiomeType;
|
161
|
+
59: typeof IslandModifierType;
|
162
|
+
60: typeof CreatureType;
|
163
|
+
61: typeof ItemType;
|
164
|
+
62: {
|
163
165
|
Bow: ItemType.Bow;
|
164
166
|
None: ItemType.None;
|
165
167
|
String: ItemType.String;
|
@@ -989,7 +991,7 @@ declare const dictionaryMap: {
|
|
989
991
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
990
992
|
TallySticks: ItemTypeExtra.TallySticks;
|
991
993
|
};
|
992
|
-
|
994
|
+
63: {
|
993
995
|
Bow: ItemType.Bow;
|
994
996
|
None: ItemType.None;
|
995
997
|
String: ItemType.String;
|
@@ -1819,136 +1821,137 @@ declare const dictionaryMap: {
|
|
1819
1821
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
1820
1822
|
TallySticks: ItemTypeExtra.TallySticks;
|
1821
1823
|
};
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1824
|
+
64: typeof ItemTypeExtra;
|
1825
|
+
65: typeof ItemTypeGroup;
|
1826
|
+
66: typeof JoinServerRetryReason;
|
1827
|
+
67: typeof Label;
|
1828
|
+
68: typeof Level;
|
1829
|
+
69: typeof LighthouseName;
|
1830
|
+
70: typeof Load;
|
1831
|
+
71: symbol;
|
1832
|
+
72: typeof MagicalPropertyType;
|
1833
|
+
73: typeof MapQuality;
|
1834
|
+
74: typeof MenuBarButtonType;
|
1835
|
+
75: typeof Message;
|
1836
|
+
76: typeof MessageFilterDefault;
|
1837
|
+
77: typeof MessageTimestamp;
|
1838
|
+
78: typeof Milestone;
|
1839
|
+
79: typeof MilestoneModifierGroup;
|
1840
|
+
80: typeof MilestoneSort;
|
1841
|
+
81: typeof MiscTranslation;
|
1842
|
+
82: typeof CanLoadState;
|
1843
|
+
83: typeof ModLoadFailureReason;
|
1844
|
+
84: typeof ModProvide;
|
1845
|
+
85: typeof ModSort;
|
1846
|
+
86: typeof ModType;
|
1847
|
+
87: typeof MultiplayerCompatibility;
|
1848
|
+
88: typeof DisconnectReason;
|
1849
|
+
89: typeof MusicPlaylist;
|
1850
|
+
90: typeof Note;
|
1851
|
+
91: typeof NPCType;
|
1852
|
+
92: symbol;
|
1853
|
+
93: typeof PartOfDay;
|
1854
|
+
94: typeof Prompt;
|
1855
|
+
95: typeof QuadrantComponentId;
|
1856
|
+
96: typeof QuadrantComponentContextMenuAction;
|
1857
|
+
97: typeof Quality;
|
1858
|
+
98: typeof QuestType;
|
1859
|
+
99: typeof QuestRequirementType;
|
1860
|
+
100: typeof RecipeLevel;
|
1861
|
+
101: typeof Direction;
|
1862
|
+
102: typeof Riddle;
|
1863
|
+
103: typeof Runekeeper.Domain;
|
1864
|
+
104: typeof Runekeeper.Event;
|
1865
|
+
105: typeof SaveImportErrorReason;
|
1866
|
+
106: typeof SaveSort;
|
1867
|
+
107: typeof SkillType;
|
1868
|
+
108: typeof SkillSort;
|
1869
|
+
109: typeof Source;
|
1870
|
+
110: typeof Stat;
|
1871
|
+
111: typeof StatusType;
|
1872
|
+
112: typeof StatusEffectType;
|
1873
|
+
113: typeof StatusThreatLevel;
|
1874
|
+
114: typeof SteamInputKeyboardPosition;
|
1875
|
+
115: typeof Responsibility;
|
1876
|
+
116: typeof TempType;
|
1877
|
+
117: typeof Term;
|
1878
|
+
118: typeof TerrainType;
|
1879
|
+
119: typeof ThirstLevel;
|
1880
|
+
120: typeof TileEventType;
|
1881
|
+
121: typeof TooltipVisibilityOption;
|
1882
|
+
122: typeof UiTranslation;
|
1883
|
+
123: typeof Quadrant;
|
1884
|
+
124: typeof UnableToJoinReason;
|
1885
|
+
125: typeof UnlockedRecipesStrategy;
|
1886
|
+
126: typeof UsableActionType;
|
1887
|
+
127: typeof Website;
|
1888
|
+
128: typeof WeightStatus;
|
1889
|
+
129: typeof WorldZ;
|
1888
1890
|
};
|
1889
1891
|
export declare const strictDictionaries: {
|
1890
1892
|
0: typeof ActionType;
|
1891
1893
|
1: typeof ActionSlotItemMethod;
|
1892
|
-
2: typeof
|
1893
|
-
3: typeof
|
1894
|
-
4: typeof
|
1895
|
-
5: typeof
|
1896
|
-
6: typeof
|
1897
|
-
7: typeof
|
1898
|
-
8: typeof
|
1899
|
-
9: typeof
|
1900
|
-
10: typeof
|
1901
|
-
11: typeof
|
1902
|
-
12: typeof
|
1903
|
-
13: typeof
|
1904
|
-
14: typeof
|
1905
|
-
15: typeof
|
1906
|
-
16: typeof
|
1907
|
-
17: typeof
|
1908
|
-
18: typeof
|
1909
|
-
19: typeof
|
1910
|
-
20: typeof
|
1911
|
-
21: typeof
|
1912
|
-
22: typeof
|
1913
|
-
23: typeof
|
1914
|
-
24: typeof
|
1894
|
+
2: typeof ActionSlotType;
|
1895
|
+
3: typeof ActionSort;
|
1896
|
+
4: typeof AiType;
|
1897
|
+
5: typeof AutoSaveMode;
|
1898
|
+
6: typeof BadTemperatureLevel;
|
1899
|
+
7: typeof Bindable;
|
1900
|
+
8: typeof BindableType;
|
1901
|
+
9: typeof BiomeType;
|
1902
|
+
10: typeof BleedLevel;
|
1903
|
+
11: typeof BookType;
|
1904
|
+
12: typeof Challenge;
|
1905
|
+
13: typeof ChangeType;
|
1906
|
+
14: typeof CharacterSort;
|
1907
|
+
15: typeof CombatDangerLevel;
|
1908
|
+
16: typeof CombatStrength;
|
1909
|
+
17: typeof Command;
|
1910
|
+
18: typeof ContainerSort;
|
1911
|
+
19: typeof CreatureType;
|
1912
|
+
20: typeof CraftEfficacy;
|
1913
|
+
21: typeof CraftingSort;
|
1914
|
+
22: typeof CreatureType;
|
1915
|
+
23: typeof CurseComponent;
|
1916
|
+
24: typeof DamageType;
|
1915
1917
|
25: typeof Deity;
|
1916
|
-
26: typeof
|
1917
|
-
27: typeof
|
1918
|
-
28: typeof
|
1919
|
-
29: typeof
|
1920
|
-
30: typeof
|
1921
|
-
31: typeof
|
1922
|
-
32: typeof
|
1923
|
-
33: typeof
|
1924
|
-
34: typeof
|
1925
|
-
35: typeof
|
1926
|
-
36: typeof
|
1927
|
-
37: typeof
|
1928
|
-
38: typeof
|
1929
|
-
39: typeof
|
1930
|
-
40: typeof
|
1931
|
-
41: typeof
|
1932
|
-
42: typeof
|
1933
|
-
43: typeof
|
1918
|
+
26: typeof Deity;
|
1919
|
+
27: typeof DialogId;
|
1920
|
+
28: typeof Direction;
|
1921
|
+
29: typeof InfoDisplayLevel;
|
1922
|
+
30: typeof DoctorCureType;
|
1923
|
+
31: typeof DoctorCureMethod;
|
1924
|
+
32: typeof DoodadType;
|
1925
|
+
33: typeof DoodadTypeExtra;
|
1926
|
+
34: typeof DoodadTypeGroup;
|
1927
|
+
35: typeof DrawnMapTheme;
|
1928
|
+
36: typeof DurabilityLevel;
|
1929
|
+
37: typeof EquipEffect;
|
1930
|
+
38: typeof EquipType;
|
1931
|
+
39: typeof ExhaustionLevel;
|
1932
|
+
40: typeof FireStage;
|
1933
|
+
41: typeof FontStyle;
|
1934
|
+
42: typeof GameEndMessage;
|
1935
|
+
43: typeof GameMode;
|
1934
1936
|
44: typeof GrowingStage;
|
1935
|
-
45: typeof
|
1936
|
-
46: typeof
|
1937
|
-
47: typeof
|
1938
|
-
48: typeof
|
1939
|
-
49: typeof
|
1940
|
-
50: typeof
|
1941
|
-
51:
|
1942
|
-
52:
|
1943
|
-
53: typeof
|
1944
|
-
54: typeof
|
1945
|
-
55: typeof
|
1946
|
-
56: typeof
|
1937
|
+
45: typeof GrowingStage;
|
1938
|
+
46: typeof Health;
|
1939
|
+
47: typeof HealthAccuracy;
|
1940
|
+
48: typeof HelpArticle;
|
1941
|
+
49: typeof HighscoreSort;
|
1942
|
+
50: typeof HumanName;
|
1943
|
+
51: typeof HungerLevel;
|
1944
|
+
52: symbol;
|
1945
|
+
53: typeof InspectType;
|
1946
|
+
54: typeof InterruptChoice;
|
1947
|
+
55: typeof IslandModifierType;
|
1948
|
+
56: typeof IslandName;
|
1947
1949
|
57: typeof BiomeType;
|
1948
|
-
58: typeof
|
1949
|
-
59: typeof
|
1950
|
-
60: typeof
|
1951
|
-
61:
|
1950
|
+
58: typeof BiomeType;
|
1951
|
+
59: typeof IslandModifierType;
|
1952
|
+
60: typeof CreatureType;
|
1953
|
+
61: typeof ItemType;
|
1954
|
+
62: {
|
1952
1955
|
Bow: ItemType.Bow;
|
1953
1956
|
None: ItemType.None;
|
1954
1957
|
String: ItemType.String;
|
@@ -2778,7 +2781,7 @@ export declare const strictDictionaries: {
|
|
2778
2781
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
2779
2782
|
TallySticks: ItemTypeExtra.TallySticks;
|
2780
2783
|
};
|
2781
|
-
|
2784
|
+
63: {
|
2782
2785
|
Bow: ItemType.Bow;
|
2783
2786
|
None: ItemType.None;
|
2784
2787
|
String: ItemType.String;
|
@@ -3608,72 +3611,72 @@ export declare const strictDictionaries: {
|
|
3608
3611
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
3609
3612
|
TallySticks: ItemTypeExtra.TallySticks;
|
3610
3613
|
};
|
3611
|
-
|
3612
|
-
|
3613
|
-
|
3614
|
-
|
3615
|
-
|
3616
|
-
|
3617
|
-
|
3618
|
-
|
3619
|
-
|
3620
|
-
|
3621
|
-
|
3622
|
-
|
3623
|
-
|
3624
|
-
|
3625
|
-
|
3626
|
-
|
3627
|
-
|
3628
|
-
|
3629
|
-
|
3630
|
-
|
3631
|
-
|
3632
|
-
|
3633
|
-
|
3634
|
-
|
3635
|
-
|
3636
|
-
|
3637
|
-
|
3638
|
-
|
3639
|
-
|
3640
|
-
|
3641
|
-
|
3642
|
-
|
3643
|
-
|
3644
|
-
|
3645
|
-
|
3646
|
-
|
3647
|
-
|
3648
|
-
|
3649
|
-
|
3650
|
-
|
3651
|
-
|
3652
|
-
|
3653
|
-
|
3654
|
-
|
3655
|
-
|
3656
|
-
|
3657
|
-
|
3658
|
-
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
|
3675
|
-
|
3676
|
-
|
3614
|
+
64: typeof ItemTypeExtra;
|
3615
|
+
65: typeof ItemTypeGroup;
|
3616
|
+
66: typeof JoinServerRetryReason;
|
3617
|
+
67: typeof Label;
|
3618
|
+
68: typeof Level;
|
3619
|
+
69: typeof LighthouseName;
|
3620
|
+
70: typeof Load;
|
3621
|
+
71: symbol;
|
3622
|
+
72: typeof MagicalPropertyType;
|
3623
|
+
73: typeof MapQuality;
|
3624
|
+
74: typeof MenuBarButtonType;
|
3625
|
+
75: typeof Message;
|
3626
|
+
76: typeof MessageFilterDefault;
|
3627
|
+
77: typeof MessageTimestamp;
|
3628
|
+
78: typeof Milestone;
|
3629
|
+
79: typeof MilestoneModifierGroup;
|
3630
|
+
80: typeof MilestoneSort;
|
3631
|
+
81: typeof MiscTranslation;
|
3632
|
+
82: typeof CanLoadState;
|
3633
|
+
83: typeof ModLoadFailureReason;
|
3634
|
+
84: typeof ModProvide;
|
3635
|
+
85: typeof ModSort;
|
3636
|
+
86: typeof ModType;
|
3637
|
+
87: typeof MultiplayerCompatibility;
|
3638
|
+
88: typeof DisconnectReason;
|
3639
|
+
89: typeof MusicPlaylist;
|
3640
|
+
90: typeof Note;
|
3641
|
+
91: typeof NPCType;
|
3642
|
+
92: symbol;
|
3643
|
+
93: typeof PartOfDay;
|
3644
|
+
94: typeof Prompt;
|
3645
|
+
95: typeof QuadrantComponentId;
|
3646
|
+
96: typeof QuadrantComponentContextMenuAction;
|
3647
|
+
97: typeof Quality;
|
3648
|
+
98: typeof QuestType;
|
3649
|
+
99: typeof QuestRequirementType;
|
3650
|
+
100: typeof RecipeLevel;
|
3651
|
+
101: typeof Direction;
|
3652
|
+
102: typeof Riddle;
|
3653
|
+
103: typeof Runekeeper.Domain;
|
3654
|
+
104: typeof Runekeeper.Event;
|
3655
|
+
105: typeof SaveImportErrorReason;
|
3656
|
+
106: typeof SaveSort;
|
3657
|
+
107: typeof SkillType;
|
3658
|
+
108: typeof SkillSort;
|
3659
|
+
109: typeof Source;
|
3660
|
+
110: typeof Stat;
|
3661
|
+
111: typeof StatusType;
|
3662
|
+
112: typeof StatusEffectType;
|
3663
|
+
113: typeof StatusThreatLevel;
|
3664
|
+
114: typeof SteamInputKeyboardPosition;
|
3665
|
+
115: typeof Responsibility;
|
3666
|
+
116: typeof TempType;
|
3667
|
+
117: typeof Term;
|
3668
|
+
118: typeof TerrainType;
|
3669
|
+
119: typeof ThirstLevel;
|
3670
|
+
120: typeof TileEventType;
|
3671
|
+
121: typeof TooltipVisibilityOption;
|
3672
|
+
122: typeof UiTranslation;
|
3673
|
+
123: typeof Quadrant;
|
3674
|
+
124: typeof UnableToJoinReason;
|
3675
|
+
125: typeof UnlockedRecipesStrategy;
|
3676
|
+
126: typeof UsableActionType;
|
3677
|
+
127: typeof Website;
|
3678
|
+
128: typeof WeightStatus;
|
3679
|
+
129: typeof WorldZ;
|
3677
3680
|
};
|
3678
3681
|
export type DictionaryEnum = (typeof dictionaryMap)[Dictionary];
|
3679
3682
|
type ExtractEnumString<E> = E extends Record<string, infer V> ? V : never;
|
@@ -29,7 +29,7 @@ import { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
29
29
|
import type { EnumReferenceTypes, Reference, Referenceable } from "@wayward/game/game/reference/IReferenceManager";
|
30
30
|
import Dictionary from "@wayward/game/language/Dictionary";
|
31
31
|
import type { DictionaryEntryEnums } from "@wayward/game/language/DictionaryMap";
|
32
|
-
import type { TranslationArg } from "@wayward/game/language/ITranslation";
|
32
|
+
import type { ListEnder, TranslationArg } from "@wayward/game/language/ITranslation";
|
33
33
|
import { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
34
34
|
import Message from "@wayward/game/language/dictionary/Message";
|
35
35
|
import type { Term } from "@wayward/game/language/dictionary/Misc";
|
@@ -156,7 +156,7 @@ declare namespace Translation {
|
|
156
156
|
export let magic: Translator<MagicalPropertyType, [color?: boolean, obscured?: boolean]>;
|
157
157
|
export const equipSlot: Translator<EquipType, [type?: EquipSlotTranslation | undefined]>;
|
158
158
|
export const quality: Translator<Quality, [color?: any]>;
|
159
|
-
export const qualityList: (qualities: ArrayOr<Quality>, color?: boolean) => Translation;
|
159
|
+
export const qualityList: (qualities: ArrayOr<Quality>, color?: boolean, ender?: ListEnder | false) => Translation;
|
160
160
|
/**
|
161
161
|
* Damage types are bit flags, so multiple can be stored in one `DamageType`.
|
162
162
|
* This method returns a translated list of damage types.
|
@@ -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
|
-
import { ActionSlotItemMethod } from "@wayward/game/
|
11
|
+
import { ActionSlotItemMethod } from "@wayward/game/game/inspection/inspections/action/IActionInspection";
|
12
12
|
declare const actionSlotItemMethods: Descriptions<ActionSlotItemMethod, string>;
|
13
13
|
export default actionSlotItemMethods;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2011-2024 Unlok
|
3
|
+
* https://www.unlok.ca
|
4
|
+
*
|
5
|
+
* Credits & Thanks:
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
7
|
+
*
|
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
|
+
* https://github.com/WaywardGame/types/wiki
|
10
|
+
*/
|
11
|
+
import { ActionSlotType } from "@wayward/game/game/inspection/inspections/action/IActionInspection";
|
12
|
+
declare const actionSlotTypes: Descriptions<ActionSlotType, string>;
|
13
|
+
export default actionSlotTypes;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import type Bindable from "@wayward/game/ui/input/Bindable";
|
12
|
-
import type {
|
12
|
+
import type { IRegexSegment, IStringSection } from "@wayward/game/utilities/string/Interpolator";
|
13
13
|
export interface IBindingsSection extends IStringSection {
|
14
14
|
bindable: Bindable | null;
|
15
15
|
bindableNoBindingsFallback?: IStringSection[];
|
@@ -19,5 +19,5 @@ export interface IBindingsSection extends IStringSection {
|
|
19
19
|
export declare namespace IBindingsSection {
|
20
20
|
function create(bindable: Bindable | null, fallback?: IStringSection[], simplify?: boolean, contextless?: boolean): IBindingsSection;
|
21
21
|
}
|
22
|
-
declare const bindSegment:
|
22
|
+
declare const bindSegment: IRegexSegment;
|
23
23
|
export default bindSegment;
|
@@ -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
|
-
import type {
|
12
|
-
declare const interpolateArgumentSegment:
|
11
|
+
import type { IRegexSegment } from "@wayward/game/utilities/string/Interpolator";
|
12
|
+
declare const interpolateArgumentSegment: IRegexSegment;
|
13
13
|
export default interpolateArgumentSegment;
|
@@ -10,18 +10,18 @@
|
|
10
10
|
*/
|
11
11
|
import type Translation from "@wayward/game/language/Translation";
|
12
12
|
import TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
13
|
-
import type { ISegment } from "@wayward/game/utilities/string/Interpolator";
|
13
|
+
import type { IRegexSegment, ISegment } from "@wayward/game/utilities/string/Interpolator";
|
14
14
|
declare namespace NumberTranslation {
|
15
15
|
function translate(number: number, failWith?: string | Translation): Translation;
|
16
16
|
const numberAsWordsSegment: ISegment;
|
17
17
|
function romanNumeral(number: number): TranslationImpl;
|
18
18
|
const numberAsRomanNumeralSegment: ISegment;
|
19
|
-
const numberToPlacesSegment:
|
20
|
-
const numberToPercentSegment:
|
19
|
+
const numberToPlacesSegment: IRegexSegment;
|
20
|
+
const numberToPercentSegment: IRegexSegment;
|
21
21
|
const numberDifferenceSegment: ISegment;
|
22
22
|
/**
|
23
23
|
* @deprecated Prefer `numberToPlacesSegment`, `numberAsWordsSegment`
|
24
24
|
*/
|
25
|
-
const compatNumberSegment:
|
25
|
+
const compatNumberSegment: IRegexSegment;
|
26
26
|
}
|
27
27
|
export default NumberTranslation;
|