kolmafia 5.27891.0 → 5.27894.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 (3) hide show
  1. package/index.d.ts +17 -2
  2. package/index.js +578 -0
  3. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.27891.0
2
- // Generated by KoLmafia r27891 with type generator v5
1
+ // v5.27894.0
2
+ // Generated by KoLmafia r27894 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;
@@ -1615,6 +1615,21 @@ export class Vykea extends MafiaClass {
1615
1615
  * Attack element */
1616
1616
  readonly attackElement: Element;
1617
1617
  }
1618
+ export type AfterAdventureScript = () => void;
1619
+ export type BeforePVPScript = () => void;
1620
+ export type BetweenBattleScript = () => void;
1621
+ export type BuyScript = (item: string, quantity: string, ingredientLevel: string, defaultBuy: string) => boolean;
1622
+ export type ChatPlayerScript = (playerName: string, playerId: string, channel: string) => void;
1623
+ export type ChatbotScript = (sender: string, content: string, channel?: string) => void;
1624
+ export type ChoiceAdventureScript = (choiceNumber: number, responseText: string) => void;
1625
+ export type ConsultScript = (round: number, monster: Monster, responseText: string) => void;
1626
+ export type CounterScript = (label: string, turnsRemaining: string) => boolean;
1627
+ export type FamiliarScript = () => boolean;
1628
+ export type KingLiberatedScript = () => void;
1629
+ export type PostAscensionScript = () => void;
1630
+ export type PreAscensionScript = () => void;
1631
+ export type RecoveryScript = (type: "HP" | "MP", needed: number) => boolean;
1632
+ export type SpadingScript = (event: string, meta: string, responseText: string) => void;
1618
1633
  declare class Storage {
1619
1634
  /**
1620
1635
  * Returns the number of key/value pairs.
package/index.js ADDED
@@ -0,0 +1,578 @@
1
+ const warn = () => { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); }
2
+ module.exports.sessionStorage = {};
3
+ module.exports.abort = warn;
4
+ module.exports.absorbedMonsters = warn;
5
+ module.exports.addItemCondition = warn;
6
+ module.exports.adv1 = warn;
7
+ module.exports.advCost = warn;
8
+ module.exports.adventure = warn;
9
+ module.exports.allMonstersWithId = warn;
10
+ module.exports.allNormalOutfits = warn;
11
+ module.exports.appearanceRates = warn;
12
+ module.exports.append = warn;
13
+ module.exports.attack = warn;
14
+ module.exports.autosell = warn;
15
+ module.exports.autosellPrice = warn;
16
+ module.exports.availableAmount = warn;
17
+ module.exports.availableChoiceOptions = warn;
18
+ module.exports.availableChoiceSelectInputs = warn;
19
+ module.exports.availableChoiceTextInputs = warn;
20
+ module.exports.availablePocket = warn;
21
+ module.exports.banishedBy = warn;
22
+ module.exports.batchClose = warn;
23
+ module.exports.batchOpen = warn;
24
+ module.exports.bjornifyFamiliar = warn;
25
+ module.exports.blackMarketAvailable = warn;
26
+ module.exports.booleanModifier = warn;
27
+ module.exports.buffedHitStat = warn;
28
+ module.exports.bufferToFile = warn;
29
+ module.exports.buy = warn;
30
+ module.exports.buyPrice = warn;
31
+ module.exports.buyUsingStorage = warn;
32
+ module.exports.buysItem = warn;
33
+ module.exports.canAdventure = warn;
34
+ module.exports.canDrink = warn;
35
+ module.exports.canEat = warn;
36
+ module.exports.canEquip = warn;
37
+ module.exports.canFaxbot = warn;
38
+ module.exports.canInteract = warn;
39
+ module.exports.canStillSteal = warn;
40
+ module.exports.canadiaAvailable = warn;
41
+ module.exports.candyForTier = warn;
42
+ module.exports.ceil = warn;
43
+ module.exports.changeMcd = warn;
44
+ module.exports.charAt = warn;
45
+ module.exports.chatClan = warn;
46
+ module.exports.chatMacro = warn;
47
+ module.exports.chatNotify = warn;
48
+ module.exports.chatPrivate = warn;
49
+ module.exports.chew = warn;
50
+ module.exports.choiceFollowsFight = warn;
51
+ module.exports.classModifier = warn;
52
+ module.exports.clear = warn;
53
+ module.exports.clearBoozeHelper = warn;
54
+ module.exports.clearFoodHelper = warn;
55
+ module.exports.cliExecute = warn;
56
+ module.exports.cliExecuteOutput = warn;
57
+ module.exports.closetAmount = warn;
58
+ module.exports.combatManaCostModifier = warn;
59
+ module.exports.combatRateModifier = warn;
60
+ module.exports.combatSkillAvailable = warn;
61
+ module.exports.concoctionPrice = warn;
62
+ module.exports.containsText = warn;
63
+ module.exports.council = warn;
64
+ module.exports.count = warn;
65
+ module.exports.craft = warn;
66
+ module.exports.craftType = warn;
67
+ module.exports.creatableAmount = warn;
68
+ module.exports.creatableTurns = warn;
69
+ module.exports.create = warn;
70
+ module.exports.currentHitStat = warn;
71
+ module.exports.currentMcd = warn;
72
+ module.exports.currentPvpStances = warn;
73
+ module.exports.currentRadSickness = warn;
74
+ module.exports.currentRound = warn;
75
+ module.exports.dadSeaMonkeeWeakness = warn;
76
+ module.exports.dailySpecial = warn;
77
+ module.exports.damageAbsorptionPercent = warn;
78
+ module.exports.damageReduction = warn;
79
+ module.exports.dartPartsToSkills = warn;
80
+ module.exports.dartSkillsToParts = warn;
81
+ module.exports.dateToTimestamp = warn;
82
+ module.exports.daycount = warn;
83
+ module.exports.debugprint = warn;
84
+ module.exports.descToEffect = warn;
85
+ module.exports.descToItem = warn;
86
+ module.exports.disable = warn;
87
+ module.exports.dispensaryAvailable = warn;
88
+ module.exports.displayAmount = warn;
89
+ module.exports.drink = warn;
90
+ module.exports.drinksilent = warn;
91
+ module.exports.dump = warn;
92
+ module.exports.eat = warn;
93
+ module.exports.eatsilent = warn;
94
+ module.exports.effectFact = warn;
95
+ module.exports.effectModifier = warn;
96
+ module.exports.effectPockets = warn;
97
+ module.exports.eightBitPoints = warn;
98
+ module.exports.elementalResistance = warn;
99
+ module.exports.emptyCloset = warn;
100
+ module.exports.enable = warn;
101
+ module.exports.endsWith = warn;
102
+ module.exports.enthroneFamiliar = warn;
103
+ module.exports.entityDecode = warn;
104
+ module.exports.entityEncode = warn;
105
+ module.exports.equip = warn;
106
+ module.exports.equipAllFamiliars = warn;
107
+ module.exports.equippedAmount = warn;
108
+ module.exports.equippedItem = warn;
109
+ module.exports.eudora = warn;
110
+ module.exports.eudoraItem = warn;
111
+ module.exports.everyCardName = warn;
112
+ module.exports.expectedColdMedicineCabinet = warn;
113
+ module.exports.expectedDamage = warn;
114
+ module.exports.experienceBonus = warn;
115
+ module.exports.expressionEval = warn;
116
+ module.exports.extractItems = warn;
117
+ module.exports.extractMeat = warn;
118
+ module.exports.factType = warn;
119
+ module.exports.familiarEquipment = warn;
120
+ module.exports.familiarEquippedEquipment = warn;
121
+ module.exports.familiarWeight = warn;
122
+ module.exports.favoriteFamiliars = warn;
123
+ module.exports.faxbot = warn;
124
+ module.exports.fightFollowsChoice = warn;
125
+ module.exports.fileToArray = warn;
126
+ module.exports.fileToBuffer = warn;
127
+ module.exports.fileToMap = warn;
128
+ module.exports.floor = warn;
129
+ module.exports.floristAvailable = warn;
130
+ module.exports.flushMonsterManuelCache = warn;
131
+ module.exports.formField = warn;
132
+ module.exports.formFields = warn;
133
+ module.exports.formatDateTime = warn;
134
+ module.exports.friarsAvailable = warn;
135
+ module.exports.fuelCost = warn;
136
+ module.exports.fullnessLimit = warn;
137
+ module.exports.gamedayToInt = warn;
138
+ module.exports.gamedayToString = warn;
139
+ module.exports.gametimeToInt = warn;
140
+ module.exports.getAllProperties = warn;
141
+ module.exports.getAutoAttack = warn;
142
+ module.exports.getAutumnatonLocations = warn;
143
+ module.exports.getCampground = warn;
144
+ module.exports.getCcsAction = warn;
145
+ module.exports.getChateau = warn;
146
+ module.exports.getClanId = warn;
147
+ module.exports.getClanLounge = warn;
148
+ module.exports.getClanName = warn;
149
+ module.exports.getClanRumpus = warn;
150
+ module.exports.getCloset = warn;
151
+ module.exports.getCounter = warn;
152
+ module.exports.getCounters = warn;
153
+ module.exports.getCustomOutfits = warn;
154
+ module.exports.getDisplay = warn;
155
+ module.exports.getDwelling = warn;
156
+ module.exports.getFishingLocations = warn;
157
+ module.exports.getFloristPlants = warn;
158
+ module.exports.getFreePulls = warn;
159
+ module.exports.getFuel = warn;
160
+ module.exports.getGoals = warn;
161
+ module.exports.getIgnoreZoneWarnings = warn;
162
+ module.exports.getIngredients = warn;
163
+ module.exports.getInventory = warn;
164
+ module.exports.getLocationMonsters = warn;
165
+ module.exports.getLocketMonsters = warn;
166
+ module.exports.getMonsterMapping = warn;
167
+ module.exports.getMonsters = warn;
168
+ module.exports.getMoods = warn;
169
+ module.exports.getOutfits = warn;
170
+ module.exports.getPath = warn;
171
+ module.exports.getPathFull = warn;
172
+ module.exports.getPathVariables = warn;
173
+ module.exports.getPermedSkills = warn;
174
+ module.exports.getPlayerId = warn;
175
+ module.exports.getPlayerName = warn;
176
+ module.exports.getPower = warn;
177
+ module.exports.getProperty = warn;
178
+ module.exports.getRelated = warn;
179
+ module.exports.getRevision = warn;
180
+ module.exports.getShop = warn;
181
+ module.exports.getShopLog = warn;
182
+ module.exports.getStackTrace = warn;
183
+ module.exports.getStash = warn;
184
+ module.exports.getStorage = warn;
185
+ module.exports.getVersion = warn;
186
+ module.exports.getWorkshed = warn;
187
+ module.exports.getZapWand = warn;
188
+ module.exports.gitAtHead = warn;
189
+ module.exports.gitExists = warn;
190
+ module.exports.gitInfo = warn;
191
+ module.exports.gitList = warn;
192
+ module.exports.gnomadsAvailable = warn;
193
+ module.exports.goalExists = warn;
194
+ module.exports.groupString = warn;
195
+ module.exports.guildAvailable = warn;
196
+ module.exports.guildStoreAvailable = warn;
197
+ module.exports.handlingChoice = warn;
198
+ module.exports.hasQueuedCommands = warn;
199
+ module.exports.haveBartender = warn;
200
+ module.exports.haveChef = warn;
201
+ module.exports.haveDisplay = warn;
202
+ module.exports.haveEffect = warn;
203
+ module.exports.haveEquipped = warn;
204
+ module.exports.haveFamiliar = warn;
205
+ module.exports.haveMushroomPlot = warn;
206
+ module.exports.haveOutfit = warn;
207
+ module.exports.haveServant = warn;
208
+ module.exports.haveShop = warn;
209
+ module.exports.haveSkill = warn;
210
+ module.exports.hedgeMaze = warn;
211
+ module.exports.heist = warn;
212
+ module.exports.heistTargets = warn;
213
+ module.exports.hermit = warn;
214
+ module.exports.hiddenTempleUnlocked = warn;
215
+ module.exports.hippyStoneBroken = warn;
216
+ module.exports.hippyStoreAvailable = warn;
217
+ module.exports.historicalAge = warn;
218
+ module.exports.historicalPrice = warn;
219
+ module.exports.holiday = warn;
220
+ module.exports.hpCost = warn;
221
+ module.exports.imageToMonster = warn;
222
+ module.exports.inBadMoon = warn;
223
+ module.exports.inCasual = warn;
224
+ module.exports.inHardcore = warn;
225
+ module.exports.inMoxieSign = warn;
226
+ module.exports.inMultiFight = warn;
227
+ module.exports.inMuscleSign = warn;
228
+ module.exports.inMysticalitySign = warn;
229
+ module.exports.inTerrarium = warn;
230
+ module.exports.inaccessibleReason = warn;
231
+ module.exports.indexOf = warn;
232
+ module.exports.inebrietyLimit = warn;
233
+ module.exports.initiativeModifier = warn;
234
+ module.exports.insert = warn;
235
+ module.exports.isAccessible = warn;
236
+ module.exports.isAdventuring = warn;
237
+ module.exports.isBanished = warn;
238
+ module.exports.isCoinmasterItem = warn;
239
+ module.exports.isDarkMode = warn;
240
+ module.exports.isDiscardable = warn;
241
+ module.exports.isDisplayable = warn;
242
+ module.exports.isFamiliarEquipmentLocked = warn;
243
+ module.exports.isGiftable = warn;
244
+ module.exports.isGoal = warn;
245
+ module.exports.isHeadless = warn;
246
+ module.exports.isInteger = warn;
247
+ module.exports.isNpcItem = warn;
248
+ module.exports.isOnline = warn;
249
+ module.exports.isRemovable = warn;
250
+ module.exports.isShruggable = warn;
251
+ module.exports.isTradeable = warn;
252
+ module.exports.isTrendy = warn;
253
+ module.exports.isUnrestricted = warn;
254
+ module.exports.isWearingOutfit = warn;
255
+ module.exports.itemAmount = warn;
256
+ module.exports.itemDropModifier = warn;
257
+ module.exports.itemDrops = warn;
258
+ module.exports.itemDropsArray = warn;
259
+ module.exports.itemFact = warn;
260
+ module.exports.itemPockets = warn;
261
+ module.exports.itemType = warn;
262
+ module.exports.joinStrings = warn;
263
+ module.exports.jokePockets = warn;
264
+ module.exports.jumpChance = warn;
265
+ module.exports.knollAvailable = warn;
266
+ module.exports.lastChoice = warn;
267
+ module.exports.lastDecision = warn;
268
+ module.exports.lastIndexOf = warn;
269
+ module.exports.lastItemMessage = warn;
270
+ module.exports.lastMonster = warn;
271
+ module.exports.lastSkillMessage = warn;
272
+ module.exports.leetify = warn;
273
+ module.exports.length = warn;
274
+ module.exports.lightningCost = warn;
275
+ module.exports.limitMode = warn;
276
+ module.exports.loadHtml = warn;
277
+ module.exports.lockFamiliarEquipment = warn;
278
+ module.exports.logN = warn;
279
+ module.exports.logprint = warn;
280
+ module.exports.makeUrl = warn;
281
+ module.exports.mallPrice = warn;
282
+ module.exports.mallPrices = warn;
283
+ module.exports.manaCostModifier = warn;
284
+ module.exports.mapToFile = warn;
285
+ module.exports.max = warn;
286
+ module.exports.maximize = warn;
287
+ module.exports.meatDrop = warn;
288
+ module.exports.meatDropModifier = warn;
289
+ module.exports.meatPockets = warn;
290
+ module.exports.min = warn;
291
+ module.exports.minstrelInstrument = warn;
292
+ module.exports.minstrelLevel = warn;
293
+ module.exports.minstrelQuest = warn;
294
+ module.exports.modifierEval = warn;
295
+ module.exports.monkeyPaw = warn;
296
+ module.exports.monsterAttack = warn;
297
+ module.exports.monsterDefense = warn;
298
+ module.exports.monsterElement = warn;
299
+ module.exports.monsterEval = warn;
300
+ module.exports.monsterFactoidsAvailable = warn;
301
+ module.exports.monsterHp = warn;
302
+ module.exports.monsterInitiative = warn;
303
+ module.exports.monsterLevelAdjustment = warn;
304
+ module.exports.monsterManuelText = warn;
305
+ module.exports.monsterModifier = warn;
306
+ module.exports.monsterPhylum = warn;
307
+ module.exports.monsterPockets = warn;
308
+ module.exports.moodExecute = warn;
309
+ module.exports.moodList = warn;
310
+ module.exports.moonLight = warn;
311
+ module.exports.moonPhase = warn;
312
+ module.exports.mpCost = warn;
313
+ module.exports.myAbsorbs = warn;
314
+ module.exports.myAdventures = warn;
315
+ module.exports.myAscensions = warn;
316
+ module.exports.myAudience = warn;
317
+ module.exports.myBasestat = warn;
318
+ module.exports.myBjornedFamiliar = warn;
319
+ module.exports.myBuffedstat = warn;
320
+ module.exports.myClass = warn;
321
+ module.exports.myClosetMeat = warn;
322
+ module.exports.myCompanion = warn;
323
+ module.exports.myDaycount = warn;
324
+ module.exports.myDiscomomentum = warn;
325
+ module.exports.myEffectiveFamiliar = warn;
326
+ module.exports.myEffects = warn;
327
+ module.exports.myEnthronedFamiliar = warn;
328
+ module.exports.myFamiliar = warn;
329
+ module.exports.myFullness = warn;
330
+ module.exports.myFury = warn;
331
+ module.exports.myGardenType = warn;
332
+ module.exports.myHash = warn;
333
+ module.exports.myHp = warn;
334
+ module.exports.myId = warn;
335
+ module.exports.myInebriety = warn;
336
+ module.exports.myLevel = warn;
337
+ module.exports.myLightning = warn;
338
+ module.exports.myLocation = warn;
339
+ module.exports.myMask = warn;
340
+ module.exports.myMaxfury = warn;
341
+ module.exports.myMaxhp = warn;
342
+ module.exports.myMaxmp = warn;
343
+ module.exports.myMaxpp = warn;
344
+ module.exports.myMeat = warn;
345
+ module.exports.myMp = warn;
346
+ module.exports.myName = warn;
347
+ module.exports.myPath = warn;
348
+ module.exports.myPathId = warn;
349
+ module.exports.myPokeFam = warn;
350
+ module.exports.myPp = warn;
351
+ module.exports.myPrimestat = warn;
352
+ module.exports.myRain = warn;
353
+ module.exports.myRobotEnergy = warn;
354
+ module.exports.myRobotScraps = warn;
355
+ module.exports.myServant = warn;
356
+ module.exports.mySessionAdv = warn;
357
+ module.exports.mySessionItems = warn;
358
+ module.exports.mySessionMeat = warn;
359
+ module.exports.mySessionResults = warn;
360
+ module.exports.mySign = warn;
361
+ module.exports.mySoulsauce = warn;
362
+ module.exports.mySpleenUse = warn;
363
+ module.exports.myStorageMeat = warn;
364
+ module.exports.myThrall = warn;
365
+ module.exports.myThunder = warn;
366
+ module.exports.myTotalTurnsSpent = warn;
367
+ module.exports.myTurncount = warn;
368
+ module.exports.myVykeaCompanion = warn;
369
+ module.exports.myWildfireWater = warn;
370
+ module.exports.nowToInt = warn;
371
+ module.exports.nowToString = warn;
372
+ module.exports.npcPrice = warn;
373
+ module.exports.numberologyPrize = warn;
374
+ module.exports.numericFact = warn;
375
+ module.exports.numericModifier = warn;
376
+ module.exports.outfit = warn;
377
+ module.exports.outfitPieces = warn;
378
+ module.exports.outfitTattoo = warn;
379
+ module.exports.outfitTreats = warn;
380
+ module.exports.overdrink = warn;
381
+ module.exports.pathIdToName = warn;
382
+ module.exports.pathNameToId = warn;
383
+ module.exports.pickPocket = warn;
384
+ module.exports.pickedPockets = warn;
385
+ module.exports.pickedScraps = warn;
386
+ module.exports.ping = warn;
387
+ module.exports.pocketEffects = warn;
388
+ module.exports.pocketItems = warn;
389
+ module.exports.pocketJoke = warn;
390
+ module.exports.pocketMeat = warn;
391
+ module.exports.pocketMonster = warn;
392
+ module.exports.pocketPoem = warn;
393
+ module.exports.pocketScrap = warn;
394
+ module.exports.pocketStats = warn;
395
+ module.exports.poemPockets = warn;
396
+ module.exports.potentialPockets = warn;
397
+ module.exports.preValidateAdventure = warn;
398
+ module.exports.prepareForAdventure = warn;
399
+ module.exports.print = warn;
400
+ module.exports.printHtml = warn;
401
+ module.exports.propertyDefaultValue = warn;
402
+ module.exports.propertyExists = warn;
403
+ module.exports.propertyHasDefault = warn;
404
+ module.exports.pullsRemaining = warn;
405
+ module.exports.putCloset = warn;
406
+ module.exports.putDisplay = warn;
407
+ module.exports.putShop = warn;
408
+ module.exports.putShopUsingStorage = warn;
409
+ module.exports.putStash = warn;
410
+ module.exports.pvpAttacksLeft = warn;
411
+ module.exports.rainCost = warn;
412
+ module.exports.random = warn;
413
+ module.exports.rawDamageAbsorption = warn;
414
+ module.exports.readCcs = warn;
415
+ module.exports.receiveFax = warn;
416
+ module.exports.refreshShop = warn;
417
+ module.exports.refreshStash = warn;
418
+ module.exports.refreshStatus = warn;
419
+ module.exports.removeItemCondition = warn;
420
+ module.exports.removeProperty = warn;
421
+ module.exports.renameProperty = warn;
422
+ module.exports.replace = warn;
423
+ module.exports.replaceString = warn;
424
+ module.exports.repriceShop = warn;
425
+ module.exports.restorationPockets = warn;
426
+ module.exports.restoreHp = warn;
427
+ module.exports.restoreMp = warn;
428
+ module.exports.retrieveItem = warn;
429
+ module.exports.retrievePrice = warn;
430
+ module.exports.reverseNumberology = warn;
431
+ module.exports.rollover = warn;
432
+ module.exports.round = warn;
433
+ module.exports.runChoice = warn;
434
+ module.exports.runCombat = warn;
435
+ module.exports.runTurn = warn;
436
+ module.exports.runaway = warn;
437
+ module.exports.sausageGoblinChance = warn;
438
+ module.exports.scrapPockets = warn;
439
+ module.exports.sell = warn;
440
+ module.exports.sellPrice = warn;
441
+ module.exports.sellsItem = warn;
442
+ module.exports.sendFax = warn;
443
+ module.exports.sessionLogs = warn;
444
+ module.exports.setAutoAttack = warn;
445
+ module.exports.setCcs = warn;
446
+ module.exports.setLength = warn;
447
+ module.exports.setLocation = warn;
448
+ module.exports.setProperty = warn;
449
+ module.exports.shopAmount = warn;
450
+ module.exports.shopLimit = warn;
451
+ module.exports.shopPrice = warn;
452
+ module.exports.skillModifier = warn;
453
+ module.exports.slashCount = warn;
454
+ module.exports.soulsauceCost = warn;
455
+ module.exports.spleenLimit = warn;
456
+ module.exports.splitModifiers = warn;
457
+ module.exports.splitString = warn;
458
+ module.exports.squareRoot = warn;
459
+ module.exports.startsWith = warn;
460
+ module.exports.stashAmount = warn;
461
+ module.exports.statBonusToday = warn;
462
+ module.exports.statBonusTomorrow = warn;
463
+ module.exports.statModifier = warn;
464
+ module.exports.statsPockets = warn;
465
+ module.exports.steal = warn;
466
+ module.exports.stillsAvailable = warn;
467
+ module.exports.stopCounter = warn;
468
+ module.exports.storageAmount = warn;
469
+ module.exports.stringFact = warn;
470
+ module.exports.stringModifier = warn;
471
+ module.exports.stunSkill = warn;
472
+ module.exports.substring = warn;
473
+ module.exports.svnAtHead = warn;
474
+ module.exports.svnExists = warn;
475
+ module.exports.svnInfo = warn;
476
+ module.exports.svnList = warn;
477
+ module.exports.sweetSynthesis = warn;
478
+ module.exports.sweetSynthesisPair = warn;
479
+ module.exports.sweetSynthesisPairing = warn;
480
+ module.exports.sweetSynthesisResult = warn;
481
+ module.exports.takeCloset = warn;
482
+ module.exports.takeDisplay = warn;
483
+ module.exports.takeShop = warn;
484
+ module.exports.takeStash = warn;
485
+ module.exports.takeStorage = warn;
486
+ module.exports.tavern = warn;
487
+ module.exports.throwItem = warn;
488
+ module.exports.throwItems = warn;
489
+ module.exports.thunderCost = warn;
490
+ module.exports.timeToString = warn;
491
+ module.exports.timestampToDate = warn;
492
+ module.exports.toBoolean = warn;
493
+ module.exports.toBounty = warn;
494
+ module.exports.toBuffer = warn;
495
+ module.exports.toClass = warn;
496
+ module.exports.toCoinmaster = warn;
497
+ module.exports.toEffect = warn;
498
+ module.exports.toElement = warn;
499
+ module.exports.toFamiliar = warn;
500
+ module.exports.toFloat = warn;
501
+ module.exports.toInt = warn;
502
+ module.exports.toItem = warn;
503
+ module.exports.toJson = warn;
504
+ module.exports.toLocation = warn;
505
+ module.exports.toLowerCase = warn;
506
+ module.exports.toMonster = warn;
507
+ module.exports.toPath = warn;
508
+ module.exports.toPhylum = warn;
509
+ module.exports.toPlural = warn;
510
+ module.exports.toServant = warn;
511
+ module.exports.toSkill = warn;
512
+ module.exports.toSlot = warn;
513
+ module.exports.toStat = warn;
514
+ module.exports.toString = warn;
515
+ module.exports.toThrall = warn;
516
+ module.exports.toUpperCase = warn;
517
+ module.exports.toUrl = warn;
518
+ module.exports.toVykea = warn;
519
+ module.exports.toWikiUrl = warn;
520
+ module.exports.todayToString = warn;
521
+ module.exports.totalFreeRests = warn;
522
+ module.exports.totalTurnsPlayed = warn;
523
+ module.exports.towerDoor = warn;
524
+ module.exports.traceprint = warn;
525
+ module.exports.trackCopyCount = warn;
526
+ module.exports.trackIgnoreQueue = warn;
527
+ module.exports.trackedBy = warn;
528
+ module.exports.truncate = warn;
529
+ module.exports.turnsPerCast = warn;
530
+ module.exports.turnsPlayed = warn;
531
+ module.exports.twiddle = warn;
532
+ module.exports.unusualConstructDisc = warn;
533
+ module.exports.updateCandyPrices = warn;
534
+ module.exports.urlDecode = warn;
535
+ module.exports.urlEncode = warn;
536
+ module.exports.use = warn;
537
+ module.exports.useFamiliar = warn;
538
+ module.exports.useServant = warn;
539
+ module.exports.useSkill = warn;
540
+ module.exports.userConfirm = warn;
541
+ module.exports.userNotify = warn;
542
+ module.exports.userPrompt = warn;
543
+ module.exports.visit = warn;
544
+ module.exports.visitUrl = warn;
545
+ module.exports.votingBoothInitiatives = warn;
546
+ module.exports.wait = warn;
547
+ module.exports.waitq = warn;
548
+ module.exports.weaponHands = warn;
549
+ module.exports.weaponType = warn;
550
+ module.exports.weightAdjustment = warn;
551
+ module.exports.wellStocked = warn;
552
+ module.exports.whiteCitadelAvailable = warn;
553
+ module.exports.whoClan = warn;
554
+ module.exports.willUsuallyDodge = warn;
555
+ module.exports.willUsuallyMiss = warn;
556
+ module.exports.write = warn;
557
+ module.exports.writeCcs = warn;
558
+ module.exports.writeln = warn;
559
+ module.exports.xpath = warn;
560
+ module.exports.zap = warn;
561
+ module.export.Item = class Item { static get = (v) => Array.isArray(v) ? v.map(() => new Item()) : new Item(); static all = () => []; static none = new Item(); }
562
+ module.export.Location = class Location { static get = (v) => Array.isArray(v) ? v.map(() => new Location()) : new Location(); static all = () => []; static none = new Location(); }
563
+ module.export.Class = class Class { static get = (v) => Array.isArray(v) ? v.map(() => new Class()) : new Class(); static all = () => []; static none = new Class(); }
564
+ module.export.Stat = class Stat { static get = (v) => Array.isArray(v) ? v.map(() => new Stat()) : new Stat(); static all = () => []; static none = new Stat(); }
565
+ module.export.Skill = class Skill { static get = (v) => Array.isArray(v) ? v.map(() => new Skill()) : new Skill(); static all = () => []; static none = new Skill(); }
566
+ module.export.Effect = class Effect { static get = (v) => Array.isArray(v) ? v.map(() => new Effect()) : new Effect(); static all = () => []; static none = new Effect(); }
567
+ module.export.Familiar = class Familiar { static get = (v) => Array.isArray(v) ? v.map(() => new Familiar()) : new Familiar(); static all = () => []; static none = new Familiar(); }
568
+ module.export.Slot = class Slot { static get = (v) => Array.isArray(v) ? v.map(() => new Slot()) : new Slot(); static all = () => []; static none = new Slot(); }
569
+ module.export.Monster = class Monster { static get = (v) => Array.isArray(v) ? v.map(() => new Monster()) : new Monster(); static all = () => []; static none = new Monster(); }
570
+ module.export.Element = class Element { static get = (v) => Array.isArray(v) ? v.map(() => new Element()) : new Element(); static all = () => []; static none = new Element(); }
571
+ module.export.Coinmaster = class Coinmaster { static get = (v) => Array.isArray(v) ? v.map(() => new Coinmaster()) : new Coinmaster(); static all = () => []; static none = new Coinmaster(); }
572
+ module.export.Phylum = class Phylum { static get = (v) => Array.isArray(v) ? v.map(() => new Phylum()) : new Phylum(); static all = () => []; static none = new Phylum(); }
573
+ module.export.Bounty = class Bounty { static get = (v) => Array.isArray(v) ? v.map(() => new Bounty()) : new Bounty(); static all = () => []; static none = new Bounty(); }
574
+ module.export.Thrall = class Thrall { static get = (v) => Array.isArray(v) ? v.map(() => new Thrall()) : new Thrall(); static all = () => []; static none = new Thrall(); }
575
+ module.export.Servant = class Servant { static get = (v) => Array.isArray(v) ? v.map(() => new Servant()) : new Servant(); static all = () => []; static none = new Servant(); }
576
+ module.export.Vykea = class Vykea { static get = (v) => Array.isArray(v) ? v.map(() => new Vykea()) : new Vykea(); static all = () => []; static none = new Vykea(); }
577
+ module.export.Path = class Path { static get = (v) => Array.isArray(v) ? v.map(() => new Path()) : new Path(); static all = () => []; static none = new Path(); }
578
+ module.export.Modifier = class Modifier { static get = (v) => Array.isArray(v) ? v.map(() => new Modifier()) : new Modifier(); static all = () => []; static none = new Modifier(); }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.27891.0",
3
+ "version": "5.27894.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
- "main": "index",
6
- "types": "index",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
7
  "repository": "https://github.com/kolmafia/kolmafia",
8
8
  "author": "KoLmafia Team",
9
9
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  "index.d.ts"
13
13
  ],
14
14
  "devDependencies": {
15
- "typescript": "^4.8.4"
15
+ "typescript": "^5.4.4"
16
16
  },
17
17
  "scripts": {
18
18
  "validate": "tsc ./index.d.ts"