A save state/password generator for the original Metroid.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

5 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. class MetroidState:
  2. def __init__(self):
  3. self.itemsCollected = {
  4. "Maru Mari": False,
  5. "Bombs": False,
  6. "Long Beam": False,
  7. "Ice Beam": False,
  8. "Wave Beam": False,
  9. "High Jump Boots": False,
  10. "Varia": False,
  11. "Screw Attack": False
  12. }
  13. self.samusHas = {
  14. "Maru Mari": False,
  15. "Bombs": False,
  16. "Long Beam": False,
  17. "Ice Beam": False,
  18. "Wave Beam": False,
  19. "High Jump Boots": False,
  20. "Varia": False,
  21. "Screw Attack": False
  22. }
  23. self.missileTanks = {
  24. 1: False,
  25. 2: False,
  26. 3: False,
  27. 4: False,
  28. 5: False,
  29. 6: False,
  30. 7: False,
  31. 8: False,
  32. 9: False,
  33. 10: False,
  34. 11: False,
  35. 12: False,
  36. 13: False,
  37. 14: False,
  38. 15: False,
  39. 16: False,
  40. 17: False,
  41. 18: False,
  42. 19: False,
  43. 20: False,
  44. 21: False
  45. }
  46. self.energyTanks = {
  47. 1: False,
  48. 2: False,
  49. 3: False,
  50. 4: False,
  51. 5: False,
  52. 6: False,
  53. 7: False,
  54. 8: False
  55. }
  56. self.zebetitesDestroyed {
  57. 1: False,
  58. 2: False,
  59. 3: False,
  60. 4: False,
  61. 5: False
  62. }
  63. self.brinstarDoors {
  64. 1: False,
  65. 2: False,
  66. 3: False,
  67. 4: False,
  68. 5: False
  69. }
  70. self.norfairDoors {
  71. 1: False,
  72. 2: False,
  73. 3: False,
  74. 4: False
  75. }
  76. self.kraidDoors {
  77. 1: False,
  78. 2: False,
  79. 3: False,
  80. 4: False,
  81. 5: False
  82. }
  83. self.ridleyDoors {
  84. 1: False,
  85. 2: False
  86. }
  87. self.tourianDoors {
  88. 1: False,
  89. 2: False,
  90. 3: False
  91. }
  92. self.kraidKilles = False
  93. self.ridleyKilled = False
  94. self.motherBrainKilled = False
  95. self.kraidStatue = False
  96. self.ridleyStatue = False
  97. self.swimsuit = False
  98. self.missileCount = 0
  99. self.gameAge = 0
  100. self.startLocation = ["Brinstar", "Norfair", "Kraid's Lair", "Ridley's Lair", "Tourian"]
  101. def main():
  102. pass
  103. if __name__ == "__main__":
  104. main()