Update main.py

This commit is contained in:
Joe S 2021-02-17 16:23:43 -05:00
parent 0867fe6d5f
commit adf7383c9f
1 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@ class GameNavigator(npyscreen.Form):
self.artBox = self.add(npyscreen.BoxBasic, name='Inventory', max_width=20, max_height=20, relx=1, rely=2) self.artBox = self.add(npyscreen.BoxBasic, name='Inventory', max_width=20, max_height=20, relx=1, rely=2)
self.DialogueBox = self.add(npyscreen.BoxBasic, name='Type Here', max_width=20, max_height=20, relx=1, rely=2)
#self.myName = self.add(npyscreen.TitleText, name='Name') #self.myName = self.add(npyscreen.TitleText, name='Name')
#self.myDepartment = self.add(npyscreen.TitleSelectOne, scroll_exit=True, max_height=3, name='Department', #self.myDepartment = self.add(npyscreen.TitleSelectOne, scroll_exit=True, max_height=3, name='Department',
# values=['Department 1', 'Department 2', 'Department 3']) # values=['Department 1', 'Department 2', 'Department 3'])
@ -26,7 +28,8 @@ class MainMenu(npyscreen.Form):
self.parentApp.setNextForm('GAME') self.parentApp.setNextForm('GAME')
def create(self): def create(self):
self.playerSaveLocation = self.add(npyscreen.TitleFilenameCombo, name="Filename:") self.add(npyscreen.FixedText, value='You cannot select a file yet! Just hit OK', editable=False)
self.playerSaveLocation = self.add(npyscreen.TitleFilenameCombo, name="Your save file:")
self.add(npyscreen.MultiLineEdit, value=self.parentApp.gamelib['menu']['graphics']['logo'], editable=False) self.add(npyscreen.MultiLineEdit, value=self.parentApp.gamelib['menu']['graphics']['logo'], editable=False)