kolmafia 5.28346.0 → 5.28347.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.28347.0
|
|
2
|
+
// Generated by KoLmafia r28347 with type generator v5
|
|
3
3
|
type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
|
|
4
4
|
type ModifierValueType = "boolean" | "none" | "numeric" | "string";
|
|
5
5
|
export function abort(string?: string): never;
|
|
@@ -558,7 +558,9 @@ export function sausageGoblinChance(): number;
|
|
|
558
558
|
export function scrapPockets(): { [key: number]: number };
|
|
559
559
|
export function sell(master: Coinmaster, countValue: number, itemValue: Item): boolean;
|
|
560
560
|
export function sellPrice(master: Coinmaster, item: Item): number;
|
|
561
|
+
export function sellPrice(master: Coinmaster, skill: Skill): number;
|
|
561
562
|
export function sellsItem(master: Coinmaster, item: Item): boolean;
|
|
563
|
+
export function sellsSkill(master: Coinmaster, skill: Skill): boolean;
|
|
562
564
|
export function sendFax(): void;
|
|
563
565
|
export function sessionLogs(dayCount: number): string[];
|
|
564
566
|
export function sessionLogs(player: string, dayCount: number): string[];
|
package/index.js
CHANGED
|
@@ -447,6 +447,7 @@ module.exports.scrapPockets = function scrapPockets() { throw new Error(`Cannot
|
|
|
447
447
|
module.exports.sell = function sell() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
448
448
|
module.exports.sellPrice = function sellPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
449
449
|
module.exports.sellsItem = function sellsItem() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
450
|
+
module.exports.sellsSkill = function sellsSkill() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
450
451
|
module.exports.sendFax = function sendFax() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
451
452
|
module.exports.sessionLogs = function sessionLogs() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
452
453
|
module.exports.setAutoAttack = function setAutoAttack() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|