mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Changes (#64)
* Fix bug where collected maps show on item menu if compass shuffle is on, (and collected compasses if map shuffle is on.) * Add Dungeon Counter Options
This commit is contained in:
16
Gui.py
16
Gui.py
@@ -289,6 +289,14 @@ def guiMain(args=None):
|
||||
timerLabel = Label(timerFrame, text='Timer setting')
|
||||
timerLabel.pack(side=LEFT)
|
||||
|
||||
dungeonCounterFrame = Frame(drowDownFrame)
|
||||
dungeonCounterVar = StringVar()
|
||||
dungeonCounterVar.set('auto')
|
||||
dungeonCounterOptionMenu = OptionMenu(dungeonCounterFrame, dungeonCounterVar, 'auto', 'off', 'on', 'on_compass_pickup')
|
||||
dungeonCounterOptionMenu.pack(side=RIGHT)
|
||||
dungeonCounterLabel = Label(dungeonCounterFrame, text='Dungeon Chest Counters')
|
||||
dungeonCounterLabel.pack(side=LEFT)
|
||||
|
||||
progressiveFrame = Frame(drowDownFrame)
|
||||
progressiveVar = StringVar()
|
||||
progressiveVar.set('on')
|
||||
@@ -330,6 +338,7 @@ def guiMain(args=None):
|
||||
difficultyFrame.pack(expand=True, anchor=E)
|
||||
itemfunctionFrame.pack(expand=True, anchor=E)
|
||||
timerFrame.pack(expand=True, anchor=E)
|
||||
dungeonCounterFrame.pack(expand=True, anchor=E)
|
||||
progressiveFrame.pack(expand=True, anchor=E)
|
||||
accessibilityFrame.pack(expand=True, anchor=E)
|
||||
algorithmFrame.pack(expand=True, anchor=E)
|
||||
@@ -427,6 +436,13 @@ def guiMain(args=None):
|
||||
guiargs.timer = timerVar.get()
|
||||
if guiargs.timer == "none":
|
||||
guiargs.timer = False
|
||||
guiargs.dungeon_counters = dungeonCounterVar.get()
|
||||
if guiargs.dungeon_counters == "on_compass_pickup":
|
||||
guiargs.dungeon_counters = "pickup"
|
||||
elif guiargs.dungeon_counters == "on":
|
||||
guiargs.dungeon_counters = True
|
||||
elif guiargs.dungeon_counters == "off":
|
||||
guiargs.dungeon_counters = False
|
||||
guiargs.progressive = progressiveVar.get()
|
||||
guiargs.accessibility = accessibilityVar.get()
|
||||
guiargs.algorithm = algorithmVar.get()
|
||||
|
Reference in New Issue
Block a user