kolmafia 5.27935.0 → 5.27937.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 +4 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.27935.0
2
- // Generated by KoLmafia r27935 with type generator v5
1
+ // v5.27937.0
2
+ // Generated by KoLmafia r27937 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;
@@ -103,6 +103,8 @@ export function currentMcd(): number;
103
103
  export function currentPvpStances(): { [key: string]: number };
104
104
  export function currentRadSickness(): number;
105
105
  export function currentRound(): number;
106
+ export function curse(itemId: Item, target: string, message?: string): boolean;
107
+ export function curse(quantity: number, itemId: Item, target: string, message: string): boolean;
106
108
  export function dadSeaMonkeeWeakness(round: number): Element;
107
109
  export function dailySpecial(): Item;
108
110
  export function damageAbsorptionPercent(): number;
package/index.js CHANGED
@@ -71,6 +71,7 @@ module.exports.currentMcd = function currentMcd() { throw new Error(`Cannot acce
71
71
  module.exports.currentPvpStances = function currentPvpStances() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
72
72
  module.exports.currentRadSickness = function currentRadSickness() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
73
73
  module.exports.currentRound = function currentRound() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
74
+ module.exports.curse = function curse() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
74
75
  module.exports.dadSeaMonkeeWeakness = function dadSeaMonkeeWeakness() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
75
76
  module.exports.dailySpecial = function dailySpecial() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
76
77
  module.exports.damageAbsorptionPercent = function damageAbsorptionPercent() { 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.27935.0",
3
+ "version": "5.27937.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",