From 0867fe6d5fbafa2d82a4b2bd3b67f795101cdc10 Mon Sep 17 00:00:00 2001 From: Joe S <31870999+KenwoodFox@users.noreply.github.com> Date: Wed, 17 Feb 2021 14:35:36 -0500 Subject: [PATCH] Order artbox and inventory list together --- Adventure Game/adventure_game/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Adventure Game/adventure_game/main.py b/Adventure Game/adventure_game/main.py index cb4e615..0a9c462 100644 --- a/Adventure Game/adventure_game/main.py +++ b/Adventure Game/adventure_game/main.py @@ -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