kolmafia 5.29387.0 → 5.29389.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 +5 -2
- package/index.js +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.29389.0
|
|
2
|
+
// Generated by KoLmafia r29389 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);
|
|
@@ -21,6 +21,7 @@ export function alliedRadio(request: string): boolean;
|
|
|
21
21
|
export function appearanceRates(location: Location, includeQueue?: boolean): { [monster: string]: number };
|
|
22
22
|
export function append(buffer: string, s: string): string;
|
|
23
23
|
export function appendBufferToFile(buffer: string, filename: string): boolean;
|
|
24
|
+
export function ascensionSeedProperties(seed: number): { [key: string]: string };
|
|
24
25
|
export function attack(): string;
|
|
25
26
|
export function autosell(item: Item, count: number): boolean;
|
|
26
27
|
export function autosell(count: number, item: Item): boolean;
|
|
@@ -176,6 +177,7 @@ export function equip(familiar: Familiar, item: Item): boolean;
|
|
|
176
177
|
export function equipAllFamiliars(): boolean;
|
|
177
178
|
export function equippedAmount(item: Item, includeAllFamiliars?: boolean): number;
|
|
178
179
|
export function equippedItem(slot: Slot): Item;
|
|
180
|
+
export function estimatedAscensionSeedPossibilities(): number;
|
|
179
181
|
export function eudora(): string;
|
|
180
182
|
export function eudora(newEudora: string): boolean;
|
|
181
183
|
export function eudoraItem(): Item;
|
|
@@ -554,6 +556,7 @@ export function pocketStats(pocket: number): { [stat: string]: number };
|
|
|
554
556
|
export function poemPockets(): { [key: number]: number };
|
|
555
557
|
export function portableLaughingStockDrops(maxFights: number): { [key: number]: Item };
|
|
556
558
|
export function portableLaughingStockDrops(cls: Class, path: Path, day: number, minFights: number, maxFights: number): { [key: number]: Item };
|
|
559
|
+
export function possibleAscensionSeeds(): { [key: number]: number };
|
|
557
560
|
export function potentialPockets(monster: Monster): { [key: number]: number };
|
|
558
561
|
export function potentialPockets(effect: Effect): { [key: number]: number };
|
|
559
562
|
export function potentialPockets(item: Item): { [key: number]: number };
|
package/index.js
CHANGED
|
@@ -11,6 +11,7 @@ module.exports.alliedRadio = function alliedRadio() { throw new Error(`Cannot ac
|
|
|
11
11
|
module.exports.appearanceRates = function appearanceRates() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
12
12
|
module.exports.append = function append() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
13
13
|
module.exports.appendBufferToFile = function appendBufferToFile() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
14
|
+
module.exports.ascensionSeedProperties = function ascensionSeedProperties() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
14
15
|
module.exports.attack = function attack() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
15
16
|
module.exports.autosell = function autosell() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
16
17
|
module.exports.autosellPrice = function autosellPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
@@ -121,6 +122,7 @@ module.exports.equip = function equip() { throw new Error(`Cannot access the KoL
|
|
|
121
122
|
module.exports.equipAllFamiliars = function equipAllFamiliars() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
122
123
|
module.exports.equippedAmount = function equippedAmount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
123
124
|
module.exports.equippedItem = function equippedItem() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
125
|
+
module.exports.estimatedAscensionSeedPossibilities = function estimatedAscensionSeedPossibilities() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
124
126
|
module.exports.eudora = function eudora() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
125
127
|
module.exports.eudoraItem = function eudoraItem() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
126
128
|
module.exports.everyCardName = function everyCardName() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
@@ -438,6 +440,7 @@ module.exports.pocketScrap = function pocketScrap() { throw new Error(`Cannot ac
|
|
|
438
440
|
module.exports.pocketStats = function pocketStats() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
439
441
|
module.exports.poemPockets = function poemPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
440
442
|
module.exports.portableLaughingStockDrops = function portableLaughingStockDrops() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
443
|
+
module.exports.possibleAscensionSeeds = function possibleAscensionSeeds() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
441
444
|
module.exports.potentialPockets = function potentialPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
442
445
|
module.exports.preValidateAdventure = function preValidateAdventure() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
443
446
|
module.exports.prepareForAdventure = function prepareForAdventure() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|