kolmafia 5.29191.0 → 5.29194.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.29194.0
|
|
2
|
+
// Generated by KoLmafia r29194 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);
|
|
@@ -502,6 +502,7 @@ export function numericsModifier(type: string, modifier: Modifier): number[];
|
|
|
502
502
|
export function numericsModifier(item: Item, modifier: string): number[];
|
|
503
503
|
export function numericsModifier(item: Item, modifier: Modifier): number[];
|
|
504
504
|
export function outfit(outfit: string): boolean;
|
|
505
|
+
export function outfitNameWithCodpieceGems(originalOutfitName: string): string;
|
|
505
506
|
export function outfitPieces(outfit: string): Item[];
|
|
506
507
|
export function outfitTattoo(outfit: string): string;
|
|
507
508
|
export function outfitTreats(outfit: string): { [item: string]: number };
|
package/index.js
CHANGED
|
@@ -398,6 +398,7 @@ module.exports.numericFact = function numericFact() { throw new Error(`Cannot ac
|
|
|
398
398
|
module.exports.numericModifier = function numericModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
399
399
|
module.exports.numericsModifier = function numericsModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
400
400
|
module.exports.outfit = function outfit() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
401
|
+
module.exports.outfitNameWithCodpieceGems = function outfitNameWithCodpieceGems() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
401
402
|
module.exports.outfitPieces = function outfitPieces() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
402
403
|
module.exports.outfitTattoo = function outfitTattoo() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
403
404
|
module.exports.outfitTreats = function outfitTreats() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|