kolmafia 5.29247.0 → 5.29248.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 +8 -2
- package/index.js +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.29248.0
|
|
2
|
+
// Generated by KoLmafia r29248 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);
|
|
@@ -411,6 +411,12 @@ export function monsterModifier(effect: Effect, modifier: string): Monster;
|
|
|
411
411
|
export function monsterModifier(effect: Effect, modifier: Modifier): Monster;
|
|
412
412
|
export function monsterPhylum(monster?: Monster): Phylum;
|
|
413
413
|
export function monsterPockets(): { [key: number]: boolean };
|
|
414
|
+
export function monsterTrackerCopies(tracker: string): number;
|
|
415
|
+
export function monsterTrackerDuration(tracker: string): number;
|
|
416
|
+
export function monsterTrackerIgnoresQueue(tracker: string): boolean;
|
|
417
|
+
export function monsterTrackerReset(tracker: string): string;
|
|
418
|
+
export function monsterTrackerType(tracker: string): string;
|
|
419
|
+
export function monsterTrackers(): string[];
|
|
414
420
|
export function moodExecute(multiplicity: number): void;
|
|
415
421
|
export function moodList(): string[];
|
|
416
422
|
export function moonLight(): number;
|
package/index.js
CHANGED
|
@@ -327,6 +327,12 @@ module.exports.monsterManuelText = function monsterManuelText() { throw new Erro
|
|
|
327
327
|
module.exports.monsterModifier = function monsterModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
328
328
|
module.exports.monsterPhylum = function monsterPhylum() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
329
329
|
module.exports.monsterPockets = function monsterPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
330
|
+
module.exports.monsterTrackerCopies = function monsterTrackerCopies() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
331
|
+
module.exports.monsterTrackerDuration = function monsterTrackerDuration() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
332
|
+
module.exports.monsterTrackerIgnoresQueue = function monsterTrackerIgnoresQueue() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
333
|
+
module.exports.monsterTrackerReset = function monsterTrackerReset() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
334
|
+
module.exports.monsterTrackerType = function monsterTrackerType() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
335
|
+
module.exports.monsterTrackers = function monsterTrackers() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
330
336
|
module.exports.moodExecute = function moodExecute() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
331
337
|
module.exports.moodList = function moodList() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
332
338
|
module.exports.moonLight = function moonLight() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|