kolmafia 5.29271.0 → 5.29273.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.29273.0
|
|
2
|
+
// Generated by KoLmafia r29273 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);
|
|
@@ -626,6 +626,7 @@ export function shopAmount(item: Item): number;
|
|
|
626
626
|
export function shopLimit(item: Item): number;
|
|
627
627
|
export function shopPrice(item: Item): number;
|
|
628
628
|
export function shrunkenHeadZombie(monster: Monster, path?: Path): string[];
|
|
629
|
+
export function shrunkenHeadZombieWeights(monster: Monster, path?: Path): { [key: string]: number };
|
|
629
630
|
export function skillModifier(type: string, modifier: string): Skill;
|
|
630
631
|
export function skillModifier(type: string, modifier: Modifier): Skill;
|
|
631
632
|
export function skillModifier(item: Item, modifier: string): Skill;
|
package/index.js
CHANGED
|
@@ -488,6 +488,7 @@ module.exports.shopAmount = function shopAmount() { throw new Error(`Cannot acce
|
|
|
488
488
|
module.exports.shopLimit = function shopLimit() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
489
489
|
module.exports.shopPrice = function shopPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
490
490
|
module.exports.shrunkenHeadZombie = function shrunkenHeadZombie() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
491
|
+
module.exports.shrunkenHeadZombieWeights = function shrunkenHeadZombieWeights() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
491
492
|
module.exports.skillModifier = function skillModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
492
493
|
module.exports.skillsModifier = function skillsModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
493
494
|
module.exports.slashCount = function slashCount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|