Template:AdventureAbyssalUnlockTable: Difference between revisions

From Melvor Idle
(Created template)
 
m (Update formatting; No visual changes)
 
Line 1: Line 1:
<noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude>
<noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude>
{| class="wikitable sortable stickyHeader"
{| class="wikitable stickyHeader"
|-class="headerRow-0"
|- class="headerRow-0"
!|Unlock!!Cost!!Cumulative Cost
! Unlock
! Cost  
! Cumulative Cost
|-
|-
|1||{{AP|25000}}||{{AP|25000}}
| 1
| {{AP|25000}}
| {{AP|25000}}
|-
|-
|2||{{AP|30000}}||{{AP|55000}}
| 2
| {{AP|30000}}
| {{AP|55000}}
|-
|-
|3||{{AP|36000}}||{{AP|91000}}
| 3
| {{AP|36000}}
| {{AP|91000}}
|-
|-
|4||{{AP|43199}}||{{AP|134199}}
| 4
| {{AP|43199}}
| {{AP|134199}}
|-
|-
|5||{{AP|51840}}||{{AP|186039}}
| 5
| {{AP|51840}}
| {{AP|186039}}
|-
|-
|6||{{AP|62207}}||{{AP|248246}}
| 6
| {{AP|62207}}
| {{AP|248246}}
|-
|-
|7||{{AP|74649}}||{{AP|322895}}
| 7
| {{AP|74649}}
| {{AP|322895}}
|-
|-
|8||{{AP|89579}}||{{AP|412474}}
| 8
| {{AP|89579}}
| {{AP|412474}}
|-
|-
|9||{{AP|107495}}||{{AP|519969}}
| 9
| {{AP|107495}}
| {{AP|519969}}
|-
|-
|10||{{AP|128994}}||{{AP|648963}}
| 10
| {{AP|128994}}
| {{AP|648963}}
|-
|-
|11||{{AP|154793}}||{{AP|803756}}
| 11
| {{AP|154793}}
| {{AP|803756}}
|-
|-
|12||{{AP|185752}}||{{AP|989508}}
| 12
| {{AP|185752}}
| {{AP|989508}}
|-
|-
|13||{{AP|222902}}||{{AP|1212410}}
| 13
| {{AP|222902}}
| {{AP|1212410}}
|-
|-
|14||{{AP|267483}}||{{AP|1479893}}
| 14
| {{AP|267483}}
| {{AP|1479893}}
|-
|-
|15||{{AP|320979}}||{{AP|1800872}}
| 15
| {{AP|320979}}
| {{AP|1800872}}
|-
|-
|16||{{AP|385175}}||{{AP|2186047}}
| 16
| {{AP|385175}}
| {{AP|2186047}}
|-
|-
|17||{{AP|462210}}||{{AP|2648257}}
| 17
| {{AP|462210}}
| {{AP|2648257}}
|-
|-
|18||{{AP|554652}}||{{AP|3202909}}
| 18
| {{AP|554652}}
| {{AP|3202909}}
|-
|-
|19||{{AP|665583}}||{{AP|3868492}}
| 19
| {{AP|665583}}
| {{AP|3868492}}
|-
|-
|20||{{AP|798699}}||{{AP|4667191}}
| 20
| {{AP|798699}}
| {{AP|4667191}}
|-
|-
|21||{{AP|958439}}||{{AP|5625630}}
| 21
| {{AP|958439}}
| {{AP|5625630}}
|-
|-
|22||{{AP|1150127}}||{{AP|6775757}}
| 22
| {{AP|1150127}}
| {{AP|6775757}}
|-
|-
|23||{{AP|1380153}}||{{AP|8155910}}
| 23
| {{AP|1380153}}
| {{AP|8155910}}
|-
|-
|24||{{AP|1656184}}||{{AP|9812094}}
| 24
| {{AP|1656184}}
| {{AP|9812094}}
|-
|-
|25||{{AP|1987421}}||{{AP|11799515}}
| 25
| {{AP|1987421}}
| {{AP|11799515}}
|-
|-
|26||{{AP|2384905}}||{{AP|14184420}}
| 26
| {{AP|2384905}}
| {{AP|14184420}}
|-
|-
|27||{{AP|2861886}}||{{AP|17046306}}
| 27
| {{AP|2861886}}
| {{AP|17046306}}
|-
|-
|28||{{AP|3434263}}||{{AP|20480569}}
| 28
| {{AP|3434263}}
| {{AP|20480569}}
|-
|-
|29||{{AP|4121116}}||{{AP|24601685}}
| 29
| {{AP|4121116}}
| {{AP|24601685}}
|-
|-
|30||{{AP|4945339}}||{{AP|29547024}}
| 30
| {{AP|4945339}}
| {{AP|29547024}}
|-
|-
|31||{{AP|5934407}}||{{AP|35481431}}
| 31
| {{AP|5934407}}
| {{AP|35481431}}
|-
|-
|32||{{AP|7121289}}||{{AP|42602720}}
| 32
| {{AP|7121289}}
| {{AP|42602720}}
|-
|-
|33||{{AP|8545547}}||{{AP|51148267}}
| 33
| {{AP|8545547}}
| {{AP|51148267}}
|-
|-
|34||{{AP|10254656}}||{{AP|61402923}}
| 34
| {{AP|10254656}}
| {{AP|61402923}}
|-
|-
|35||{{AP|12305588}}||{{AP|73708511}}
| 35
| {{AP|12305588}}
| {{AP|73708511}}
|-
|-
|36||{{AP|14766705}}||{{AP|88475216}}
| 36
| {{AP|14766705}}
| {{AP|88475216}}
|-
|-
|37||{{AP|17720046}}||{{AP|106195262}}
| 37
| {{AP|17720046}}
| {{AP|106195262}}
|-
|-
|38||{{AP|21264056}}||{{AP|127459318}}
| 38
| {{AP|21264056}}
| {{AP|127459318}}
|-
|-
|39||{{AP|25516867}}||{{AP|152976185}}
| 39
| {{AP|25516867}}
| {{AP|152976185}}
|-
|-
|40||{{AP|30620240}}||{{AP|183596425}}
| 40
| {{AP|30620240}}
| {{AP|183596425}}
|-
|-
|41||{{AP|36744289}}||{{AP|220340714}}
| 41
| {{AP|36744289}}
| {{AP|220340714}}
|-
|-
|42||{{AP|44093147}}||{{AP|264433861}}
| 42
| {{AP|44093147}}
| {{AP|264433861}}
|-
|-
|43||{{AP|52911776}}||{{AP|317345637}}
| 43
| {{AP|52911776}}
| {{AP|317345637}}
|-
|-
|44||{{AP|63494131}}||{{AP|380839768}}
| 44
| {{AP|63494131}}
| {{AP|380839768}}
|-
|-
|45||{{AP|76192958}}||{{AP|457032726}}
| 45
| {{AP|76192958}}
| {{AP|457032726}}
|-
|-
|46||{{AP|91431549}}||{{AP|548464275}}
| 46
| {{AP|91431549}}
| {{AP|548464275}}
|-
|-
|47||{{AP|109717859}}||{{AP|658182134}}
| 47
| {{AP|109717859}}
| {{AP|658182134}}
|-
|-
|48||{{AP|131661431}}||{{AP|789843565}}
| 48
| {{AP|131661431}}
| {{AP|789843565}}
|-
|-
|49||{{AP|157993717}}||{{AP|947837282}}
| 49
| {{AP|157993717}}
| {{AP|947837282}}
|-
|-
|50||{{AP|189592461}}||{{AP|1137429743}}
| 50
| {{AP|189592461}}
| {{AP|1137429743}}
|-
|-
|51||{{AP|227510953}}||{{AP|1364940696}}
| 51
| {{AP|227510953}}
| {{AP|1364940696}}
|-
|-
|52||{{AP|273013144}}||{{AP|1637953840}}
| 52
| {{AP|273013144}}
| {{AP|1637953840}}
|-
|-
|53||{{AP|327615773}}||{{AP|1965569613}}
| 53
| {{AP|327615773}}
| {{AP|1965569613}}
|-
|-
|54||{{AP|393138928}}||{{AP|2358708541}}
| 54
| {{AP|393138928}}
| {{AP|2358708541}}
|-
|-
|55||{{AP|471766713}}||{{AP|2830475254}}
| 55
| {{AP|471766713}}
| {{AP|2830475254}}
|-
|-
|56||{{AP|566120056}}||{{AP|3396595310}}
| 56
| {{AP|566120056}}
| {{AP|3396595310}}
|-
|-
|57||{{AP|679344067}}||{{AP|4075939377}}
| 57
| {{AP|679344067}}
| {{AP|4075939377}}
|-
|-
|58||{{AP|815212881}}||{{AP|4891152258}}
| 58
| {{AP|815212881}}
| {{AP|4891152258}}
|-
|-
|59||{{AP|978255457}}||{{AP|5869407715}}
| 59
| {{AP|978255457}}
| {{AP|5869407715}}
|-
|-
|60+||{{AP|1000000000}}||{{AP|6869407715}}
| 60+
| {{AP|1000000000}}
| {{AP|6869407715}}
|}
|}

Latest revision as of 12:32, 27 October 2024

A script is used to generate the following table. To use, open the game and paste the below into the console. The outputs will be copied to your clipboard automatically. After running the script, 'edit source' on Template:AdventureAbyssalUnlockTable then Ctrl+A and Ctrl+V. Look over the contents to ensure everything looks fine then save.

let results = `<noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude>\n{| class="wikitable stickyHeader"\n|- class="headerRow-0"\n! Unlock\n! Cost \n! Cumulative Cost`;
let totalCost = 0, cost = 0, id = 0;
while (cost < 1000000000) {
	cost = game.gamemodes.getObjectByID('melvorF:Adventure').abyssalLevelCapCost.getCosts(game, id, 1)._currencies.get(game.abyssalPieces);
	totalCost += cost;
	results += `\n|-\n| ${id + 1}${cost === 1000000000 ? '+' : ''}`;
	results += `\n| {{AP|${cost}}}`;
	results += `\n| {{AP|${totalCost}}}`;
	id++;
}
results += '\n|}';console.log(results);
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(results, 'text') : copy(results);