kolmafia 5.29004.0 → 5.29006.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.
Files changed (3) hide show
  1. package/index.d.ts +6 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.29004.0
2
- // Generated by KoLmafia r29004 with type generator v5
1
+ // v5.29006.0
2
+ // Generated by KoLmafia r29006 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;
@@ -320,6 +320,10 @@ export function isNpcItem(item: Item): boolean;
320
320
  export function isOnline(name: string): boolean;
321
321
  export function isRemovable(effect: Effect): boolean;
322
322
  export function isShruggable(effect: Effect): boolean;
323
+ export function isThrifty(thing: Item): boolean;
324
+ export function isThrifty(thing: Skill): boolean;
325
+ export function isThrifty(thing: Familiar): boolean;
326
+ export function isThrifty(thing: string): boolean;
323
327
  export function isTradeable(item: Item): boolean;
324
328
  export function isTrendy(thing: Item): boolean;
325
329
  export function isTrendy(thing: Skill): boolean;
package/index.js CHANGED
@@ -263,6 +263,7 @@ module.exports.isNpcItem = function isNpcItem() { throw new Error(`Cannot access
263
263
  module.exports.isOnline = function isOnline() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
264
264
  module.exports.isRemovable = function isRemovable() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
265
265
  module.exports.isShruggable = function isShruggable() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
266
+ module.exports.isThrifty = function isThrifty() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
266
267
  module.exports.isTradeable = function isTradeable() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
267
268
  module.exports.isTrendy = function isTrendy() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
268
269
  module.exports.isUnrestricted = function isUnrestricted() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.29004.0",
3
+ "version": "5.29006.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",