@wayward/types 2.15.2-beta.dev.20251219.1 → 2.15.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.
Files changed (95) hide show
  1. package/.github/workflows/main.yml +1 -1
  2. package/definitions/eslint.config.d.mts +1 -1
  3. package/definitions/game/event/EventBuses.d.ts +8 -4
  4. package/definitions/game/event/EventManager.d.ts +3 -2
  5. package/definitions/game/game/curse/Curse.d.ts +26 -16
  6. package/definitions/game/game/curse/ICurse.d.ts +2 -1
  7. package/definitions/game/game/doodad/Doodad.d.ts +2 -1
  8. package/definitions/game/game/entity/Human.d.ts +18 -8
  9. package/definitions/game/game/entity/IEntity.d.ts +1 -0
  10. package/definitions/game/game/entity/IHuman.d.ts +15 -2
  11. package/definitions/game/game/entity/IStats.d.ts +8 -7
  12. package/definitions/game/game/entity/action/actions/CopyMap.d.ts +3 -0
  13. package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
  14. package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
  15. package/definitions/game/game/entity/action/actions/Drop.d.ts +11 -5
  16. package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
  17. package/definitions/game/game/entity/action/actions/Learn.d.ts +1 -1
  18. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
  19. package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
  20. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +1 -0
  21. package/definitions/game/game/entity/action/usable/actions/UsableActionsMain.d.ts +23 -21
  22. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
  23. package/definitions/game/game/entity/action/usable/actions/doodad/UsableActionsDumpItems.d.ts +13 -0
  24. package/definitions/game/game/entity/ai/AiManager.d.ts +1 -0
  25. package/definitions/game/game/entity/creature/CreatureManager.d.ts +2 -1
  26. package/definitions/game/game/entity/creature/ICreature.d.ts +7 -2
  27. package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +1 -1
  28. package/definitions/game/game/entity/data/DataComponent.d.ts +5 -0
  29. package/definitions/game/game/inspection/InfoProvider.d.ts +3 -0
  30. package/definitions/game/game/inspection/infoProviders/item/use/ItemSetDownInfo.d.ts +1 -0
  31. package/definitions/game/game/inspection/infoProviders/stat/CurseInfo.d.ts +2 -0
  32. package/definitions/game/game/island/Island.d.ts +1 -1
  33. package/definitions/game/game/island/IslandManager.d.ts +8 -0
  34. package/definitions/game/game/island/automation/IAutomation.d.ts +1 -0
  35. package/definitions/game/game/item/ItemManager.d.ts +1 -1
  36. package/definitions/game/game/magic/MagicalPropertyManager.d.ts +1 -0
  37. package/definitions/game/game/magic/MagicalPropertyType.d.ts +5 -1
  38. package/definitions/game/game/milestones/milestone/Doctor.d.ts +1 -1
  39. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
  40. package/definitions/game/game/options/IGameOptions.d.ts +1 -1
  41. package/definitions/game/game/options/modifiers/custom/CustomModifierDefinitions.d.ts +43 -41
  42. package/definitions/game/game/options/modifiers/custom/ICustomModifier.d.ts +43 -42
  43. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatCurse.d.ts +13 -0
  44. package/definitions/game/game/reference/IReferenceManager.d.ts +1 -1
  45. package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
  46. package/definitions/game/game/riddle/Riddle.d.ts +2 -1
  47. package/definitions/game/game/riddle/types/Treasure.d.ts +1 -1
  48. package/definitions/game/game/tile/ITileEvent.d.ts +1 -0
  49. package/definitions/game/game/tile/Tile.d.ts +1 -0
  50. package/definitions/game/language/DictionaryMap.d.ts +4 -4
  51. package/definitions/game/language/dictionary/Message.d.ts +547 -546
  52. package/definitions/game/language/dictionary/UiTranslation.d.ts +744 -741
  53. package/definitions/game/language/english/game/Riddles.d.ts +1 -1
  54. package/definitions/game/mod/ModRegistry.d.ts +62 -51
  55. package/definitions/game/multiplayer/IMultiplayer.d.ts +59 -58
  56. package/definitions/game/multiplayer/matchmaking/Matchmaking.d.ts +1 -1
  57. package/definitions/game/multiplayer/packets/server/UpdateCurseVisualStatePacket.d.ts +21 -0
  58. package/definitions/game/renderer/notifier/INotifier.d.ts +2 -1
  59. package/definitions/game/renderer/notifier/Notifier.d.ts +1 -0
  60. package/definitions/game/renderer/platform/webgl/WorldLayerRendererWebGl.d.ts +3 -1
  61. package/definitions/game/renderer/platform/webgpu/WorldLayerRendererWebGpu.d.ts +3 -1
  62. package/definitions/game/renderer/world/IWorldLayerRendererPlatform.d.ts +3 -1
  63. package/definitions/game/renderer/world/WorldLayerRenderer.d.ts +2 -0
  64. package/definitions/game/renderer/world/WorldRenderer.d.ts +2 -0
  65. package/definitions/game/save/clientStore/clientData/ExploredMap.d.ts +30 -0
  66. package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3-dev20260227.d.ts +12 -0
  67. package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3-dev20260308.d.ts +12 -0
  68. package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3.d.ts +12 -0
  69. package/definitions/game/ui/component/ContextMenu.d.ts +1 -0
  70. package/definitions/game/ui/component/GameIcons.d.ts +5 -0
  71. package/definitions/game/ui/component/Input.d.ts +2 -0
  72. package/definitions/game/ui/input/Bindable.d.ts +4 -4
  73. package/definitions/game/ui/screen/screens/game/component/ContainerBucket.d.ts +1 -1
  74. package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +1 -0
  75. package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -0
  76. package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +3 -1
  77. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +1 -1
  78. package/definitions/game/ui/screen/screens/game/static/stats/component/IStatComponent.d.ts +29 -0
  79. package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +0 -19
  80. package/definitions/game/ui/screen/screens/game/util/movement/ActionMenuHandler.d.ts +0 -2
  81. package/definitions/game/ui/screen/screens/game/util/movement/InteractionHandler.d.ts +3 -0
  82. package/definitions/game/ui/screen/screens/game/util/movement/InteractionManager.d.ts +2 -0
  83. package/definitions/game/ui/screen/screens/game/util/movement/PathQueryCache.d.ts +25 -0
  84. package/definitions/game/ui/screen/screens/menu/menus/multiplayer/ServerRow.d.ts +2 -0
  85. package/definitions/game/ui/screen/screens/menu/menus/pause/GameSettingsMenu.d.ts +3 -0
  86. package/definitions/game/utilities/trello/ITrello.d.ts +22 -0
  87. package/definitions/game/utilities/trello/Trello.d.ts +4 -7
  88. package/definitions/hosts/shared/globals.d.ts +2 -2
  89. package/definitions/server/matchmaking/globalServerDirectory.d.ts +1 -1
  90. package/definitions/test/suite/unitTests/game/CurseFoW.spec.d.ts +13 -0
  91. package/definitions/test/suite/unitTests/game/Items.spec.d.ts +13 -0
  92. package/definitions/utilities/enum/IEnum.d.ts +2 -1
  93. package/package.json +2 -2
  94. package/tsconfig.mod.base.json +1 -1
  95. /package/definitions/game/game/entity/action/usable/actions/{UsableActionsHidden.d.ts → UsableActionsSailing.d.ts} +0 -0
@@ -89,6 +89,7 @@ export default class MagicalPropertyManager extends EventEmitter.Host<IMagicalPr
89
89
  * @returns if this object has any of the given cursed magical property types
90
90
  */
91
91
  hasCursed(...types: MagicalPropertyIdentityFlat[]): boolean;
92
+ private checkSupertypeCurseState;
92
93
  /**
93
94
  * @returns whether the given type of magical property is present on this object
94
95
  */
@@ -83,7 +83,11 @@ declare enum MagicalPropertyType {
83
83
  /** Adds bonus durability to an item */
84
84
  Persistence_MaxDurability = 30,
85
85
  /** Adds a chance in which an item does reduce in decay when passing a turn */
86
- Perpetuity_DecayLossChance = 31
86
+ Perpetuity_DecayLossChance = 31,
87
+ /** Increases the human luck multiplier while equipped */
88
+ Fortune_Luck = 32,
89
+ /** Reduces curse rate while equipped */
90
+ Warding_CurseReduction = 33
87
91
  }
88
92
  export default MagicalPropertyType;
89
93
  export declare enum MagicalPropertyStat {
@@ -14,7 +14,7 @@ import MilestoneDefinition from "@wayward/game/game/milestones/MilestoneDefiniti
14
14
  declare const _default: (() => MilestoneDefinition) & {
15
15
  readonly id: <TYPE extends DoctorType>(type: TYPE, ...params: IDoctorId[TYPE]) => `${TYPE}:${string}`;
16
16
  readonly getStatuses: () => StatusType[];
17
- readonly getCures: (status: StatusType) => (`method:${string}` | `item:${string}`)[];
17
+ readonly getCures: (status: StatusType) => (`item:${string}` | `method:${string}`)[];
18
18
  readonly translate: (id: DoctorId) => import("../../../language/impl/TranslationImpl").default;
19
19
  readonly isDiscovered: <TYPE extends DoctorType>(type: TYPE, ...params: IDoctorId[TYPE]) => boolean;
20
20
  readonly translateCuresList: (status: StatusType) => import("../../../language/impl/TranslationImpl").default[];
@@ -29,7 +29,7 @@ declare namespace Runekeeper {
29
29
  CurseEvent = 9
30
30
  }
31
31
  type DomainName = Lowercase<keyof typeof Domain>;
32
- const DOMAINS: ("action" | "event" | "dismantle" | "craft" | "curseevent" | "skill" | "disassemble" | "killcreature" | "tamecreature" | "killnpc")[];
32
+ const DOMAINS: ("event" | "dismantle" | "action" | "craft" | "skill" | "disassemble" | "killcreature" | "tamecreature" | "killnpc" | "curseevent")[];
33
33
  type DomainData = `${DomainName}:${number}`;
34
34
  function domainName(domain: Domain | DomainData): DomainName;
35
35
  function isDiscovered(domain: DomainData): boolean;
@@ -198,7 +198,7 @@ export interface IGameOptionsPlayer {
198
198
  */
199
199
  luckMultiplier: number;
200
200
  /**
201
- * Starting curse value, added to the calculated value.
201
+ * Starting curse rate value, added to the calculated value.
202
202
  */
203
203
  initialCurse: number;
204
204
  /**
@@ -16,38 +16,38 @@ declare const map: {
16
16
  1: GameOptionsIcon.Crafting;
17
17
  2: GameOptionsIcon.Crafting;
18
18
  3: GameOptionsIcon.Curse;
19
- 4: GameOptionsIcon.Peaceful;
20
- 5: GameOptionsIcon.Creatures;
19
+ 4: GameOptionsIcon.Curse;
20
+ 5: GameOptionsIcon.Peaceful;
21
21
  6: GameOptionsIcon.Creatures;
22
22
  7: GameOptionsIcon.Creatures;
23
23
  8: GameOptionsIcon.Creatures;
24
24
  9: GameOptionsIcon.Creatures;
25
- 10: GameOptionsIcon.Travel;
25
+ 10: GameOptionsIcon.Creatures;
26
26
  11: GameOptionsIcon.Travel;
27
- 12: GameOptionsIcon.Luck;
28
- 13: GameOptionsIcon.Weight;
29
- 14: GameOptionsIcon.Health;
30
- 15: GameOptionsIcon.Stamina;
31
- 16: GameOptionsIcon.Hunger;
32
- 17: GameOptionsIcon.Thirst;
33
- 18: GameOptionsIcon.Items;
34
- 19: GameOptionsIcon.NoItems;
35
- 20: GameOptionsIcon.Items;
27
+ 12: GameOptionsIcon.Travel;
28
+ 13: GameOptionsIcon.Luck;
29
+ 14: GameOptionsIcon.Weight;
30
+ 15: GameOptionsIcon.Health;
31
+ 16: GameOptionsIcon.Stamina;
32
+ 17: GameOptionsIcon.Hunger;
33
+ 18: GameOptionsIcon.Thirst;
34
+ 19: GameOptionsIcon.Items;
35
+ 20: GameOptionsIcon.NoItems;
36
36
  21: GameOptionsIcon.Items;
37
- 22: GameOptionsIcon.Skills;
37
+ 22: GameOptionsIcon.Items;
38
38
  23: GameOptionsIcon.Skills;
39
39
  24: GameOptionsIcon.Skills;
40
40
  25: GameOptionsIcon.Skills;
41
- 26: GameOptionsIcon.EternalDay;
42
- 27: GameOptionsIcon.EternalNight;
43
- 28: GameOptionsIcon.Time;
41
+ 26: GameOptionsIcon.Skills;
42
+ 27: GameOptionsIcon.EternalDay;
43
+ 28: GameOptionsIcon.EternalNight;
44
44
  29: GameOptionsIcon.Time;
45
45
  30: GameOptionsIcon.Time;
46
46
  31: GameOptionsIcon.Time;
47
- 32: GameOptionsIcon.Bleeding;
48
- 33: GameOptionsIcon.Poisoned;
49
- 34: GameOptionsIcon.Burned;
50
- 35: null;
47
+ 32: GameOptionsIcon.Time;
48
+ 33: GameOptionsIcon.Bleeding;
49
+ 34: GameOptionsIcon.Poisoned;
50
+ 35: GameOptionsIcon.Burned;
51
51
  36: null;
52
52
  37: null;
53
53
  38: null;
@@ -58,6 +58,7 @@ declare const map: {
58
58
  43: null;
59
59
  44: null;
60
60
  45: null;
61
+ 46: null;
61
62
  };
62
63
  export declare const customModifierToGameOptionsIconMap: Record<CustomModifierType, GameOptionsIcon | null>;
63
64
  export type CustomModifierTypeReal = keyof {
@@ -68,37 +69,38 @@ export declare const customModifierDescriptions: {
68
69
  1: CustomModifierDefinition<[]>;
69
70
  2: CustomModifierDefinition<[]>;
70
71
  3: CustomModifierDefinition<[]>;
71
- 4: CustomModifierDefinition<[]>;
72
+ 4: CustomModifierDefinition<[initialCurse: number]>;
72
73
  5: CustomModifierDefinition<[]>;
73
- 8: CustomModifierDefinition<[creature: Map<import("../../../entity/creature/ICreature").CreatureType, import("@wayward/game/game/options/IGameOptions").IGameOptionsCreature>]>;
74
- 9: CustomModifierDefinition<[aberrants: boolean]>;
75
- 6: CustomModifierDefinition<[spawnLimit: number]>;
76
- 7: CustomModifierDefinition<[rateMultiplier: number]>;
77
- 10: CustomModifierDefinition<[biome: import("../../../biome/IBiome").BiomeType]>;
78
- 11: CustomModifierDefinition<[]>;
79
- 12: CustomModifierDefinition<[luckMultiplier: number]>;
80
- 13: CustomModifierDefinition<[bonus: number]>;
81
- 14: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
74
+ 6: CustomModifierDefinition<[]>;
75
+ 9: CustomModifierDefinition<[creature: Map<import("../../../entity/creature/ICreature").CreatureType, import("@wayward/game/game/options/IGameOptions").IGameOptionsCreature>]>;
76
+ 10: CustomModifierDefinition<[aberrants: boolean]>;
77
+ 7: CustomModifierDefinition<[spawnLimit: number]>;
78
+ 8: CustomModifierDefinition<[rateMultiplier: number]>;
79
+ 11: CustomModifierDefinition<[biome: import("../../../biome/IBiome").BiomeType]>;
80
+ 12: CustomModifierDefinition<[]>;
81
+ 13: CustomModifierDefinition<[luckMultiplier: number]>;
82
+ 14: CustomModifierDefinition<[bonus: number]>;
82
83
  15: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
83
84
  16: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
84
85
  17: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
85
- 18: CustomModifierDefinition<[]>;
86
+ 18: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
86
87
  19: CustomModifierDefinition<[]>;
87
- 20: CustomModifierDefinition<[multiplier: number]>;
88
+ 20: CustomModifierDefinition<[]>;
88
89
  21: CustomModifierDefinition<[multiplier: number]>;
89
- 22: CustomModifierDefinition<[count: number]>;
90
- 23: CustomModifierDefinition<[initial: number]>;
91
- 24: CustomModifierDefinition<[multiplier: number]>;
92
- 25: CustomModifierDefinition<[skill: Map<import("../../../entity/skill/ISkills").SkillType, import("@wayward/game/game/options/IGameOptions").IGameOptionsSkill>]>;
93
- 26: CustomModifierDefinition<[]>;
90
+ 22: CustomModifierDefinition<[multiplier: number]>;
91
+ 23: CustomModifierDefinition<[count: number]>;
92
+ 24: CustomModifierDefinition<[initial: number]>;
93
+ 25: CustomModifierDefinition<[multiplier: number]>;
94
+ 26: CustomModifierDefinition<[skill: Map<import("../../../entity/skill/ISkills").SkillType, import("@wayward/game/game/options/IGameOptions").IGameOptionsSkill>]>;
94
95
  27: CustomModifierDefinition<[]>;
95
96
  28: CustomModifierDefinition<[]>;
96
- 29: CustomModifierDefinition<[initial: number]>;
97
- 30: CustomModifierDefinition<[length: number]>;
98
- 31: CustomModifierDefinition<[percent: number]>;
99
- 32: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
97
+ 29: CustomModifierDefinition<[]>;
98
+ 30: CustomModifierDefinition<[initial: number]>;
99
+ 31: CustomModifierDefinition<[length: number]>;
100
+ 32: CustomModifierDefinition<[percent: number]>;
100
101
  33: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
101
102
  34: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
103
+ 35: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
102
104
  };
103
105
  export type CustomModifierArgs = {
104
106
  [TYPE in CustomModifierTypeReal]: ((typeof customModifierDescriptions)[TYPE] extends CustomModifierDefinition<infer ARGS> ? ARGS : never);
@@ -18,48 +18,49 @@ export declare enum CustomModifierType {
18
18
  RecipesNone = 1,
19
19
  RecipesAll = 2,
20
20
  NoCurseEvents = 3,
21
- Peaceful = 4,
22
- FearlessCreatures = 5,
23
- SpawnLimit = 6,
24
- SpawnRate = 7,
25
- Creatures = 8,
26
- OtherCreatures = 9,
27
- StartingBiome = 10,
28
- NoTravelEffects = 11,
29
- Luck = 12,
30
- Strength = 13,
31
- Health = 14,
32
- Stamina = 15,
33
- Hunger = 16,
34
- Thirst = 17,
35
- TileContainers = 18,
36
- NoStartingItems = 19,
37
- ItemDurability = 20,
38
- ItemDecay = 21,
39
- StartingSkills = 22,
40
- GlobalInitialSkillsValue = 23,
41
- GlobalSkillGainMultiplier = 24,
42
- Skills = 25,
43
- EternalDay = 26,
44
- EternalNight = 27,
45
- FrozenTime = 28,
46
- InitialTime = 29,
47
- DayLength = 30,
48
- DayPercent = 31,
49
- Bleeding = 32,
50
- Poisoned = 33,
51
- Burned = 34,
52
- SpecificCreatureAlwaysSpawns = 35,
53
- SpecificCreatureSpawningDisabled = 36,
54
- SpecificCreatureSpawns = 37,
55
- StatInitial = 38,
56
- StatMax = 39,
57
- StatMultiplier = 40,
58
- SpecificSkillInitial = 41,
59
- SpecificSkillGainMultiplier = 42,
60
- StatusInitial = 43,
61
- StatusUntreatable = 44,
62
- StatusPassChanceMultiplier = 45
21
+ InitialCurse = 4,
22
+ Peaceful = 5,
23
+ FearlessCreatures = 6,
24
+ SpawnLimit = 7,
25
+ SpawnRate = 8,
26
+ Creatures = 9,
27
+ OtherCreatures = 10,
28
+ StartingBiome = 11,
29
+ NoTravelEffects = 12,
30
+ Luck = 13,
31
+ Strength = 14,
32
+ Health = 15,
33
+ Stamina = 16,
34
+ Hunger = 17,
35
+ Thirst = 18,
36
+ TileContainers = 19,
37
+ NoStartingItems = 20,
38
+ ItemDurability = 21,
39
+ ItemDecay = 22,
40
+ StartingSkills = 23,
41
+ GlobalInitialSkillsValue = 24,
42
+ GlobalSkillGainMultiplier = 25,
43
+ Skills = 26,
44
+ EternalDay = 27,
45
+ EternalNight = 28,
46
+ FrozenTime = 29,
47
+ InitialTime = 30,
48
+ DayLength = 31,
49
+ DayPercent = 32,
50
+ Bleeding = 33,
51
+ Poisoned = 34,
52
+ Burned = 35,
53
+ SpecificCreatureAlwaysSpawns = 36,
54
+ SpecificCreatureSpawningDisabled = 37,
55
+ SpecificCreatureSpawns = 38,
56
+ StatInitial = 39,
57
+ StatMax = 40,
58
+ StatMultiplier = 41,
59
+ SpecificSkillInitial = 42,
60
+ SpecificSkillGainMultiplier = 43,
61
+ StatusInitial = 44,
62
+ StatusUntreatable = 45,
63
+ StatusPassChanceMultiplier = 46
63
64
  }
64
65
  export interface CustomModifierTranslationGroup {
65
66
  label: Translation;
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright 2011-2025 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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
12
+ declare const _default: CustomModifierDefinition<[initialCurse: number]>;
13
+ export default _default;
@@ -66,7 +66,6 @@ export declare const enumRefTypes: {
66
66
  11: {
67
67
  Bow: ItemType.Bow;
68
68
  None: ItemType.None;
69
- String: ItemType.String;
70
69
  HideGlue: ItemType.HideGlue;
71
70
  AnimalSkull: ItemType.AnimalSkull;
72
71
  GraniteArrow: ItemType.GraniteArrow;
@@ -131,6 +130,7 @@ export declare const enumRefTypes: {
131
130
  GraniteSpear: ItemType.GraniteSpear;
132
131
  Stones: ItemType.Stones;
133
132
  GraniteWall: ItemType.GraniteWall;
133
+ String: ItemType.String;
134
134
  StrippedBark: ItemType.StrippedBark;
135
135
  Leather: ItemType.Leather;
136
136
  Tannin: ItemType.Tannin;
@@ -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 | IteratorObject<Island> | Player[] | Array<string | ActionType> | EquipType[] | readonly string[];
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;
@@ -9,6 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  declare enum Riddle {
12
- Treasure1 = 0
12
+ Treasure1 = 0,
13
+ DrawnMap = 1
13
14
  }
14
15
  export default Riddle;
@@ -11,4 +11,4 @@
11
11
  import type Island from "@wayward/game/game/island/Island";
12
12
  import type { Random } from "@wayward/utilities/random/Random";
13
13
  import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
14
- export default function (island: Island, x: number, y: number, z: number, random: Random): TranslationImpl;
14
+ export default function (island: Island, x: number, y: number, z: number, random?: Random): TranslationImpl;
@@ -32,6 +32,7 @@ export interface ITileEventDescription extends IObjectDescription, IModdable, IC
32
32
  lightSource?: boolean;
33
33
  lightColor?: IRGB;
34
34
  damage?: number;
35
+ continuousDamage?: number;
35
36
  durability?: number;
36
37
  isWaste?: boolean;
37
38
  renderBelowItems?: boolean;
@@ -469,6 +469,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
469
469
  */
470
470
  getPreferredAdjacentTile(human: Human, clientSide: boolean): Tile | undefined;
471
471
  tilesInRange(type: DistanceType, range: number, includeCurrentTile?: boolean): Tile[];
472
+ squareSpiralOutwards(includeCurrentTile?: boolean): Generator<Tile>;
472
473
  openTileInRange(type: DistanceType, range: number, includeCurrentTile?: boolean, excludeWater?: boolean): Tile | undefined;
473
474
  /**
474
475
  * Array version of tilesAround
@@ -172,7 +172,6 @@ declare const dictionaryMap: {
172
172
  66: {
173
173
  Bow: ItemType.Bow;
174
174
  None: ItemType.None;
175
- String: ItemType.String;
176
175
  HideGlue: ItemType.HideGlue;
177
176
  AnimalSkull: ItemType.AnimalSkull;
178
177
  GraniteArrow: ItemType.GraniteArrow;
@@ -237,6 +236,7 @@ declare const dictionaryMap: {
237
236
  GraniteSpear: ItemType.GraniteSpear;
238
237
  Stones: ItemType.Stones;
239
238
  GraniteWall: ItemType.GraniteWall;
239
+ String: ItemType.String;
240
240
  StrippedBark: ItemType.StrippedBark;
241
241
  Leather: ItemType.Leather;
242
242
  Tannin: ItemType.Tannin;
@@ -1033,7 +1033,6 @@ declare const dictionaryMap: {
1033
1033
  67: {
1034
1034
  Bow: ItemType.Bow;
1035
1035
  None: ItemType.None;
1036
- String: ItemType.String;
1037
1036
  HideGlue: ItemType.HideGlue;
1038
1037
  AnimalSkull: ItemType.AnimalSkull;
1039
1038
  GraniteArrow: ItemType.GraniteArrow;
@@ -1098,6 +1097,7 @@ declare const dictionaryMap: {
1098
1097
  GraniteSpear: ItemType.GraniteSpear;
1099
1098
  Stones: ItemType.Stones;
1100
1099
  GraniteWall: ItemType.GraniteWall;
1100
+ String: ItemType.String;
1101
1101
  StrippedBark: ItemType.StrippedBark;
1102
1102
  Leather: ItemType.Leather;
1103
1103
  Tannin: ItemType.Tannin;
@@ -2030,7 +2030,6 @@ export declare const strictDictionaries: {
2030
2030
  66: {
2031
2031
  Bow: ItemType.Bow;
2032
2032
  None: ItemType.None;
2033
- String: ItemType.String;
2034
2033
  HideGlue: ItemType.HideGlue;
2035
2034
  AnimalSkull: ItemType.AnimalSkull;
2036
2035
  GraniteArrow: ItemType.GraniteArrow;
@@ -2095,6 +2094,7 @@ export declare const strictDictionaries: {
2095
2094
  GraniteSpear: ItemType.GraniteSpear;
2096
2095
  Stones: ItemType.Stones;
2097
2096
  GraniteWall: ItemType.GraniteWall;
2097
+ String: ItemType.String;
2098
2098
  StrippedBark: ItemType.StrippedBark;
2099
2099
  Leather: ItemType.Leather;
2100
2100
  Tannin: ItemType.Tannin;
@@ -2891,7 +2891,6 @@ export declare const strictDictionaries: {
2891
2891
  67: {
2892
2892
  Bow: ItemType.Bow;
2893
2893
  None: ItemType.None;
2894
- String: ItemType.String;
2895
2894
  HideGlue: ItemType.HideGlue;
2896
2895
  AnimalSkull: ItemType.AnimalSkull;
2897
2896
  GraniteArrow: ItemType.GraniteArrow;
@@ -2956,6 +2955,7 @@ export declare const strictDictionaries: {
2956
2955
  GraniteSpear: ItemType.GraniteSpear;
2957
2956
  Stones: ItemType.Stones;
2958
2957
  GraniteWall: ItemType.GraniteWall;
2958
+ String: ItemType.String;
2959
2959
  StrippedBark: ItemType.StrippedBark;
2960
2960
  Leather: ItemType.Leather;
2961
2961
  Tannin: ItemType.Tannin;