@wayward/types 2.14.0-beta.dev.20241119.1 → 2.14.0-beta.dev.20241121.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.
|
@@ -77,6 +77,7 @@ export interface IWorldLayerCPP {
|
|
|
77
77
|
export interface IDijkstraMap {
|
|
78
78
|
getNode(x: number, y: number): INavigationNode;
|
|
79
79
|
updateNode(x: number, y: number, penalty: number, disabled: boolean): void;
|
|
80
|
+
connectNodes(x1: number, y1: number, x2: number, y2: number, direction: number): void;
|
|
80
81
|
updateOrigin(origin: INavigationNode): void;
|
|
81
82
|
findPath(end: INavigationNode): {
|
|
82
83
|
success: boolean;
|
|
@@ -17,6 +17,7 @@ export declare const actionDescriptionsSlow: {
|
|
|
17
17
|
51: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/AddFuel").IAddFuelCanUse, [import("../../item/Item").default, import("../../item/Item").default]>;
|
|
18
18
|
95: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Alter").IAlterCanUse, [import("../../item/Item").default, (import("../../item/Item").default | undefined)?]>;
|
|
19
19
|
75: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("./actions/ConsumeItem").IConsumeItemCanUse, [import("../../item/Item").default]>;
|
|
20
|
+
139: import("./Action").Action<[], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
20
21
|
78: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/AttachContainer").IAttachContainerCanUse, [import("../../item/Item").default]>;
|
|
21
22
|
3: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../item/Item").default | undefined)?, (import("../IEntity").AttackType | undefined)?, (import("../../item/Item").default | undefined)?]>;
|
|
22
23
|
28: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Tile]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Build").IBuildCanUse, [import("../../item/Item").default, (import("../../tile/Tile").default | undefined)?]>;
|
|
@@ -180,5 +181,4 @@ export declare const actionDescriptionsSlow: {
|
|
|
180
181
|
138: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.Tile], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
181
182
|
usable: true;
|
|
182
183
|
}, [import("../../tile/Tile").default]>;
|
|
183
|
-
139: import("./Action").Action<[], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
184
184
|
};
|
|
@@ -17,173 +17,173 @@ declare enum Message {
|
|
|
17
17
|
ActionAlterAltered = 5,
|
|
18
18
|
ActionAlterFailed = 6,
|
|
19
19
|
ActionAlterNotPossible = 7,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
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
|
-
|
|
20
|
+
ActionAscendDescendNotCaveEntrance = 8,
|
|
21
|
+
ActionAttachAlreadyHasItem = 9,
|
|
22
|
+
ActionAttachAttachedItem = 10,
|
|
23
|
+
ActionAttachAttachingItem = 11,
|
|
24
|
+
ActionAttachCannotAttach = 12,
|
|
25
|
+
ActionAttachNothingToAttachItemTo = 13,
|
|
26
|
+
ActionBuildTooDeep = 14,
|
|
27
|
+
ActionButcherReleasesLava = 15,
|
|
28
|
+
ActionCageCreatureCannotBeCaged = 16,
|
|
29
|
+
ActionCageCreatureNoCreature = 17,
|
|
30
|
+
ActionCastAreaOverfished = 18,
|
|
31
|
+
ActionConsumeItemTypeStats = 19,
|
|
32
|
+
ActionContextAllowedFireToSpread = 20,
|
|
33
|
+
ActionContextDamagedCreatureWith = 21,
|
|
34
|
+
ActionContextDamagedHuman = 22,
|
|
35
|
+
ActionContextDamagedHumanWith = 23,
|
|
36
|
+
ActionContextDamagedPet = 24,
|
|
37
|
+
ActionContextGainedSkill = 25,
|
|
38
|
+
ActionContextKilledCreature = 26,
|
|
39
|
+
ActionContextKilledPlayer = 27,
|
|
40
|
+
ActionContextKilledPlayerWithPet = 28,
|
|
41
|
+
ActionContextRested = 29,
|
|
42
|
+
ActionContextSlept = 30,
|
|
43
|
+
ActionContextTamedCreature = 31,
|
|
44
|
+
ActionContextTrampledFire = 32,
|
|
45
|
+
ActionCraftEfficacy = 33,
|
|
46
|
+
ActionCraftEfficacyHigh = 34,
|
|
47
|
+
ActionCraftEfficacyHighest = 35,
|
|
48
|
+
ActionCraftEfficacyLow = 36,
|
|
49
|
+
ActionCraftEfficacyLowest = 37,
|
|
50
|
+
ActionCraftEfficacyMed = 38,
|
|
51
|
+
ActionCraftEfficacyPercent = 39,
|
|
52
|
+
ActionCraftYouLackTheRequirements = 40,
|
|
53
|
+
ActionDetachContainerDetachContainer = 41,
|
|
54
|
+
ActionDetachContainerNoDetach = 42,
|
|
55
|
+
ActionDigTooDeep = 43,
|
|
56
|
+
ActionDigWaterFilledHole = 44,
|
|
57
|
+
ActionDisassembleNoItemsSalvaged = 45,
|
|
58
|
+
ActionDisassembleSalvaged = 46,
|
|
59
|
+
ActionDismantleSeparated = 47,
|
|
60
|
+
ActionDisplayItemDisplayed = 48,
|
|
61
|
+
ActionDisplayItemEmptyContainerBeforehand = 49,
|
|
62
|
+
ActionDisplayItemReturned = 50,
|
|
63
|
+
ActionDrinkInFrontNoDrink = 51,
|
|
64
|
+
ActionDropCannotUseBlocked = 52,
|
|
65
|
+
ActionDropCannotUseItemEquipped = 53,
|
|
66
|
+
ActionDropCannotUseItemProtected = 54,
|
|
67
|
+
ActionDropCannotUseItemProtectedDangerous = 55,
|
|
68
|
+
ActionDropCannotUseNoItems = 56,
|
|
69
|
+
ActionDropCannotUseNoRoomMultipleItems = 57,
|
|
70
|
+
ActionDumpItemsCannotUseBlocked = 58,
|
|
71
|
+
ActionDumpItemsCannotUseNothingToDumpOut = 59,
|
|
72
|
+
ActionDumpItemsDumpedItems = 60,
|
|
73
|
+
ActionEnhanceEnhanced = 61,
|
|
74
|
+
ActionEnhanceFailed = 62,
|
|
75
|
+
ActionEnhanceNotPossible = 63,
|
|
76
|
+
ActionEquipWillBreakOnDamage = 64,
|
|
77
|
+
ActionFishingNothingBiting = 65,
|
|
78
|
+
ActionFishingSlipped = 66,
|
|
79
|
+
ActionFishingTooShallow = 67,
|
|
80
|
+
ActionInvoke = 68,
|
|
81
|
+
ActionInvokeCannotUseSilence = 69,
|
|
82
|
+
ActionInvokeChaosNoEffect = 70,
|
|
83
|
+
ActionInvokeEvilCreaturesAttracted = 71,
|
|
84
|
+
ActionInvokeEvilCreaturesNoneSummoned = 72,
|
|
85
|
+
ActionInvokeGoodCreaturesPacified = 73,
|
|
86
|
+
ActionInvokeGoodCreaturesPacifiedAttacked = 74,
|
|
87
|
+
ActionInvokeGoodCreaturesPacifiedNone = 75,
|
|
88
|
+
ActionJumpCannotJump = 76,
|
|
89
|
+
ActionMeleeNothingToAttack = 77,
|
|
90
|
+
ActionMoveItemCannotUseContainerTooFarAway = 78,
|
|
91
|
+
ActionMoveItemCannotUseEquipped = 79,
|
|
92
|
+
ActionMoveItemCannotUseFromInvalidContainer = 80,
|
|
93
|
+
ActionMoveItemCannotUseInvalidContainer = 81,
|
|
94
|
+
ActionMoveItemCannotUseItemFilteredOut = 82,
|
|
95
|
+
ActionMoveItemCannotUseItemQualityOrTypeIncorrect = 83,
|
|
96
|
+
ActionMoveItemCannotUseItemTooFarAway = 84,
|
|
97
|
+
ActionMoveItemCannotUseMovingFromMultipleContainers = 85,
|
|
98
|
+
ActionMoveItemCannotUseNoContainerToMoveTo = 86,
|
|
99
|
+
ActionMoveItemCannotUseNoItems = 87,
|
|
100
|
+
ActionMoveItemCannotUseNoRoom = 88,
|
|
101
|
+
ActionMoveItemCannotUseProtected = 89,
|
|
102
|
+
ActionMoveToSwimOffEdgeCannotCombatTides = 90,
|
|
103
|
+
ActionNavigateMoon = 91,
|
|
104
|
+
ActionNavigateNotOverworld = 92,
|
|
105
|
+
ActionNavigateSun = 93,
|
|
106
|
+
ActionNavigateUseSextant = 94,
|
|
107
|
+
ActionPetCreatureRefused = 95,
|
|
108
|
+
ActionPetNoTamedCreature = 96,
|
|
109
|
+
ActionPickUpAllItemsNoItems = 97,
|
|
110
|
+
ActionPickUpDoodadCannotUseContainsItems = 98,
|
|
111
|
+
ActionPickUpExcrementNoExcrement = 99,
|
|
112
|
+
ActionPickUpItemNoItem = 100,
|
|
113
|
+
ActionPickUpNoPickUp = 101,
|
|
114
|
+
ActionPourNoEffect = 102,
|
|
115
|
+
ActionRefineNoDurability = 103,
|
|
116
|
+
ActionReleaseNoTamedCreature = 104,
|
|
117
|
+
ActionRenameIsland = 105,
|
|
118
|
+
ActionRepairMaxDurabilityTooLow = 106,
|
|
119
|
+
ActionReshapeFailed = 107,
|
|
120
|
+
ActionReshapeNotPossibleBonus = 108,
|
|
121
|
+
ActionReshapeReshaped = 109,
|
|
122
|
+
ActionSacrificeNoRunes = 110,
|
|
123
|
+
ActionSacrificeRunesSacrificed = 111,
|
|
124
|
+
ActionSacrificeRunesSacrificedNothingUpgraded = 112,
|
|
125
|
+
ActionSacrificeRunesSacrificedUpgradedChaos = 113,
|
|
126
|
+
ActionSacrificeRunesSacrificedUpgradedEvil = 114,
|
|
127
|
+
ActionSacrificeRunesSacrificedUpgradedGood = 115,
|
|
128
|
+
ActionSailToCivilizationNotInsideBoat = 116,
|
|
129
|
+
ActionSailToIsland = 117,
|
|
130
|
+
ActionSailToIslandArrived = 118,
|
|
131
|
+
ActionSailToIslandCannotUseCannotReachEdge = 119,
|
|
132
|
+
ActionSailToIslandCannotUseCannotReachPort = 120,
|
|
133
|
+
ActionSailToIslandCannotUseGhost = 121,
|
|
134
|
+
ActionSailToIslandCannotUseInvalidDestination = 122,
|
|
135
|
+
ActionSailToIslandCannotUseNoDestination = 123,
|
|
136
|
+
ActionSailToIslandCannotUseNotEnoughStamina = 124,
|
|
137
|
+
ActionSailToIslandCannotUseNotEnoughSwimmingSkill = 125,
|
|
138
|
+
ActionSailToIslandCannotUseTravellingIsDisallowedInTheseLands = 126,
|
|
139
|
+
ActionSailToIslandPlayerArriving = 127,
|
|
140
|
+
ActionSailToIslandPlayerDeparting = 128,
|
|
141
|
+
ActionSetCreatureAiAlreadyCommanded = 129,
|
|
142
|
+
ActionSetCreatureAiCannotCommand = 130,
|
|
143
|
+
ActionSetCreatureAiNotEnoughSkill = 131,
|
|
144
|
+
ActionSetCreatureAiNotEnoughTames = 132,
|
|
145
|
+
ActionSetDownNotEnoughRoom = 133,
|
|
146
|
+
ActionShipToIslandNoDestination = 134,
|
|
147
|
+
ActionSwapEquipmentCannotUseNoEquipmentToSwap = 135,
|
|
148
|
+
ActionTameCreatureTamed = 136,
|
|
149
|
+
ActionTameNoCreature = 137,
|
|
150
|
+
ActionTestDepthNothingToTest = 138,
|
|
151
|
+
ActionTestDepthWell = 139,
|
|
152
|
+
ActionToggleContainerCannotUseAlreadyClosed = 140,
|
|
153
|
+
ActionToggleContainerCannotUseNoContainer = 141,
|
|
154
|
+
ActionToggleContainerCannotUseNoContainerToClose = 142,
|
|
155
|
+
ActionToggleContainerCannotUseNoContainerToOpen = 143,
|
|
156
|
+
ActionToggleContainerCannotUseNotAccessible = 144,
|
|
157
|
+
ActionToggleContainerCannotUseUnknownContainer = 145,
|
|
158
|
+
ActionToggleDoorNoDoor = 146,
|
|
159
|
+
ActionToggleHitchAlreadyHitched = 147,
|
|
160
|
+
ActionToggleHitchAlreadyUnhitched = 148,
|
|
161
|
+
ActionToggleHitchNoCreature = 149,
|
|
162
|
+
ActionToggleHitchNoHitch = 150,
|
|
163
|
+
ActionToggleTilledAlreadyPacked = 151,
|
|
164
|
+
ActionToggleTilledAlreadyTilled = 152,
|
|
165
|
+
ActionToggleTilledDug = 153,
|
|
166
|
+
ActionTradeCannotUseExceedsCarryWeight = 154,
|
|
167
|
+
ActionTradeCannotUseNotEnoughCredit = 155,
|
|
168
|
+
ActionTradeCannotUseNothingToTrade = 156,
|
|
169
|
+
ActionTradeCannotUseTradedTooMuch = 157,
|
|
170
|
+
ActionTradeCreditChange = 158,
|
|
171
|
+
ActionTradeCreditChangeDecrease = 159,
|
|
172
|
+
ActionTradeCreditChangeIncrease = 160,
|
|
173
|
+
ActionTradeDialogue1 = 161,
|
|
174
|
+
ActionTradeDialogue2 = 162,
|
|
175
|
+
ActionTradeDialogue3 = 163,
|
|
176
|
+
ActionTradeDialogue4 = 164,
|
|
177
|
+
ActionTradeIndicateUntradable = 165,
|
|
178
|
+
ActionTradeMerchantItems = 166,
|
|
179
|
+
ActionTradeYourItems = 167,
|
|
180
|
+
ActionUncageCannotUncageHere = 168,
|
|
181
|
+
ActionUpgradeFailed = 169,
|
|
182
|
+
ActionUpgradeNotMagical = 170,
|
|
183
|
+
ActionUpgradeNotPossible = 171,
|
|
184
|
+
ActionUpgradeUpgraded = 172,
|
|
185
|
+
ActionUseItemWeaponNeeded = 173,
|
|
186
|
+
ActionViewItemsCannotUseBlocked = 174,
|
|
187
187
|
AddedFuelToFire = 175,
|
|
188
188
|
AddedFuelToTorch = 176,
|
|
189
189
|
AllEquipmentUnEquipped = 177,
|
package/package.json
CHANGED