@wayward/types 2.15.3-beta.dev.20251225.1 → 2.15.3-beta.dev.20251231.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.
@@ -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;
@@ -9,5 +9,5 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import Riddle from "@wayward/game/game/riddle/Riddle";
12
- declare const riddles: Record<Riddle, string[]>;
12
+ declare const riddles: Record<Riddle, string | string[]>;
13
13
  export default riddles;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.15.3-beta.dev.20251225.1",
4
+ "version": "2.15.3-beta.dev.20251231.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",