kolmafia 5.27909.0 → 5.27911.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 +225 -225
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
// v5.
|
|
2
|
-
// Generated by KoLmafia
|
|
1
|
+
// v5.27911.0
|
|
2
|
+
// Generated by KoLmafia r27911 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;
|
|
6
6
|
export function abort(): never;
|
|
7
7
|
export function absorbedMonsters(): { [monster: string]: boolean };
|
|
8
|
-
export function addItemCondition(
|
|
9
|
-
export function addItemCondition(
|
|
8
|
+
export function addItemCondition(count: number, item: Item): void;
|
|
9
|
+
export function addItemCondition(item: Item, count: number): void;
|
|
10
10
|
export function adv1(locationValue: Location, adventuresUsedValue: number, filterFunction: string | ((round: number, monster: Monster, text: string) => string)): boolean;
|
|
11
11
|
export function adv1(locationValue: Location, adventuresUsedValue: number): boolean;
|
|
12
12
|
export function adv1(locationValue: Location): boolean;
|
|
13
13
|
export function advCost(skill: Skill): number;
|
|
14
|
-
export function adventure(
|
|
15
|
-
export function adventure(
|
|
16
|
-
export function adventure(
|
|
17
|
-
export function adventure(
|
|
14
|
+
export function adventure(location: Location, count: number): boolean;
|
|
15
|
+
export function adventure(location: Location, count: number, filterFunction: string | ((round: number, monster: Monster, text: string) => string)): boolean;
|
|
16
|
+
export function adventure(count: number, location: Location): boolean;
|
|
17
|
+
export function adventure(count: number, location: Location, filterFunction: string | ((round: number, monster: Monster, text: string) => string)): boolean;
|
|
18
18
|
export function allMonstersWithId(): { [monster: string]: boolean };
|
|
19
19
|
export function allNormalOutfits(): string[];
|
|
20
20
|
export function appearanceRates(location: Location): { [monster: string]: number };
|
|
21
21
|
export function appearanceRates(location: Location, includeQueue: boolean): { [monster: string]: number };
|
|
22
22
|
export function append(buffer: string, s: string): string;
|
|
23
23
|
export function attack(): string;
|
|
24
|
-
export function autosell(
|
|
25
|
-
export function autosell(
|
|
24
|
+
export function autosell(item: Item, count: number): boolean;
|
|
25
|
+
export function autosell(count: number, item: Item): boolean;
|
|
26
26
|
export function autosellPrice(item: Item): number;
|
|
27
|
-
export function availableAmount(
|
|
27
|
+
export function availableAmount(item: Item): number;
|
|
28
28
|
export function availableChoiceOptions(): { [key: number]: string };
|
|
29
29
|
export function availableChoiceOptions(spoilers: boolean): { [key: number]: string };
|
|
30
30
|
export function availableChoiceSelectInputs(decision: number): { [key: string]: { [key: string]: string } };
|
|
31
31
|
export function availableChoiceTextInputs(decision: number): { [key: string]: string };
|
|
32
|
-
export function availablePocket(
|
|
33
|
-
export function availablePocket(
|
|
34
|
-
export function availablePocket(
|
|
35
|
-
export function availablePocket(
|
|
36
|
-
export function banishedBy(
|
|
32
|
+
export function availablePocket(monster: Monster): number;
|
|
33
|
+
export function availablePocket(effect: Effect): number;
|
|
34
|
+
export function availablePocket(item: Item): number;
|
|
35
|
+
export function availablePocket(stat: Stat): number;
|
|
36
|
+
export function banishedBy(monster: Monster): string[];
|
|
37
37
|
export function batchClose(): boolean;
|
|
38
38
|
export function batchOpen(): void;
|
|
39
39
|
export function bjornifyFamiliar(familiar: Familiar): boolean;
|
|
40
40
|
export function blackMarketAvailable(): boolean;
|
|
41
41
|
export function booleanModifier(modifier: string): boolean;
|
|
42
42
|
export function booleanModifier(modifier: Modifier): boolean;
|
|
43
|
-
export function booleanModifier(
|
|
44
|
-
export function booleanModifier(
|
|
45
|
-
export function booleanModifier(
|
|
46
|
-
export function booleanModifier(
|
|
47
|
-
export function booleanModifier(
|
|
48
|
-
export function booleanModifier(
|
|
43
|
+
export function booleanModifier(type: string, modifier: string): boolean;
|
|
44
|
+
export function booleanModifier(type: string, modifier: Modifier): boolean;
|
|
45
|
+
export function booleanModifier(item: Item, modifier: string): boolean;
|
|
46
|
+
export function booleanModifier(item: Item, modifier: Modifier): boolean;
|
|
47
|
+
export function booleanModifier(effect: Effect, modifier: string): boolean;
|
|
48
|
+
export function booleanModifier(effect: Effect, modifier: Modifier): boolean;
|
|
49
49
|
export function buffedHitStat(): number;
|
|
50
|
-
export function bufferToFile(
|
|
50
|
+
export function bufferToFile(buffer: string, filename: string): boolean;
|
|
51
51
|
export function buy(item: Item): boolean;
|
|
52
52
|
export function buy(item: Item, quantity: number): boolean;
|
|
53
53
|
export function buy(item: Item, quantity: number, price: number): number;
|
|
@@ -61,20 +61,20 @@ export function buyUsingStorage(item: Item, quantity: number, price: number): nu
|
|
|
61
61
|
export function buyUsingStorage(quantity: number, item: Item): boolean;
|
|
62
62
|
export function buyUsingStorage(quantity: number, item: Item, price: number): number;
|
|
63
63
|
export function buysItem(master: Coinmaster, item: Item): boolean;
|
|
64
|
-
export function canAdventure(
|
|
64
|
+
export function canAdventure(location: Location): boolean;
|
|
65
65
|
export function canDrink(): boolean;
|
|
66
66
|
export function canEat(): boolean;
|
|
67
67
|
export function canEquip(equipment: Item): boolean;
|
|
68
68
|
export function canEquip(familiar: Familiar): boolean;
|
|
69
69
|
export function canEquip(familiar: Familiar, item: Item): boolean;
|
|
70
|
-
export function canFaxbot(
|
|
71
|
-
export function canFaxbot(
|
|
70
|
+
export function canFaxbot(monster: Monster): boolean;
|
|
71
|
+
export function canFaxbot(monster: Monster, faxbot: string): boolean;
|
|
72
72
|
export function canInteract(): boolean;
|
|
73
73
|
export function canStillSteal(): boolean;
|
|
74
74
|
export function canadiaAvailable(): boolean;
|
|
75
|
-
export function candyForTier(
|
|
76
|
-
export function candyForTier(
|
|
77
|
-
export function ceil(
|
|
75
|
+
export function candyForTier(tier: number): Item[];
|
|
76
|
+
export function candyForTier(tier: number, flags: number): Item[];
|
|
77
|
+
export function ceil(val: number): number;
|
|
78
78
|
export function changeMcd(level: number): boolean;
|
|
79
79
|
export function charAt(source: string, index: number): string;
|
|
80
80
|
export function chatClan(messageValue: string): void;
|
|
@@ -83,42 +83,42 @@ export function chatMacro(macroValue: string): void;
|
|
|
83
83
|
export function chatNotify(messageValue: string, colorValue: string): void;
|
|
84
84
|
export function chatPrivate(recipientValue: string, messageValue: string): void;
|
|
85
85
|
export function chew(item: Item): boolean;
|
|
86
|
-
export function chew(
|
|
87
|
-
export function chew(
|
|
86
|
+
export function chew(item: Item, count: number): boolean;
|
|
87
|
+
export function chew(count: number, item: Item): boolean;
|
|
88
88
|
export function choiceFollowsFight(): boolean;
|
|
89
|
-
export function classModifier(
|
|
90
|
-
export function classModifier(
|
|
91
|
-
export function classModifier(
|
|
92
|
-
export function classModifier(
|
|
93
|
-
export function clear(
|
|
89
|
+
export function classModifier(type: string, modifier: string): Class;
|
|
90
|
+
export function classModifier(type: string, modifier: Modifier): Class;
|
|
91
|
+
export function classModifier(item: Item, modifier: string): Class;
|
|
92
|
+
export function classModifier(item: Item, modifier: Modifier): Class;
|
|
93
|
+
export function clear(agg: any): void;
|
|
94
94
|
export function clearBoozeHelper(): void;
|
|
95
95
|
export function clearFoodHelper(): void;
|
|
96
96
|
export function cliExecute(string: string): boolean;
|
|
97
97
|
export function cliExecuteOutput(string: string): string;
|
|
98
|
-
export function closetAmount(
|
|
98
|
+
export function closetAmount(item: Item): number;
|
|
99
99
|
export function combatManaCostModifier(): number;
|
|
100
100
|
export function combatRateModifier(): number;
|
|
101
|
-
export function combatSkillAvailable(
|
|
101
|
+
export function combatSkillAvailable(skill: Skill): boolean;
|
|
102
102
|
export function concoctionPrice(value: Item): number;
|
|
103
103
|
export function concoctionPrice(value: Vykea): number;
|
|
104
104
|
export function containsText(source: string, search: string): boolean;
|
|
105
105
|
export function council(): void;
|
|
106
|
-
export function count(
|
|
106
|
+
export function count(agg: any): number;
|
|
107
107
|
export function craft(modeValue: string, countValue: number, item1: Item, item2: Item): number;
|
|
108
|
-
export function craftType(
|
|
109
|
-
export function creatableAmount(
|
|
108
|
+
export function craftType(item: Item): string;
|
|
109
|
+
export function creatableAmount(item: Item): number;
|
|
110
110
|
export function creatableTurns(itemId: Item): number;
|
|
111
111
|
export function creatableTurns(itemId: Item, count: number): number;
|
|
112
112
|
export function creatableTurns(itemId: Item, count: number, freeCrafting: boolean): number;
|
|
113
113
|
export function create(item: Item): boolean;
|
|
114
|
-
export function create(
|
|
115
|
-
export function create(
|
|
114
|
+
export function create(item: Item, count: number): boolean;
|
|
115
|
+
export function create(count: number, item: Item): boolean;
|
|
116
116
|
export function currentHitStat(): Stat;
|
|
117
117
|
export function currentMcd(): number;
|
|
118
118
|
export function currentPvpStances(): { [key: string]: number };
|
|
119
119
|
export function currentRadSickness(): number;
|
|
120
120
|
export function currentRound(): number;
|
|
121
|
-
export function dadSeaMonkeeWeakness(
|
|
121
|
+
export function dadSeaMonkeeWeakness(round: number): Element;
|
|
122
122
|
export function dailySpecial(): Item;
|
|
123
123
|
export function damageAbsorptionPercent(): number;
|
|
124
124
|
export function damageReduction(): number;
|
|
@@ -131,47 +131,47 @@ export function descToEffect(value: string): Effect;
|
|
|
131
131
|
export function descToItem(value: string): Item;
|
|
132
132
|
export function disable(name: string): void;
|
|
133
133
|
export function dispensaryAvailable(): boolean;
|
|
134
|
-
export function displayAmount(
|
|
134
|
+
export function displayAmount(item: Item): number;
|
|
135
135
|
export function drink(item: Item): boolean;
|
|
136
|
-
export function drink(
|
|
137
|
-
export function drink(
|
|
136
|
+
export function drink(item: Item, count: number): boolean;
|
|
137
|
+
export function drink(count: number, item: Item): boolean;
|
|
138
138
|
export function drinksilent(item: Item): boolean;
|
|
139
|
-
export function drinksilent(
|
|
140
|
-
export function drinksilent(
|
|
139
|
+
export function drinksilent(item: Item, count: number): boolean;
|
|
140
|
+
export function drinksilent(count: number, item: Item): boolean;
|
|
141
141
|
export function dump(arg: any): void;
|
|
142
142
|
export function dump(arg: any, color: string): void;
|
|
143
143
|
export function eat(item: Item): boolean;
|
|
144
|
-
export function eat(
|
|
145
|
-
export function eat(
|
|
144
|
+
export function eat(item: Item, count: number): boolean;
|
|
145
|
+
export function eat(count: number, item: Item): boolean;
|
|
146
146
|
export function eatsilent(item: Item): boolean;
|
|
147
|
-
export function eatsilent(
|
|
148
|
-
export function eatsilent(
|
|
147
|
+
export function eatsilent(item: Item, count: number): boolean;
|
|
148
|
+
export function eatsilent(count: number, item: Item): boolean;
|
|
149
149
|
export function effectFact(cls: Class, path: Path, monster: Monster): Effect;
|
|
150
150
|
export function effectFact(monster: Monster): Effect;
|
|
151
|
-
export function effectModifier(
|
|
152
|
-
export function effectModifier(
|
|
153
|
-
export function effectModifier(
|
|
154
|
-
export function effectModifier(
|
|
151
|
+
export function effectModifier(type: string, modifier: string): Effect;
|
|
152
|
+
export function effectModifier(type: string, modifier: Modifier): Effect;
|
|
153
|
+
export function effectModifier(item: Item, modifier: string): Effect;
|
|
154
|
+
export function effectModifier(item: Item, modifier: Modifier): Effect;
|
|
155
155
|
export function effectPockets(): { [key: number]: boolean };
|
|
156
156
|
export function eightBitPoints(locationValue: Location): number;
|
|
157
157
|
export function eightBitPoints(locationValue: Location, colorValue: string, modValue: number): number;
|
|
158
|
-
export function elementalResistance(
|
|
158
|
+
export function elementalResistance(element: Element): number;
|
|
159
159
|
export function elementalResistance(): number;
|
|
160
|
-
export function elementalResistance(
|
|
160
|
+
export function elementalResistance(monster: Monster): number;
|
|
161
161
|
export function emptyCloset(): boolean;
|
|
162
162
|
export function enable(name: string): void;
|
|
163
163
|
export function endsWith(source: string, suffix: string): boolean;
|
|
164
164
|
export function enthroneFamiliar(familiar: Familiar): boolean;
|
|
165
|
-
export function entityDecode(
|
|
166
|
-
export function entityEncode(
|
|
165
|
+
export function entityDecode(string: string): string;
|
|
166
|
+
export function entityEncode(string: string): string;
|
|
167
167
|
export function equip(item: Item): boolean;
|
|
168
|
-
export function equip(
|
|
169
|
-
export function equip(
|
|
170
|
-
export function equip(
|
|
171
|
-
export function equip(
|
|
168
|
+
export function equip(item: Item, slot: Slot): boolean;
|
|
169
|
+
export function equip(slot: Slot, item: Item): boolean;
|
|
170
|
+
export function equip(item: Item, familiar: Familiar): boolean;
|
|
171
|
+
export function equip(familiar: Familiar, item: Item): boolean;
|
|
172
172
|
export function equipAllFamiliars(): boolean;
|
|
173
|
-
export function equippedAmount(
|
|
174
|
-
export function equippedAmount(
|
|
173
|
+
export function equippedAmount(item: Item): number;
|
|
174
|
+
export function equippedAmount(item: Item, includeAllFamiliars: boolean): number;
|
|
175
175
|
export function equippedItem(slot: Slot): Item;
|
|
176
176
|
export function eudora(): string;
|
|
177
177
|
export function eudora(newEudora: string): boolean;
|
|
@@ -179,7 +179,7 @@ export function eudoraItem(): Item;
|
|
|
179
179
|
export function everyCardName(name: string): string;
|
|
180
180
|
export function expectedColdMedicineCabinet(): { [key: string]: Item };
|
|
181
181
|
export function expectedDamage(): number;
|
|
182
|
-
export function expectedDamage(
|
|
182
|
+
export function expectedDamage(monster: Monster): number;
|
|
183
183
|
export function experienceBonus(): number;
|
|
184
184
|
export function expressionEval(expr: string): number;
|
|
185
185
|
export function extractItems(string: string): { [item: string]: number };
|
|
@@ -193,11 +193,11 @@ export function favoriteFamiliars(): { [familiar: string]: boolean };
|
|
|
193
193
|
export function faxbot(monsterName: Monster): boolean;
|
|
194
194
|
export function faxbot(monsterName: Monster, botName: string): boolean;
|
|
195
195
|
export function fightFollowsChoice(): boolean;
|
|
196
|
-
export function fileToArray(
|
|
197
|
-
export function fileToBuffer(
|
|
198
|
-
export function fileToMap(
|
|
199
|
-
export function fileToMap(
|
|
200
|
-
export function floor(
|
|
196
|
+
export function fileToArray(filename: string): { [key: number]: string };
|
|
197
|
+
export function fileToBuffer(filename: string): string;
|
|
198
|
+
export function fileToMap(filename: string, result: any): boolean;
|
|
199
|
+
export function fileToMap(filename: string, result: any, compact: boolean): boolean;
|
|
200
|
+
export function floor(val: number): number;
|
|
201
201
|
export function floristAvailable(): boolean;
|
|
202
202
|
export function flushMonsterManuelCache(): boolean;
|
|
203
203
|
export function formField(key: string): string;
|
|
@@ -231,7 +231,7 @@ export function getFreePulls(): { [item: string]: number };
|
|
|
231
231
|
export function getFuel(): number;
|
|
232
232
|
export function getGoals(): string[];
|
|
233
233
|
export function getIgnoreZoneWarnings(): boolean;
|
|
234
|
-
export function getIngredients(
|
|
234
|
+
export function getIngredients(item: Item): { [item: string]: number };
|
|
235
235
|
export function getInventory(): { [item: string]: number };
|
|
236
236
|
export function getLocationMonsters(location: Location): { [monster: string]: boolean };
|
|
237
237
|
export function getLocketMonsters(): { [monster: string]: boolean };
|
|
@@ -273,20 +273,20 @@ export function hasQueuedCommands(): boolean;
|
|
|
273
273
|
export function haveBartender(): boolean;
|
|
274
274
|
export function haveChef(): boolean;
|
|
275
275
|
export function haveDisplay(): boolean;
|
|
276
|
-
export function haveEffect(
|
|
276
|
+
export function haveEffect(effect: Effect): number;
|
|
277
277
|
export function haveEquipped(item: Item): boolean;
|
|
278
278
|
export function haveFamiliar(familiar: Familiar): boolean;
|
|
279
279
|
export function haveMushroomPlot(): boolean;
|
|
280
280
|
export function haveOutfit(outfit: string): boolean;
|
|
281
281
|
export function haveServant(servant: Servant): boolean;
|
|
282
282
|
export function haveShop(): boolean;
|
|
283
|
-
export function haveSkill(
|
|
284
|
-
export function hedgeMaze(
|
|
283
|
+
export function haveSkill(skill: Skill): boolean;
|
|
284
|
+
export function hedgeMaze(goal: string): boolean;
|
|
285
285
|
export function heist(item: Item): boolean;
|
|
286
286
|
export function heist(num: number, item: Item): boolean;
|
|
287
287
|
export function heistTargets(): { [monster: string]: { [key: number]: Item } };
|
|
288
|
-
export function hermit(
|
|
289
|
-
export function hermit(
|
|
288
|
+
export function hermit(item: Item, count: number): boolean;
|
|
289
|
+
export function hermit(count: number, item: Item): boolean;
|
|
290
290
|
export function hiddenTempleUnlocked(): boolean;
|
|
291
291
|
export function hippyStoneBroken(): boolean;
|
|
292
292
|
export function hippyStoreAvailable(): boolean;
|
|
@@ -311,7 +311,7 @@ export function initiativeModifier(): number;
|
|
|
311
311
|
export function insert(buffer: string, index: number, s: string): string;
|
|
312
312
|
export function isAccessible(master: Coinmaster): boolean;
|
|
313
313
|
export function isAdventuring(): boolean;
|
|
314
|
-
export function isBanished(
|
|
314
|
+
export function isBanished(monster: Monster): boolean;
|
|
315
315
|
export function isCoinmasterItem(item: Item): boolean;
|
|
316
316
|
export function isDarkMode(): boolean;
|
|
317
317
|
export function isDiscardable(item: Item): boolean;
|
|
@@ -322,9 +322,9 @@ export function isGoal(item: Item): boolean;
|
|
|
322
322
|
export function isHeadless(): boolean;
|
|
323
323
|
export function isInteger(string: string): boolean;
|
|
324
324
|
export function isNpcItem(item: Item): boolean;
|
|
325
|
-
export function isOnline(
|
|
326
|
-
export function isRemovable(
|
|
327
|
-
export function isShruggable(
|
|
325
|
+
export function isOnline(name: string): boolean;
|
|
326
|
+
export function isRemovable(effect: Effect): boolean;
|
|
327
|
+
export function isShruggable(effect: Effect): boolean;
|
|
328
328
|
export function isTradeable(item: Item): boolean;
|
|
329
329
|
export function isTrendy(thing: Item): boolean;
|
|
330
330
|
export function isTrendy(thing: Skill): boolean;
|
|
@@ -335,12 +335,12 @@ export function isUnrestricted(thing: Skill): boolean;
|
|
|
335
335
|
export function isUnrestricted(thing: Familiar): boolean;
|
|
336
336
|
export function isUnrestricted(thing: string): boolean;
|
|
337
337
|
export function isWearingOutfit(outfit: string): boolean;
|
|
338
|
-
export function itemAmount(
|
|
338
|
+
export function itemAmount(item: Item): number;
|
|
339
339
|
export function itemDropModifier(): number;
|
|
340
340
|
export function itemDrops(): { [item: string]: number };
|
|
341
|
-
export function itemDrops(
|
|
341
|
+
export function itemDrops(monster: Monster): { [item: string]: number };
|
|
342
342
|
export function itemDropsArray(): { drop: Item; rate: number; type: string; }[];
|
|
343
|
-
export function itemDropsArray(
|
|
343
|
+
export function itemDropsArray(monster: Monster): { drop: Item; rate: number; type: string; }[];
|
|
344
344
|
export function itemFact(cls: Class, path: Path, monster: Monster): Item;
|
|
345
345
|
export function itemFact(monster: Monster): Item;
|
|
346
346
|
export function itemPockets(): { [key: number]: boolean };
|
|
@@ -349,12 +349,12 @@ export function joinStrings(strings: string[]): string;
|
|
|
349
349
|
export function joinStrings(strings: string[], joiner: string): string;
|
|
350
350
|
export function jokePockets(): { [key: number]: boolean };
|
|
351
351
|
export function jumpChance(): number;
|
|
352
|
-
export function jumpChance(
|
|
353
|
-
export function jumpChance(
|
|
354
|
-
export function jumpChance(
|
|
355
|
-
export function jumpChance(
|
|
356
|
-
export function jumpChance(
|
|
357
|
-
export function jumpChance(
|
|
352
|
+
export function jumpChance(monster: Monster): number;
|
|
353
|
+
export function jumpChance(monster: Monster, init: number): number;
|
|
354
|
+
export function jumpChance(monster: Monster, init: number, ml: number): number;
|
|
355
|
+
export function jumpChance(location: Location): number;
|
|
356
|
+
export function jumpChance(location: Location, init: number): number;
|
|
357
|
+
export function jumpChance(location: Location, init: number, ml: number): number;
|
|
358
358
|
export function knollAvailable(): boolean;
|
|
359
359
|
export function lastChoice(): number;
|
|
360
360
|
export function lastDecision(): number;
|
|
@@ -369,54 +369,54 @@ export function lightningCost(skill: Skill): number;
|
|
|
369
369
|
export function limitMode(): string;
|
|
370
370
|
export function loadHtml(string: string): string;
|
|
371
371
|
export function lockFamiliarEquipment(lock: boolean): void;
|
|
372
|
-
export function logN(
|
|
373
|
-
export function logN(
|
|
372
|
+
export function logN(val: number): number;
|
|
373
|
+
export function logN(val: number, base: number): number;
|
|
374
374
|
export function logprint(string: string): void;
|
|
375
|
-
export function makeUrl(
|
|
375
|
+
export function makeUrl(string: string, usePostMethod: boolean, encoded: boolean): string;
|
|
376
376
|
export function mallPrice(item: Item): number;
|
|
377
377
|
export function mallPrice(item: Item, maxAge: number): number;
|
|
378
|
-
export function mallPrices(
|
|
379
|
-
export function mallPrices(
|
|
378
|
+
export function mallPrices(items: { [key: number]: boolean }): number;
|
|
379
|
+
export function mallPrices(category: string): number;
|
|
380
380
|
export function mallPrices(category: string, tiers: string): number;
|
|
381
381
|
export function manaCostModifier(): number;
|
|
382
|
-
export function mapToFile(
|
|
383
|
-
export function mapToFile(
|
|
384
|
-
export function max(
|
|
385
|
-
export function max(
|
|
382
|
+
export function mapToFile(map: any, filename: string): boolean;
|
|
383
|
+
export function mapToFile(map: any, filename: string, compact: boolean): boolean;
|
|
384
|
+
export function max(val: number, ...otherVal: number[]): number;
|
|
385
|
+
export function max(val: number, ...otherVal: number[]): number;
|
|
386
386
|
export function maximize(maximizerStringValue: string, isSpeculateOnlyValue: boolean): boolean;
|
|
387
387
|
export function maximize(maximizerStringValue: string, maxPriceValue: number, priceLevelValue: number, isSpeculateOnlyValue: boolean): boolean;
|
|
388
388
|
export function maximize(maximizerStringValue: string, maxPriceValue: number, priceLevelValue: number, isSpeculateOnlyValue: boolean, showEquipment: boolean): { display: string; command: string; score: number; effect: Effect; item: Item; skill: Skill; }[];
|
|
389
389
|
export function meatDrop(): number;
|
|
390
|
-
export function meatDrop(
|
|
390
|
+
export function meatDrop(monster: Monster): number;
|
|
391
391
|
export function meatDropModifier(): number;
|
|
392
392
|
export function meatPockets(): { [key: number]: number };
|
|
393
|
-
export function min(
|
|
394
|
-
export function min(
|
|
393
|
+
export function min(val: number, ...otherVal: number[]): number;
|
|
394
|
+
export function min(val: number, ...otherVal: number[]): number;
|
|
395
395
|
export function minstrelInstrument(): Item;
|
|
396
396
|
export function minstrelLevel(): number;
|
|
397
397
|
export function minstrelQuest(): boolean;
|
|
398
398
|
export function modifierEval(expr: string): number;
|
|
399
|
-
export function monkeyPaw(
|
|
400
|
-
export function monkeyPaw(
|
|
401
|
-
export function monkeyPaw(
|
|
399
|
+
export function monkeyPaw(item: Item): boolean;
|
|
400
|
+
export function monkeyPaw(effect: Effect): boolean;
|
|
401
|
+
export function monkeyPaw(wish: string): boolean;
|
|
402
402
|
export function monsterAttack(): number;
|
|
403
|
-
export function monsterAttack(
|
|
403
|
+
export function monsterAttack(monster: Monster): number;
|
|
404
404
|
export function monsterDefense(): number;
|
|
405
|
-
export function monsterDefense(
|
|
405
|
+
export function monsterDefense(monster: Monster): number;
|
|
406
406
|
export function monsterElement(): Element;
|
|
407
|
-
export function monsterElement(
|
|
407
|
+
export function monsterElement(monster: Monster): Element;
|
|
408
408
|
export function monsterEval(expr: string): number;
|
|
409
|
-
export function monsterFactoidsAvailable(
|
|
409
|
+
export function monsterFactoidsAvailable(monster: Monster, cachedOnly: boolean): number;
|
|
410
410
|
export function monsterHp(): number;
|
|
411
|
-
export function monsterHp(
|
|
411
|
+
export function monsterHp(monster: Monster): number;
|
|
412
412
|
export function monsterInitiative(): number;
|
|
413
|
-
export function monsterInitiative(
|
|
413
|
+
export function monsterInitiative(monster: Monster): number;
|
|
414
414
|
export function monsterLevelAdjustment(): number;
|
|
415
|
-
export function monsterManuelText(
|
|
416
|
-
export function monsterModifier(
|
|
417
|
-
export function monsterModifier(
|
|
415
|
+
export function monsterManuelText(monster: Monster): string;
|
|
416
|
+
export function monsterModifier(effect: Effect, modifier: string): Monster;
|
|
417
|
+
export function monsterModifier(effect: Effect, modifier: Modifier): Monster;
|
|
418
418
|
export function monsterPhylum(): Phylum;
|
|
419
|
-
export function monsterPhylum(
|
|
419
|
+
export function monsterPhylum(monster: Monster): Phylum;
|
|
420
420
|
export function monsterPockets(): { [key: number]: boolean };
|
|
421
421
|
export function moodExecute(multiplicity: number): void;
|
|
422
422
|
export function moodList(): string[];
|
|
@@ -427,9 +427,9 @@ export function myAbsorbs(): number;
|
|
|
427
427
|
export function myAdventures(): number;
|
|
428
428
|
export function myAscensions(): number;
|
|
429
429
|
export function myAudience(): number;
|
|
430
|
-
export function myBasestat(
|
|
430
|
+
export function myBasestat(stat: Stat): number;
|
|
431
431
|
export function myBjornedFamiliar(): Familiar;
|
|
432
|
-
export function myBuffedstat(
|
|
432
|
+
export function myBuffedstat(stat: Stat): number;
|
|
433
433
|
export function myClass(): Class;
|
|
434
434
|
export function myClosetMeat(): number;
|
|
435
435
|
export function myCompanion(): string;
|
|
@@ -460,7 +460,7 @@ export function myName(): string;
|
|
|
460
460
|
export function myPath(): Path;
|
|
461
461
|
/** @deprecated Changing 'my_path_id()' to 'my_path().id' will remove this warning */
|
|
462
462
|
export function myPathId(): number;
|
|
463
|
-
export function myPokeFam(
|
|
463
|
+
export function myPokeFam(slot: number): Familiar;
|
|
464
464
|
export function myPp(): number;
|
|
465
465
|
export function myPrimestat(): Stat;
|
|
466
466
|
export function myRain(): number;
|
|
@@ -490,38 +490,38 @@ export function numericFact(cls: Class, path: Path, monster: Monster): number;
|
|
|
490
490
|
export function numericFact(monster: Monster): number;
|
|
491
491
|
export function numericModifier(modifier: string): number;
|
|
492
492
|
export function numericModifier(modifier: Modifier): number;
|
|
493
|
-
export function numericModifier(
|
|
494
|
-
export function numericModifier(
|
|
495
|
-
export function numericModifier(
|
|
496
|
-
export function numericModifier(
|
|
497
|
-
export function numericModifier(
|
|
498
|
-
export function numericModifier(
|
|
499
|
-
export function numericModifier(
|
|
500
|
-
export function numericModifier(
|
|
493
|
+
export function numericModifier(type: string, modifier: string): number;
|
|
494
|
+
export function numericModifier(type: string, modifier: Modifier): number;
|
|
495
|
+
export function numericModifier(item: Item, modifier: string): number;
|
|
496
|
+
export function numericModifier(item: Item, modifier: Modifier): number;
|
|
497
|
+
export function numericModifier(effect: Effect, modifier: string): number;
|
|
498
|
+
export function numericModifier(effect: Effect, modifier: Modifier): number;
|
|
499
|
+
export function numericModifier(skill: Skill, modifier: string): number;
|
|
500
|
+
export function numericModifier(skill: Skill, modifier: Modifier): number;
|
|
501
501
|
export function numericModifier(familiar: Familiar, modifier: string, weight: number, item: Item): number;
|
|
502
|
-
export function numericModifier(
|
|
503
|
-
export function numericModifier(
|
|
502
|
+
export function numericModifier(thrall: Thrall, modifier: string): number;
|
|
503
|
+
export function numericModifier(thrall: Thrall, modifier: Modifier): number;
|
|
504
504
|
export function outfit(outfit: string): boolean;
|
|
505
505
|
export function outfitPieces(outfit: string): Item[];
|
|
506
506
|
export function outfitTattoo(outfit: string): string;
|
|
507
507
|
export function outfitTreats(outfit: string): { [item: string]: number };
|
|
508
508
|
export function overdrink(item: Item): boolean;
|
|
509
|
-
export function overdrink(
|
|
510
|
-
export function overdrink(
|
|
509
|
+
export function overdrink(item: Item, count: number): boolean;
|
|
510
|
+
export function overdrink(count: number, item: Item): boolean;
|
|
511
511
|
/** @deprecated Changing 'path_id_to_name(xxx)' to 'my_path(xxx).name' will remove this warning */
|
|
512
512
|
export function pathIdToName(value: number): string;
|
|
513
513
|
/** @deprecated Changing 'path_name_to_id(xxx)' to 'to_path(xxx).id' will remove this warning */
|
|
514
514
|
export function pathNameToId(value: string): number;
|
|
515
|
-
export function pickPocket(
|
|
516
|
-
export function pickPocket(
|
|
517
|
-
export function pickPocket(
|
|
518
|
-
export function pickPocket(
|
|
519
|
-
export function pickPocket(
|
|
515
|
+
export function pickPocket(monster: Monster): boolean;
|
|
516
|
+
export function pickPocket(effect: Effect): { [effect: string]: number };
|
|
517
|
+
export function pickPocket(item: Item): { [item: string]: number };
|
|
518
|
+
export function pickPocket(stat: Stat): { [stat: string]: number };
|
|
519
|
+
export function pickPocket(pocketNumber: number): boolean;
|
|
520
520
|
export function pickedPockets(): { [key: number]: boolean };
|
|
521
521
|
export function pickedScraps(): { [key: number]: boolean };
|
|
522
522
|
export function ping(): { page: string; count: number; low: number; high: number; total: number; bytes: number; average: number; bps: number; };
|
|
523
|
-
export function ping(
|
|
524
|
-
export function ping(
|
|
523
|
+
export function ping(count: number, page: string): { page: string; count: number; low: number; high: number; total: number; bytes: number; average: number; bps: number; };
|
|
524
|
+
export function ping(pingTest: string): { page: string; count: number; low: number; high: number; total: number; bytes: number; average: number; bps: number; };
|
|
525
525
|
export function pocketEffects(pocket: number): { [effect: string]: number };
|
|
526
526
|
export function pocketItems(pocket: number): { [item: string]: number };
|
|
527
527
|
export function pocketJoke(pocket: number): string;
|
|
@@ -531,12 +531,12 @@ export function pocketPoem(pocket: number): { [key: number]: string };
|
|
|
531
531
|
export function pocketScrap(pocket: number): { [key: number]: string };
|
|
532
532
|
export function pocketStats(pocket: number): { [stat: string]: number };
|
|
533
533
|
export function poemPockets(): { [key: number]: number };
|
|
534
|
-
export function potentialPockets(
|
|
535
|
-
export function potentialPockets(
|
|
536
|
-
export function potentialPockets(
|
|
537
|
-
export function potentialPockets(
|
|
538
|
-
export function preValidateAdventure(
|
|
539
|
-
export function prepareForAdventure(
|
|
534
|
+
export function potentialPockets(monster: Monster): { [key: number]: number };
|
|
535
|
+
export function potentialPockets(effect: Effect): { [key: number]: number };
|
|
536
|
+
export function potentialPockets(item: Item): { [key: number]: number };
|
|
537
|
+
export function potentialPockets(stat: Stat): { [key: number]: number };
|
|
538
|
+
export function preValidateAdventure(location: Location): boolean;
|
|
539
|
+
export function prepareForAdventure(location: Location): boolean;
|
|
540
540
|
export function print(): void;
|
|
541
541
|
export function print(string: string): void;
|
|
542
542
|
export function print(string: string, color: string): void;
|
|
@@ -547,29 +547,29 @@ export function propertyExists(nameValue: string): boolean;
|
|
|
547
547
|
export function propertyExists(nameValue: string, globalValue: boolean): boolean;
|
|
548
548
|
export function propertyHasDefault(nameValue: string): boolean;
|
|
549
549
|
export function pullsRemaining(): number;
|
|
550
|
-
export function putCloset(
|
|
551
|
-
export function putCloset(
|
|
552
|
-
export function putCloset(
|
|
553
|
-
export function putCloset(
|
|
554
|
-
export function putDisplay(
|
|
555
|
-
export function putDisplay(
|
|
550
|
+
export function putCloset(meat: number): boolean;
|
|
551
|
+
export function putCloset(item: Item): boolean;
|
|
552
|
+
export function putCloset(item: Item, count: number): boolean;
|
|
553
|
+
export function putCloset(count: number, item: Item): boolean;
|
|
554
|
+
export function putDisplay(count: number, item: Item): boolean;
|
|
555
|
+
export function putDisplay(item: Item, count: number): boolean;
|
|
556
556
|
export function putShop(priceValue: number, limitValue: number, itemValue: Item): boolean;
|
|
557
557
|
export function putShop(priceValue: number, limitValue: number, qtyValue: number, itemValue: Item): boolean;
|
|
558
558
|
export function putShopUsingStorage(priceValue: number, limitValue: number, itemValue: Item): boolean;
|
|
559
559
|
export function putShopUsingStorage(priceValue: number, limitValue: number, qtyValue: number, itemValue: Item): boolean;
|
|
560
|
-
export function putStash(
|
|
561
|
-
export function putStash(
|
|
560
|
+
export function putStash(item: Item, count: number): boolean;
|
|
561
|
+
export function putStash(count: number, item: Item): boolean;
|
|
562
562
|
export function pvpAttacksLeft(): number;
|
|
563
563
|
export function rainCost(skill: Skill): number;
|
|
564
|
-
export function random(
|
|
564
|
+
export function random(range: number): number;
|
|
565
565
|
export function rawDamageAbsorption(): number;
|
|
566
566
|
export function readCcs(name: string): string;
|
|
567
567
|
export function receiveFax(): void;
|
|
568
568
|
export function refreshShop(): boolean;
|
|
569
569
|
export function refreshStash(): boolean;
|
|
570
570
|
export function refreshStatus(): boolean;
|
|
571
|
-
export function removeItemCondition(
|
|
572
|
-
export function removeItemCondition(
|
|
571
|
+
export function removeItemCondition(count: number, item: Item): void;
|
|
572
|
+
export function removeItemCondition(item: Item, count: number): void;
|
|
573
573
|
export function removeProperty(nameValue: string): string;
|
|
574
574
|
export function removeProperty(nameValue: string, globalValue: boolean): string;
|
|
575
575
|
export function renameProperty(oldNameValue: string, newNameValue: string): boolean;
|
|
@@ -582,17 +582,17 @@ export function restorationPockets(): { [key: number]: boolean };
|
|
|
582
582
|
export function restoreHp(amount: number): boolean;
|
|
583
583
|
export function restoreMp(amount: number): boolean;
|
|
584
584
|
export function retrieveItem(item: Item): boolean;
|
|
585
|
-
export function retrieveItem(
|
|
586
|
-
export function retrieveItem(
|
|
585
|
+
export function retrieveItem(item: Item, count: number): boolean;
|
|
586
|
+
export function retrieveItem(count: number, item: Item): boolean;
|
|
587
587
|
export function retrievePrice(item: Item): number;
|
|
588
|
-
export function retrievePrice(
|
|
589
|
-
export function retrievePrice(
|
|
590
|
-
export function retrievePrice(
|
|
591
|
-
export function retrievePrice(
|
|
588
|
+
export function retrievePrice(item: Item, count: number): number;
|
|
589
|
+
export function retrievePrice(count: number, item: Item): number;
|
|
590
|
+
export function retrievePrice(item: Item, count: number, exact: boolean): number;
|
|
591
|
+
export function retrievePrice(count: number, item: Item, exact: boolean): number;
|
|
592
592
|
export function reverseNumberology(): { [key: number]: number };
|
|
593
593
|
export function reverseNumberology(advDelta: number, spleenDelta: number): { [key: number]: number };
|
|
594
594
|
export function rollover(): number;
|
|
595
|
-
export function round(
|
|
595
|
+
export function round(val: number): number;
|
|
596
596
|
export function runChoice(decision: number): string;
|
|
597
597
|
export function runChoice(decision: number, extra: string): string;
|
|
598
598
|
export function runChoice(decision: number, extra: boolean): string;
|
|
@@ -616,41 +616,41 @@ export function setCcs(name: string): boolean;
|
|
|
616
616
|
export function setLength(buffer: string, i: number): void;
|
|
617
617
|
export function setLocation(location: Location): void;
|
|
618
618
|
export function setProperty(nameValue: string, value: string): void;
|
|
619
|
-
export function shopAmount(
|
|
620
|
-
export function shopLimit(
|
|
619
|
+
export function shopAmount(item: Item): number;
|
|
620
|
+
export function shopLimit(item: Item): number;
|
|
621
621
|
export function shopPrice(item: Item): number;
|
|
622
|
-
export function skillModifier(
|
|
623
|
-
export function skillModifier(
|
|
624
|
-
export function skillModifier(
|
|
625
|
-
export function skillModifier(
|
|
626
|
-
export function slashCount(
|
|
622
|
+
export function skillModifier(type: string, modifier: string): Skill;
|
|
623
|
+
export function skillModifier(type: string, modifier: Modifier): Skill;
|
|
624
|
+
export function skillModifier(item: Item, modifier: string): Skill;
|
|
625
|
+
export function skillModifier(item: Item, modifier: Modifier): Skill;
|
|
626
|
+
export function slashCount(item: Item): number;
|
|
627
627
|
export function soulsauceCost(skill: Skill): number;
|
|
628
628
|
export function spleenLimit(): number;
|
|
629
|
-
export function splitModifiers(
|
|
629
|
+
export function splitModifiers(modifiers: string): { [modifier: string]: string };
|
|
630
630
|
export function splitString(string: string): string[];
|
|
631
631
|
export function splitString(string: string, regex: string): string[];
|
|
632
632
|
export function squareRoot(val: number): number;
|
|
633
633
|
export function startsWith(source: string, prefix: string): boolean;
|
|
634
|
-
export function stashAmount(
|
|
634
|
+
export function stashAmount(item: Item): number;
|
|
635
635
|
export function statBonusToday(): Stat;
|
|
636
636
|
export function statBonusTomorrow(): Stat;
|
|
637
|
-
export function statModifier(
|
|
638
|
-
export function statModifier(
|
|
637
|
+
export function statModifier(effect: Effect, modifier: string): Stat;
|
|
638
|
+
export function statModifier(effect: Effect, modifier: Modifier): Stat;
|
|
639
639
|
export function statsPockets(): { [key: number]: boolean };
|
|
640
640
|
export function steal(): string;
|
|
641
641
|
export function stillsAvailable(): number;
|
|
642
642
|
export function stopCounter(label: string): void;
|
|
643
|
-
export function storageAmount(
|
|
643
|
+
export function storageAmount(item: Item): number;
|
|
644
644
|
export function stringFact(cls: Class, path: Path, monster: Monster): string;
|
|
645
645
|
export function stringFact(monster: Monster): string;
|
|
646
646
|
export function stringModifier(modifier: string): string;
|
|
647
647
|
export function stringModifier(modifier: Modifier): string;
|
|
648
|
-
export function stringModifier(
|
|
649
|
-
export function stringModifier(
|
|
650
|
-
export function stringModifier(
|
|
651
|
-
export function stringModifier(
|
|
652
|
-
export function stringModifier(
|
|
653
|
-
export function stringModifier(
|
|
648
|
+
export function stringModifier(type: string, modifier: string): string;
|
|
649
|
+
export function stringModifier(type: string, modifier: Modifier): string;
|
|
650
|
+
export function stringModifier(item: Item, modifier: string): string;
|
|
651
|
+
export function stringModifier(item: Item, modifier: Modifier): string;
|
|
652
|
+
export function stringModifier(effect: Effect, modifier: string): string;
|
|
653
|
+
export function stringModifier(effect: Effect, modifier: Modifier): string;
|
|
654
654
|
export function stunSkill(): Skill;
|
|
655
655
|
export function substring(source: string, start: number): string;
|
|
656
656
|
export function substring(source: string, start: number, finish: number): string;
|
|
@@ -659,30 +659,30 @@ export function svnExists(project: string): boolean;
|
|
|
659
659
|
export function svnInfo(script: string): { url: string; revision: number; last_changed_author: string; last_changed_rev: number; last_changed_date: string; };
|
|
660
660
|
export function svnList(): string[];
|
|
661
661
|
export function sweetSynthesis(effect: Effect): boolean;
|
|
662
|
-
export function sweetSynthesis(
|
|
663
|
-
export function sweetSynthesis(
|
|
664
|
-
export function sweetSynthesis(
|
|
665
|
-
export function sweetSynthesis(
|
|
666
|
-
export function sweetSynthesis(
|
|
667
|
-
export function sweetSynthesisPair(
|
|
668
|
-
export function sweetSynthesisPair(
|
|
669
|
-
export function sweetSynthesisPairing(
|
|
670
|
-
export function sweetSynthesisPairing(
|
|
662
|
+
export function sweetSynthesis(count: number, effect: Effect): boolean;
|
|
663
|
+
export function sweetSynthesis(effect: Effect, count: number): boolean;
|
|
664
|
+
export function sweetSynthesis(count: number, effect: Effect, flags: number): boolean;
|
|
665
|
+
export function sweetSynthesis(item1: Item, item2: Item): boolean;
|
|
666
|
+
export function sweetSynthesis(count: number, item1: Item, item2: Item): boolean;
|
|
667
|
+
export function sweetSynthesisPair(effect: Effect): Item[];
|
|
668
|
+
export function sweetSynthesisPair(effect: Effect, flags: number): Item[];
|
|
669
|
+
export function sweetSynthesisPairing(effect: Effect, item: Item): Item[];
|
|
670
|
+
export function sweetSynthesisPairing(effect: Effect, item: Item, flags: number): Item[];
|
|
671
671
|
export function sweetSynthesisResult(item1: Item, item2: Item): Effect;
|
|
672
|
-
export function takeCloset(
|
|
673
|
-
export function takeCloset(
|
|
674
|
-
export function takeCloset(
|
|
675
|
-
export function takeCloset(
|
|
676
|
-
export function takeDisplay(
|
|
677
|
-
export function takeDisplay(
|
|
672
|
+
export function takeCloset(meat: number): boolean;
|
|
673
|
+
export function takeCloset(item: Item): boolean;
|
|
674
|
+
export function takeCloset(item: Item, count: number): boolean;
|
|
675
|
+
export function takeCloset(count: number, item: Item): boolean;
|
|
676
|
+
export function takeDisplay(item: Item, count: number): boolean;
|
|
677
|
+
export function takeDisplay(count: number, item: Item): boolean;
|
|
678
678
|
export function takeShop(itemValue: Item): boolean;
|
|
679
|
-
export function takeShop(
|
|
680
|
-
export function takeStash(
|
|
681
|
-
export function takeStash(
|
|
682
|
-
export function takeStorage(
|
|
683
|
-
export function takeStorage(
|
|
679
|
+
export function takeShop(count: number, item: Item): boolean;
|
|
680
|
+
export function takeStash(item: Item, count: number): boolean;
|
|
681
|
+
export function takeStash(count: number, item: Item): boolean;
|
|
682
|
+
export function takeStorage(item: Item, count: number): boolean;
|
|
683
|
+
export function takeStorage(count: number, item: Item): boolean;
|
|
684
684
|
export function tavern(): number;
|
|
685
|
-
export function tavern(
|
|
685
|
+
export function tavern(goal: string): number;
|
|
686
686
|
export function throwItem(item: Item): string;
|
|
687
687
|
export function throwItems(item1: Item, item2: Item): string;
|
|
688
688
|
export function thunderCost(skill: Skill): number;
|
|
@@ -697,12 +697,12 @@ export function toBuffer(value: string): string;
|
|
|
697
697
|
export function toClass(value: string): Class;
|
|
698
698
|
export function toClass(value: number): Class;
|
|
699
699
|
export function toCoinmaster(value: string): Coinmaster;
|
|
700
|
-
export function toEffect(
|
|
701
|
-
export function toEffect(
|
|
702
|
-
export function toEffect(
|
|
700
|
+
export function toEffect(name: string): Effect;
|
|
701
|
+
export function toEffect(id: number): Effect;
|
|
702
|
+
export function toEffect(skill: Skill): Effect;
|
|
703
703
|
export function toElement(value: string): Element;
|
|
704
|
-
export function toFamiliar(
|
|
705
|
-
export function toFamiliar(
|
|
704
|
+
export function toFamiliar(name: string): Familiar;
|
|
705
|
+
export function toFamiliar(id: number): Familiar;
|
|
706
706
|
export function toFloat(value: string): number;
|
|
707
707
|
export function toFloat(value: boolean): number;
|
|
708
708
|
export function toFloat(value: number): number;
|
|
@@ -729,18 +729,18 @@ export function toJson(val: any): string;
|
|
|
729
729
|
export function toLocation(value: string): Location;
|
|
730
730
|
export function toLocation(value: number): Location;
|
|
731
731
|
export function toLowerCase(string: string): string;
|
|
732
|
-
export function toMonster(
|
|
733
|
-
export function toMonster(
|
|
732
|
+
export function toMonster(name: string): Monster;
|
|
733
|
+
export function toMonster(id: number): Monster;
|
|
734
734
|
export function toPath(value: string): Path;
|
|
735
735
|
export function toPath(value: number): Path;
|
|
736
736
|
export function toPhylum(value: string): Phylum;
|
|
737
737
|
export function toPlural(item: Item): string;
|
|
738
738
|
export function toServant(value: string): Servant;
|
|
739
739
|
export function toServant(value: number): Servant;
|
|
740
|
-
export function toSkill(
|
|
741
|
-
export function toSkill(
|
|
742
|
-
export function toSkill(
|
|
743
|
-
export function toSkill(
|
|
740
|
+
export function toSkill(name: string): Skill;
|
|
741
|
+
export function toSkill(name: string, type: string): Skill;
|
|
742
|
+
export function toSkill(id: number): Skill;
|
|
743
|
+
export function toSkill(effect: Effect): Skill;
|
|
744
744
|
export function toSlot(item: string): Slot;
|
|
745
745
|
export function toSlot(item: Item): Slot;
|
|
746
746
|
export function toStat(value: string): Stat;
|
|
@@ -762,26 +762,26 @@ export function totalFreeRests(): number;
|
|
|
762
762
|
export function totalTurnsPlayed(): number;
|
|
763
763
|
export function towerDoor(): boolean;
|
|
764
764
|
export function traceprint(string: string): void;
|
|
765
|
-
export function trackCopyCount(
|
|
766
|
-
export function trackIgnoreQueue(
|
|
767
|
-
export function trackedBy(
|
|
768
|
-
export function truncate(
|
|
765
|
+
export function trackCopyCount(monster: Monster): number;
|
|
766
|
+
export function trackIgnoreQueue(monster: Monster): boolean;
|
|
767
|
+
export function trackedBy(monster: Monster): string[];
|
|
768
|
+
export function truncate(val: number): number;
|
|
769
769
|
export function turnsPerCast(skill: Skill): number;
|
|
770
770
|
export function turnsPlayed(): number;
|
|
771
771
|
export function twiddle(): string;
|
|
772
772
|
export function unusualConstructDisc(): Item;
|
|
773
773
|
export function updateCandyPrices(): void;
|
|
774
|
-
export function urlDecode(
|
|
775
|
-
export function urlEncode(
|
|
774
|
+
export function urlDecode(string: string): string;
|
|
775
|
+
export function urlEncode(string: string): string;
|
|
776
776
|
export function use(item: Item): boolean;
|
|
777
|
-
export function use(
|
|
778
|
-
export function use(
|
|
777
|
+
export function use(item: Item, count: number): boolean;
|
|
778
|
+
export function use(count: number, item: Item): boolean;
|
|
779
779
|
export function useFamiliar(familiar: Familiar): boolean;
|
|
780
780
|
export function useServant(servant: Servant): boolean;
|
|
781
|
-
export function useSkill(
|
|
782
|
-
export function useSkill(
|
|
783
|
-
export function useSkill(
|
|
784
|
-
export function useSkill(
|
|
781
|
+
export function useSkill(skill: Skill, count: number): boolean;
|
|
782
|
+
export function useSkill(count: number, skill: Skill): boolean;
|
|
783
|
+
export function useSkill(skill: Skill, count: number, target: string): boolean;
|
|
784
|
+
export function useSkill(count: number, skill: Skill, target: string): boolean;
|
|
785
785
|
export function useSkill(skill: Skill): string;
|
|
786
786
|
export function userConfirm(message: string): boolean;
|
|
787
787
|
export function userConfirm(message: string, timeOut: number, defaultBoolean: boolean): boolean;
|