kolmafia 5.28365.0 → 5.28367.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.28367.0
|
|
2
|
+
// Generated by KoLmafia r28367 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;
|
|
@@ -557,6 +557,8 @@ export function runaway(): string;
|
|
|
557
557
|
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
|
+
export function sellCost(master: Coinmaster, item: Item): { [item: string]: number };
|
|
561
|
+
export function sellCost(master: Coinmaster, skill: Skill): { [item: string]: number };
|
|
560
562
|
export function sellPrice(master: Coinmaster, item: Item): number;
|
|
561
563
|
export function sellPrice(master: Coinmaster, skill: Skill): number;
|
|
562
564
|
export function sellsItem(master: Coinmaster, item: Item): boolean;
|
package/index.js
CHANGED
|
@@ -445,6 +445,7 @@ module.exports.runaway = function runaway() { throw new Error(`Cannot access the
|
|
|
445
445
|
module.exports.sausageGoblinChance = function sausageGoblinChance() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
446
446
|
module.exports.scrapPockets = function scrapPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
447
447
|
module.exports.sell = function sell() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
448
|
+
module.exports.sellCost = function sellCost() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
448
449
|
module.exports.sellPrice = function sellPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
449
450
|
module.exports.sellsItem = function sellsItem() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
450
451
|
module.exports.sellsSkill = function sellsSkill() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|