kolmafia 5.29312.0 → 5.29314.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.29314.0
|
|
2
|
+
// Generated by KoLmafia r29314 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);
|
|
@@ -417,6 +417,7 @@ export function monsterLevelAdjustment(): number;
|
|
|
417
417
|
export function monsterManuelText(monster: Monster): string;
|
|
418
418
|
export function monsterModifier(effect: Effect, modifier: string): Monster;
|
|
419
419
|
export function monsterModifier(effect: Effect, modifier: Modifier): Monster;
|
|
420
|
+
export function monsterName(): string;
|
|
420
421
|
export function monsterPhylum(monster?: Monster): Phylum;
|
|
421
422
|
export function monsterPockets(): { [key: number]: boolean };
|
|
422
423
|
export function monsterTrackerCopies(tracker: string): number;
|
package/index.js
CHANGED
|
@@ -332,6 +332,7 @@ module.exports.monsterInitiative = function monsterInitiative() { throw new Erro
|
|
|
332
332
|
module.exports.monsterLevelAdjustment = function monsterLevelAdjustment() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
333
333
|
module.exports.monsterManuelText = function monsterManuelText() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
334
334
|
module.exports.monsterModifier = function monsterModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
335
|
+
module.exports.monsterName = function monsterName() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
335
336
|
module.exports.monsterPhylum = function monsterPhylum() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
336
337
|
module.exports.monsterPockets = function monsterPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
337
338
|
module.exports.monsterTrackerCopies = function monsterTrackerCopies() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|