kolmafia 5.28096.0 → 5.28098.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 +3 -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.28098.0
|
|
2
|
+
// Generated by KoLmafia r28098 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;
|
|
@@ -209,6 +209,7 @@ export function getGoals(): string[];
|
|
|
209
209
|
export function getIgnoreZoneWarnings(): boolean;
|
|
210
210
|
export function getIngredients(item: Item): { [item: string]: number };
|
|
211
211
|
export function getInventory(): { [item: string]: number };
|
|
212
|
+
export function getItemsHash(itemsSource: "inventory" | "closet" | "storage" | "display" | "shop"): number;
|
|
212
213
|
export function getLocationMonsters(location: Location): { [monster: string]: boolean };
|
|
213
214
|
export function getLocketMonsters(): { [monster: string]: boolean };
|
|
214
215
|
export function getMonsterMapping(path?: string): { [monster: string]: Monster };
|
package/index.js
CHANGED
|
@@ -161,6 +161,7 @@ module.exports.getGoals = function getGoals() { throw new Error(`Cannot access t
|
|
|
161
161
|
module.exports.getIgnoreZoneWarnings = function getIgnoreZoneWarnings() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
162
162
|
module.exports.getIngredients = function getIngredients() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
163
163
|
module.exports.getInventory = function getInventory() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
164
|
+
module.exports.getItemsHash = function getItemsHash() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
164
165
|
module.exports.getLocationMonsters = function getLocationMonsters() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
165
166
|
module.exports.getLocketMonsters = function getLocketMonsters() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
166
167
|
module.exports.getMonsterMapping = function getMonsterMapping() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|