@wayward/types 2.15.3-beta.dev.20260119.1 → 2.15.3-beta.dev.20260120.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.
|
@@ -486,6 +486,7 @@ export declare const CREATURE_MAX_HEALTH_BONUS_TAME = 1.1;
|
|
|
486
486
|
export declare const CREATURE_MAX_HEALTH_BONUS_OFFER = 1.05;
|
|
487
487
|
export declare const CREATURE_MAX_HEALTH_BONUS_PET = 1.01;
|
|
488
488
|
export declare const CREATURE_DEFAULT_TAME_DIFFICULTY_UNSET = 25;
|
|
489
|
+
export declare const CREATURE_GOLEM_TAME_BONUS = 25000;
|
|
489
490
|
export interface ICreatureAttackOutcomeBase {
|
|
490
491
|
enemy?: Human | Creature;
|
|
491
492
|
willAttack: boolean;
|
|
@@ -18,6 +18,10 @@ import type { BiomeTypes } from "@wayward/game/game/biome/IBiome";
|
|
|
18
18
|
export default class IslandManager extends Map<IslandId, Island> {
|
|
19
19
|
private readonly game;
|
|
20
20
|
constructor(game: Game);
|
|
21
|
+
/**
|
|
22
|
+
* Get the list of all islands (loaded and unloaded!)
|
|
23
|
+
*/
|
|
24
|
+
get loadedAndUnloaded(): Island[];
|
|
21
25
|
/**
|
|
22
26
|
* Get the list of islands that contain players
|
|
23
27
|
*/
|
|
@@ -56,4 +60,8 @@ export default class IslandManager extends Map<IslandId, Island> {
|
|
|
56
60
|
getBiomeType(x: number, y: number): BiomeTypes;
|
|
57
61
|
getDetails(x: number, y: number): IIslandDetails;
|
|
58
62
|
generateDetails(position: IVector2, seedType: SeedType, seed?: number): IIslandDetails;
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated Use .loadedAndUnloaded instead
|
|
65
|
+
*/
|
|
66
|
+
values(): never;
|
|
59
67
|
}
|
|
@@ -41,7 +41,7 @@ export default class ReferenceManager {
|
|
|
41
41
|
create(): number;
|
|
42
42
|
clearCacheEntry(referenceId: string | number | undefined): void;
|
|
43
43
|
reset(): void;
|
|
44
|
-
getList(type: ReferenceType, gameIsland?: Island): DoodadManager | CorpseManager | CreatureManager | ItemManager | NPCManager | TileEventManager |
|
|
44
|
+
getList(type: ReferenceType, gameIsland?: Island): DoodadManager | CorpseManager | CreatureManager | ItemManager | NPCManager | TileEventManager | Island[] | Player[] | Array<string | ActionType> | EquipType[] | readonly string[];
|
|
45
45
|
get(thing: Item): Reference<ReferenceType.Item> | undefined;
|
|
46
46
|
get(thing: Doodad): Reference<ReferenceType.Doodad> | undefined;
|
|
47
47
|
get(thing: Creature): Reference<ReferenceType.Creature> | undefined;
|
|
@@ -60,64 +60,65 @@ export declare enum MultiplayerSyncCheck {
|
|
|
60
60
|
CreatureNearestPlayer = 20,
|
|
61
61
|
CreatureOffer = 21,
|
|
62
62
|
CreatureStatChange = 22,
|
|
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
|
-
|
|
63
|
+
Curse = 23,
|
|
64
|
+
Damage = 24,
|
|
65
|
+
DiscoverRecipe = 25,
|
|
66
|
+
Dismantle = 26,
|
|
67
|
+
Doodad = 27,
|
|
68
|
+
DoodadManager = 28,
|
|
69
|
+
EncumberedStatus = 29,
|
|
70
|
+
Entity = 30,
|
|
71
|
+
EntityPosition = 31,
|
|
72
|
+
ExhaustedPreMove = 32,
|
|
73
|
+
FlowFieldHashCode = 33,
|
|
74
|
+
FlowFieldPenalty = 34,
|
|
75
|
+
FlowFieldUpdate = 35,
|
|
76
|
+
FlowFieldUpdateTile = 36,
|
|
77
|
+
FlowFieldValue = 37,
|
|
78
|
+
HandToUse = 38,
|
|
79
|
+
HealthChange = 39,
|
|
80
|
+
History = 40,
|
|
81
|
+
InventoryCount = 41,
|
|
82
|
+
Island = 42,
|
|
83
|
+
IslandCivilizationScore = 43,
|
|
84
|
+
Islands = 44,
|
|
85
|
+
IsTileEmpty = 45,
|
|
86
|
+
Item = 46,
|
|
87
|
+
ItemCraft = 47,
|
|
88
|
+
ItemDamage = 48,
|
|
89
|
+
ItemOrder = 49,
|
|
90
|
+
LastCreationIds = 50,
|
|
91
|
+
Merchant = 51,
|
|
92
|
+
MilestoneSeed = 52,
|
|
93
|
+
Modifier = 53,
|
|
94
|
+
MoveToTile = 54,
|
|
95
|
+
NPC = 55,
|
|
96
|
+
Option = 56,
|
|
97
|
+
PenaltyFieldHashCode = 57,
|
|
98
|
+
PlaceOnTile = 58,
|
|
99
|
+
PlayerManager = 59,
|
|
100
|
+
Players = 60,
|
|
101
|
+
PlayerSetup = 61,
|
|
102
|
+
Random = 62,
|
|
103
|
+
ResetItemDiscovered = 63,
|
|
104
|
+
Seed = 64,
|
|
105
|
+
SeededGenerator = 65,
|
|
106
|
+
SetPosition = 66,
|
|
107
|
+
SetZ = 67,
|
|
108
|
+
SkillGain = 68,
|
|
109
|
+
StaminaChanges = 69,
|
|
110
|
+
StatChange = 70,
|
|
111
|
+
Stats = 71,
|
|
112
|
+
Status = 72,
|
|
113
|
+
StatusChange = 73,
|
|
114
|
+
TemperatureManager = 74,
|
|
115
|
+
Temporary = 75,
|
|
116
|
+
Tick = 76,
|
|
117
|
+
TileEvent = 77,
|
|
118
|
+
Time = 78,
|
|
119
|
+
UpdateDirection = 79,
|
|
120
|
+
Weight = 80,
|
|
121
|
+
WorldUpdateTile = 81
|
|
121
122
|
}
|
|
122
123
|
export declare const maxPlayers = 32;
|
|
123
124
|
export declare const packetTickRate = 16.6666;
|
package/package.json
CHANGED