|
5 | 5 | from saveloader import editSystemSave, addSystemSave |
6 | 6 | from checkbadge import calculateBadge |
7 | 7 |
|
| 8 | +def startup(system, systemlevel, systempro, systembadge, systemlogo, systemunlock, systemunlocklevel): |
| 9 | + global unlock |
| 10 | + global unlocklevel |
| 11 | + |
| 12 | + unlock = systemunlock |
| 13 | + unlocklevel = systemunlocklevel |
| 14 | + |
| 15 | + clear() |
| 16 | + print('P r o g r e s s b a r ', systemlogo) |
| 17 | + print(systembadge) |
| 18 | + print('\n\n\nNow Loading...') |
| 19 | + sleep(5) |
| 20 | + beginMenu(system, systemlevel, systempro) |
| 21 | + |
8 | 22 | # shutdown woohoo |
9 | 23 | def shutdown(): |
10 | 24 | clear() |
@@ -276,33 +290,18 @@ def startGame(systemName, startLevel, proLevel): |
276 | 290 | startLevel += 1 |
277 | 291 | editSystemSave(systemName, startLevel) |
278 | 292 |
|
| 293 | + # system unlock check section |
| 294 | + if startLevel == unlocklevel: |
| 295 | + rprint('[i]A new system has unlocked...[/i]') |
| 296 | + addSystemSave(unlock) |
| 297 | + |
279 | 298 | # check pro |
280 | 299 | if startLevel == proLevel: |
281 | 300 | print('\nCongratulations! You are the Professional!') |
282 | 301 | print('Pro Label acquired!') |
283 | 302 | systemLevel = 1 |
284 | 303 | systemLabel = "Pro" |
285 | 304 |
|
286 | | - # system check section |
287 | | - if startLevel == 15 and systemName == "95": |
288 | | - print('Progressbar 95 plus unlocked...') |
289 | | - addSystemSave("95plus") |
290 | | - elif startLevel == 25 and systemName == "95plus": |
291 | | - print('Progressbar 98 unlocked...') |
292 | | - addSystemSave("98") |
293 | | - elif startLevel == 30 and systemName == "98": |
294 | | - print('Progressbar Meme unlocked...') |
295 | | - addSystemSave("Meme") |
296 | | - elif startLevel == 30 and systemName == "Meme": |
297 | | - print('Progressbar 2000 unlocked...') |
298 | | - addSystemSave("2000") |
299 | | - elif startLevel == 40 and systemName == "2000": |
300 | | - print('Progressbar XB unlocked...') |
301 | | - addSystemSave("XB") |
302 | | - elif startLevel == 50 and systemName == "XB": |
303 | | - print('Progressbar Wista unlocked...') |
304 | | - addSystemSave("Wista") |
305 | | - |
306 | 305 | # label check section |
307 | 306 | if startLevel == 100: |
308 | 307 | print('\nExpert Label acquired!') |
|
0 commit comments