kolmafia 5.27625.0 → 5.27626.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 +7 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.27626.0
|
|
2
|
+
// Generated by KoLmafia r27626 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;
|
|
@@ -143,6 +143,7 @@ export function eatsilent(item: Item): boolean;
|
|
|
143
143
|
export function eatsilent(arg1: Item, arg2: number): boolean;
|
|
144
144
|
export function eatsilent(arg1: number, arg2: Item): boolean;
|
|
145
145
|
export function effectFact(cls: Class, path: Path, monster: Monster): Effect;
|
|
146
|
+
export function effectFact(monster: Monster): Effect;
|
|
146
147
|
export function effectModifier(arg: string, modifier: string): Effect;
|
|
147
148
|
export function effectModifier(arg: string, modifier: Modifier): Effect;
|
|
148
149
|
export function effectModifier(arg: Item, modifier: string): Effect;
|
|
@@ -180,6 +181,7 @@ export function expressionEval(expr: string): number;
|
|
|
180
181
|
export function extractItems(string: string): { [item: string]: number };
|
|
181
182
|
export function extractMeat(string: string): number;
|
|
182
183
|
export function factType(cls: Class, path: Path, monster: Monster): "none" | "effect" | "item" | "stats" | "hp" | "mp" | "meat" | "modifier";
|
|
184
|
+
export function factType(monster: Monster): "none" | "effect" | "item" | "stats" | "hp" | "mp" | "meat" | "modifier";
|
|
183
185
|
export function familiarEquipment(familiar: Familiar): Item;
|
|
184
186
|
export function familiarEquippedEquipment(familiar: Familiar): Item;
|
|
185
187
|
export function familiarWeight(familiar: Familiar): number;
|
|
@@ -332,6 +334,7 @@ export function itemDrops(arg: Monster): { [item: string]: number };
|
|
|
332
334
|
export function itemDropsArray(): { drop: Item; rate: number; type: string; }[];
|
|
333
335
|
export function itemDropsArray(arg: Monster): { drop: Item; rate: number; type: string; }[];
|
|
334
336
|
export function itemFact(cls: Class, path: Path, monster: Monster): Item;
|
|
337
|
+
export function itemFact(monster: Monster): Item;
|
|
335
338
|
export function itemPockets(): { [key: number]: boolean };
|
|
336
339
|
export function itemType(item: Item): string;
|
|
337
340
|
export function joinStrings(strings: string[]): string;
|
|
@@ -476,6 +479,7 @@ export function nowToString(dateFormatValue: string): string;
|
|
|
476
479
|
export function npcPrice(item: Item): number;
|
|
477
480
|
export function numberologyPrize(num: number): string;
|
|
478
481
|
export function numericFact(cls: Class, path: Path, monster: Monster): number;
|
|
482
|
+
export function numericFact(monster: Monster): number;
|
|
479
483
|
export function numericModifier(modifier: string): number;
|
|
480
484
|
export function numericModifier(modifier: Modifier): number;
|
|
481
485
|
export function numericModifier(arg: string, modifier: string): number;
|
|
@@ -630,6 +634,7 @@ export function stillsAvailable(): number;
|
|
|
630
634
|
export function stopCounter(label: string): void;
|
|
631
635
|
export function storageAmount(arg: Item): number;
|
|
632
636
|
export function stringFact(cls: Class, path: Path, monster: Monster): string;
|
|
637
|
+
export function stringFact(monster: Monster): string;
|
|
633
638
|
export function stringModifier(modifier: string): string;
|
|
634
639
|
export function stringModifier(modifier: Modifier): string;
|
|
635
640
|
export function stringModifier(arg: string, modifier: string): string;
|