kolmafia 5.28215.0 → 5.28217.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 +6 -2
- package/index.js +4 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.28217.0
|
|
2
|
+
// Generated by KoLmafia r28217 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;
|
|
@@ -179,6 +179,10 @@ export function flushMonsterManuelCache(): boolean;
|
|
|
179
179
|
export function formField(key: string): string;
|
|
180
180
|
export function formFields(): { [key: string]: string };
|
|
181
181
|
export function formatDateTime(inFormat: string, dateTimeString: string, outFormat: string): string;
|
|
182
|
+
export function freeCooks(): number;
|
|
183
|
+
export function freeCrafts(): number;
|
|
184
|
+
export function freeMixes(): number;
|
|
185
|
+
export function freeSmiths(): number;
|
|
182
186
|
export function friarsAvailable(): boolean;
|
|
183
187
|
export function fuelCost(skill: Skill): number;
|
|
184
188
|
export function fullnessLimit(): number;
|
package/index.js
CHANGED
|
@@ -131,6 +131,10 @@ module.exports.flushMonsterManuelCache = function flushMonsterManuelCache() { th
|
|
|
131
131
|
module.exports.formField = function formField() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
132
132
|
module.exports.formFields = function formFields() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
133
133
|
module.exports.formatDateTime = function formatDateTime() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
134
|
+
module.exports.freeCooks = function freeCooks() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
135
|
+
module.exports.freeCrafts = function freeCrafts() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
136
|
+
module.exports.freeMixes = function freeMixes() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
137
|
+
module.exports.freeSmiths = function freeSmiths() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
134
138
|
module.exports.friarsAvailable = function friarsAvailable() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
135
139
|
module.exports.fuelCost = function fuelCost() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|
|
136
140
|
module.exports.fullnessLimit = function fullnessLimit() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
|