kolmafia 5.29372.0 → 5.29374.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 +3 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.29372.0
2
- // Generated by KoLmafia r29372 with type generator v5
1
+ // v5.29374.0
2
+ // Generated by KoLmafia r29374 with type generator v5
3
3
  export type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
4
4
  export type ModifierValueType = "boolean" | "multinumeric" | "multistring" | "none" | "numeric" | "string";
5
5
  export type CombatFilter = string | ((round: number, monster: Monster, text: string) => string);
@@ -649,6 +649,7 @@ export function skillsModifier(item: Item, modifier: string): Skill[];
649
649
  export function skillsModifier(item: Item, modifier: Modifier): Skill[];
650
650
  export function slashCount(item: Item): number;
651
651
  export function soulsauceCost(skill: Skill): number;
652
+ export function spacegatePlanetInfo(coords: string): { coords: string; name: string; description: { [key: number]: string }; env_hazards: { [key: number]: string }; elem_hazards: { [key: number]: string }; plants: string; animals: string; aliens: string; alien_item: Item; alien_item_price: number; spants: string; murderbots: string; quest_type: string; quest_stage: number; rocks_level: number; };
652
653
  export function spleenLimit(): number;
653
654
  export function splitModifiers(modifiers: string): { [modifier: string]: string };
654
655
  export function splitString(string: string, regex?: string): string[];
package/index.js CHANGED
@@ -503,6 +503,7 @@ module.exports.skillModifier = function skillModifier() { throw new Error(`Canno
503
503
  module.exports.skillsModifier = function skillsModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
504
504
  module.exports.slashCount = function slashCount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
505
505
  module.exports.soulsauceCost = function soulsauceCost() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
506
+ module.exports.spacegatePlanetInfo = function spacegatePlanetInfo() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
506
507
  module.exports.spleenLimit = function spleenLimit() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
507
508
  module.exports.splitModifiers = function splitModifiers() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
508
509
  module.exports.splitString = function splitString() { 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.29372.0",
3
+ "version": "5.29374.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",