Order artbox and inventory list together
This commit is contained in:
parent
cc620fda20
commit
0867fe6d5f
|
@ -9,11 +9,10 @@ class GameNavigator(npyscreen.Form):
|
|||
self.parentApp.setNextForm(None) # Nothing to do after this but exit the game.
|
||||
|
||||
def create(self):
|
||||
self.artBox = self.add(npyscreen.BoxBasic, name='ArtBox', max_width=100, max_height=20, relx=2,)
|
||||
self.artBox = self.add(npyscreen.BoxBasic, name='ArtBox', max_width=100, max_height=20, relx=21)
|
||||
self.artBox.footer = 'Unknown Location'
|
||||
|
||||
self.artBox = self.add(npyscreen.BoxBasic, name='ArtBox', max_width=100, max_height=20, relx=32, rely=2)
|
||||
self.artBox.footer = 'Unknown Location'
|
||||
self.artBox = self.add(npyscreen.BoxBasic, name='Inventory', max_width=20, max_height=20, relx=1, rely=2)
|
||||
|
||||
#self.myName = self.add(npyscreen.TitleText, name='Name')
|
||||
#self.myDepartment = self.add(npyscreen.TitleSelectOne, scroll_exit=True, max_height=3, name='Department',
|
||||
|
@ -44,7 +43,7 @@ class AlphaWarning(npyscreen.Popup):
|
|||
class AdventureGame(npyscreen.NPSAppManaged):
|
||||
# Do on creation
|
||||
def onStart(self):
|
||||
# Setup some important 'globa' values we'll need later
|
||||
# Setup some important 'global' values we'll need later
|
||||
self.gamelib = parse(
|
||||
'gamedata/gamelib.yaml') # parse this data first (since it includes graphics for the main menu
|
||||
self.playerSaveLocation = None # We'll load the save location after the player gets to the save select screen
|
||||
|
|
Loading…
Reference in New Issue