@@ -265,6 +265,12 @@ function do_upgrade (id: number) {
265265 difficulty_halve_chance = difficulty_halve_chance * 2
266266 } else if ( id == 17 ) {
267267 difficulty_halve_max_time = difficulty_halve_max_time * 2
268+ } else if ( id == 18 ) {
269+ difficulty_halver_popup_time = difficulty_halver_popup_time * 2
270+ } else if ( id == 19 ) {
271+ difficulty_halve_chance = difficulty_halve_chance * 2
272+ } else if ( id == 20 ) {
273+ difficulty_halve_max_time = difficulty_halve_max_time * 2
268274 }
269275 autoclicker_speed = Math . floor ( autoclicker_speed )
270276 computer_speed = Math . floor ( computer_speed )
@@ -410,6 +416,7 @@ function define_upgrades () {
410416 make_upgrade_obj ( "Hardware Autoclickers" , "Triple the speed of cursors." , 15 , 2 , 10 , 3 , 0 , 0 , 0 )
411417 make_upgrade_obj ( "Discounted Cursors" , "Halves the price of cursors." , 15 , 3 , 10 , 5 , 0 , 0 , 0 )
412418 make_upgrade_obj ( "USB 3.0 Cursors" , "Quadruples the speed of cursors." , 20 , 4 , 10 , 5 , 0 , 0 , 0 )
419+ // only a visual aid
413420 info . stopCountdown ( )
414421 make_upgrade_obj ( "Faster Mining Software" , "Doubles the speed of computers." , 20 , 5 , 15 , 0 , 2 , 0 , 0 )
415422 make_upgrade_obj ( "Switch to Linux" , "Triples the speed of computers." , 30 , 6 , 20 , 0 , 5 , 0 , 0 )
@@ -423,9 +430,12 @@ function define_upgrades () {
423430 make_upgrade_obj ( "Improved ventilation" , "Doubles the speed of ASICs." , 80 , 13 , 80 , 0 , 0 , 5 , 0 )
424431 make_upgrade_obj ( "FPGAs are cheaper" , "Halves the price of ASICs." , 100 , 14 , 80 , 0 , 0 , 10 , 0 )
425432 info . stopCountdown ( )
426- make_upgrade_obj ( "Longer Popups " , "The Difficulty Halver pops up for twice as long." , 10 , 15 , 8 , 0 , 0 , 0 , 0 )
433+ make_upgrade_obj ( "Longer popups " , "The Difficulty Halver pops up for twice as long." , 10 , 15 , 8 , 0 , 0 , 0 , 0 )
427434 make_upgrade_obj ( "Luckier" , "The chance of the Difficulty Halver popping up is doubled." , 20 , 16 , 10 , 0 , 0 , 0 , 0 )
428435 make_upgrade_obj ( "Lengthier" , "The Difficulty Halver effect length is doubled" , 50 , 17 , 25 , 0 , 0 , 0 , 0 )
436+ make_upgrade_obj ( "Even longer popups" , "The Difficulty Halver pops up for twice as long." , 20 , 18 , 20 , 0 , 0 , 0 , 0 )
437+ make_upgrade_obj ( "Luck III" , "The chance of the Difficulty Halver popping up is doubled." , 50 , 19 , 30 , 0 , 0 , 0 , 0 )
438+ make_upgrade_obj ( "Slow time keeping" , "The Difficulty Halver effect length is doubled" , 80 , 20 , 50 , 0 , 0 , 0 , 0 )
429439}
430440function set_default_save ( ) {
431441 show_particles = true
0 commit comments