kolmafia 5.27623.0 → 5.27625.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.
Files changed (2) hide show
  1. package/index.d.ts +13 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.27623.0
2
- // Generated by KoLmafia r27623 with type generator v5
1
+ // v5.27625.0
2
+ // Generated by KoLmafia r27625 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;
@@ -142,6 +142,7 @@ export function eat(arg1: number, arg2: Item): boolean;
142
142
  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
+ export function effectFact(cls: Class, path: Path, monster: Monster): Effect;
145
146
  export function effectModifier(arg: string, modifier: string): Effect;
146
147
  export function effectModifier(arg: string, modifier: Modifier): Effect;
147
148
  export function effectModifier(arg: Item, modifier: string): Effect;
@@ -178,6 +179,7 @@ export function experienceBonus(): number;
178
179
  export function expressionEval(expr: string): number;
179
180
  export function extractItems(string: string): { [item: string]: number };
180
181
  export function extractMeat(string: string): number;
182
+ export function factType(cls: Class, path: Path, monster: Monster): "none" | "effect" | "item" | "stats" | "hp" | "mp" | "meat" | "modifier";
181
183
  export function familiarEquipment(familiar: Familiar): Item;
182
184
  export function familiarEquippedEquipment(familiar: Familiar): Item;
183
185
  export function familiarWeight(familiar: Familiar): number;
@@ -329,6 +331,7 @@ export function itemDrops(): { [item: string]: number };
329
331
  export function itemDrops(arg: Monster): { [item: string]: number };
330
332
  export function itemDropsArray(): { drop: Item; rate: number; type: string; }[];
331
333
  export function itemDropsArray(arg: Monster): { drop: Item; rate: number; type: string; }[];
334
+ export function itemFact(cls: Class, path: Path, monster: Monster): Item;
332
335
  export function itemPockets(): { [key: number]: boolean };
333
336
  export function itemType(item: Item): string;
334
337
  export function joinStrings(strings: string[]): string;
@@ -472,6 +475,7 @@ export function nowToInt(): number;
472
475
  export function nowToString(dateFormatValue: string): string;
473
476
  export function npcPrice(item: Item): number;
474
477
  export function numberologyPrize(num: number): string;
478
+ export function numericFact(cls: Class, path: Path, monster: Monster): number;
475
479
  export function numericModifier(modifier: string): number;
476
480
  export function numericModifier(modifier: Modifier): number;
477
481
  export function numericModifier(arg: string, modifier: string): number;
@@ -625,6 +629,7 @@ export function steal(): string;
625
629
  export function stillsAvailable(): number;
626
630
  export function stopCounter(label: string): void;
627
631
  export function storageAmount(arg: Item): number;
632
+ export function stringFact(cls: Class, path: Path, monster: Monster): string;
628
633
  export function stringModifier(modifier: string): string;
629
634
  export function stringModifier(modifier: Modifier): string;
630
635
  export function stringModifier(arg: string, modifier: string): string;
@@ -1373,6 +1378,12 @@ export class Monster extends MafiaClass {
1373
1378
  /**
1374
1379
  * Attributes */
1375
1380
  readonly attributes: string;
1381
+ /**
1382
+ * Fact type */
1383
+ readonly factType: string;
1384
+ /**
1385
+ * Fact */
1386
+ readonly fact: string;
1376
1387
  }
1377
1388
  export class Path extends MafiaClass {
1378
1389
  static get(name: string): Path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.27623.0",
3
+ "version": "5.27625.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index",
6
6
  "types": "index",