kolmafia 5.28084.0 → 5.28085.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 +9 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.28084.0
2
- // Generated by KoLmafia r28084 with type generator v5
1
+ // v5.28085.0
2
+ // Generated by KoLmafia r28085 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;
@@ -704,6 +704,7 @@ export function trackedBy(monster: Monster): string[];
704
704
  export function truncate(val: number): number;
705
705
  export function turnsPerCast(skill: Skill): number;
706
706
  export function turnsPlayed(): number;
707
+ export function turnsUntilForcedNoncombat(location: Location): number;
707
708
  export function twiddle(): string;
708
709
  export function unusualConstructDisc(): Item;
709
710
  export function updateCandyPrices(): void;
@@ -1171,6 +1172,12 @@ export class Location extends MafiaClass {
1171
1172
  /**
1172
1173
  * Turns spent */
1173
1174
  readonly turnsSpent: number;
1175
+ /**
1176
+ * Last noncombat turns spent */
1177
+ readonly lastNoncombatTurnsSpent: number;
1178
+ /**
1179
+ * Force noncombat */
1180
+ readonly forceNoncombat: number;
1174
1181
  /**
1175
1182
  * Kisses */
1176
1183
  readonly kisses: number;
package/index.js CHANGED
@@ -529,6 +529,7 @@ module.exports.trackedBy = function trackedBy() { throw new Error(`Cannot access
529
529
  module.exports.truncate = function truncate() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
530
530
  module.exports.turnsPerCast = function turnsPerCast() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
531
531
  module.exports.turnsPlayed = function turnsPlayed() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
532
+ module.exports.turnsUntilForcedNoncombat = function turnsUntilForcedNoncombat() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
532
533
  module.exports.twiddle = function twiddle() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
533
534
  module.exports.unusualConstructDisc = function unusualConstructDisc() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
534
535
  module.exports.updateCandyPrices = function updateCandyPrices() { 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.28084.0",
3
+ "version": "5.28085.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",