kolmafia 5.29296.0 → 5.29298.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 +4 -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.29298.0
|
|
2
|
+
// Generated by KoLmafia r29298 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);
|
|
@@ -45,6 +45,8 @@ export function batchOpen(): void;
|
|
|
45
45
|
export function beretBuskingEffects(): { [effect: string]: number };
|
|
46
46
|
export function beretBuskingEffects(power: number, cast: number): { [effect: string]: number };
|
|
47
47
|
export function bjornifyFamiliar(familiar: Familiar): boolean;
|
|
48
|
+
export function blackAndWhiteApronKitContents(): { main_ingredient: string; main_effect: Effect; meals: { [key: number]: { [key: number]: { ingredient: Item; effect: Effect; effect_turns: number; mus: number; mys: number; mox: number; meat: number; familiar_xp: number; other: string; } } }; };
|
|
49
|
+
export function blackAndWhiteApronKitContents(path: Path, cls: Class, prevEaten: number): { main_ingredient: string; main_effect: Effect; meals: { [key: number]: { [key: number]: { ingredient: Item; effect: Effect; effect_turns: number; mus: number; mys: number; mox: number; meat: number; familiar_xp: number; other: string; } } }; };
|
|
48
50
|
export function blackMarketAvailable(): boolean;
|
|
49
51
|
export function booleanModifier(modifier: string): boolean;
|
|
50
52
|
export function booleanModifier(modifier: Modifier): boolean;
|
package/index.js
CHANGED
|
@@ -30,6 +30,7 @@ module.exports.batchClose = function batchClose() { throw new Error(`Cannot acce
|
|
|
30
30
|
module.exports.batchOpen = function batchOpen() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
31
31
|
module.exports.beretBuskingEffects = function beretBuskingEffects() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
32
32
|
module.exports.bjornifyFamiliar = function bjornifyFamiliar() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
33
|
+
module.exports.blackAndWhiteApronKitContents = function blackAndWhiteApronKitContents() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
33
34
|
module.exports.blackMarketAvailable = function blackMarketAvailable() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
34
35
|
module.exports.booleanModifier = function booleanModifier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
35
36
|
module.exports.buffedHitStat = function buffedHitStat() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|