kolmafia 5.29149.0 → 5.29151.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.29151.0
|
|
2
|
+
// Generated by KoLmafia r29151 with type generator v5
|
|
3
3
|
type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
|
|
4
4
|
type ModifierValueType = "boolean" | "multinumeric" | "multistring" | "none" | "numeric" | "string";
|
|
5
5
|
export function abort(string?: string): never;
|
|
@@ -609,6 +609,7 @@ export function setCcs(name: string): boolean;
|
|
|
609
609
|
export function setLength(buffer: string, i: number): void;
|
|
610
610
|
export function setLocation(location: Location): void;
|
|
611
611
|
export function setProperty(nameValue: string, value: string): void;
|
|
612
|
+
export function shieldDr(item: Item): number;
|
|
612
613
|
export function shopAmount(item: Item): number;
|
|
613
614
|
export function shopLimit(item: Item): number;
|
|
614
615
|
export function shopPrice(item: Item): number;
|
package/index.js
CHANGED
|
@@ -475,6 +475,7 @@ module.exports.setCcs = function setCcs() { throw new Error(`Cannot access the K
|
|
|
475
475
|
module.exports.setLength = function setLength() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
476
476
|
module.exports.setLocation = function setLocation() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
477
477
|
module.exports.setProperty = function setProperty() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
478
|
+
module.exports.shieldDr = function shieldDr() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
478
479
|
module.exports.shopAmount = function shopAmount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
479
480
|
module.exports.shopLimit = function shopLimit() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
480
481
|
module.exports.shopPrice = function shopPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|