kolmafia 5.28042.0 → 5.28044.0
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/index.d.ts +3 -2
- package/index.js +1 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.28044.0
|
|
2
|
+
// Generated by KoLmafia r28044 with type generator v5
|
|
3
3
|
type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
|
|
4
4
|
type ModifierValueType = "boolean" | "none" | "numeric" | "string";
|
|
5
5
|
export function abort(string?: string): never;
|
|
@@ -665,6 +665,7 @@ export function toJson(val: any): string;
|
|
|
665
665
|
export function toLocation(value: string): Location;
|
|
666
666
|
export function toLocation(value: number): Location;
|
|
667
667
|
export function toLowerCase(string: string): string;
|
|
668
|
+
export function toModifier(name: string): Modifier;
|
|
668
669
|
export function toMonster(name: string): Monster;
|
|
669
670
|
export function toMonster(id: number): Monster;
|
|
670
671
|
export function toPath(value: string): Path;
|
package/index.js
CHANGED
|
@@ -503,6 +503,7 @@ module.exports.toItem = function toItem() { throw new Error(`Cannot access the K
|
|
|
503
503
|
module.exports.toJson = function toJson() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
504
504
|
module.exports.toLocation = function toLocation() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
505
505
|
module.exports.toLowerCase = function toLowerCase() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
506
|
+
module.exports.toModifier = function toModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
506
507
|
module.exports.toMonster = function toMonster() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
507
508
|
module.exports.toPath = function toPath() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
508
509
|
module.exports.toPhylum = function toPhylum() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|