misc. changes
This commit is contained in:
12
cli.py
12
cli.py
@@ -46,14 +46,14 @@ class cursesUI:
|
|||||||
self.win.addstr(0, 0, 'Tamagotchi Colony (alpha) - currently at tick '+str(ticks)+'.')
|
self.win.addstr(0, 0, 'Tamagotchi Colony (alpha) - currently at tick '+str(ticks)+'.')
|
||||||
|
|
||||||
if self.kingdomview:
|
if self.kingdomview:
|
||||||
self.win.addstr(1, 0, '-----------------------------------')
|
self.win.addstr(1, 0, '-----------------------------')
|
||||||
self.win.addstr(2, 0, '[q]uit [p]ause [s]witch view')
|
self.win.addstr(2, 0, '[Q]uit [P]ause [S]witch view')
|
||||||
self.win.addstr(3, 0, '-----------------------------------')
|
self.win.addstr(3, 0, '-----------------------------')
|
||||||
self.win.addstr(5, 0, king.show_kingdom())
|
self.win.addstr(5, 0, king.show_kingdom())
|
||||||
else:
|
else:
|
||||||
self.win.addstr(1, 0, '------------------------------------------------------------------')
|
self.win.addstr(1, 0, '--------------------------------------------------------------')
|
||||||
self.win.addstr(2, 0, '[q]uit [p]ause [s]witch view [b]ack [n]ext [a]bsolute numbers')
|
self.win.addstr(2, 0, '[Q]uit [P]ause [S]witch view [B]ack [N]ext [A]bsolute numbers')
|
||||||
self.win.addstr(3, 0, '------------------------------------------------------------------')
|
self.win.addstr(3, 0, '--------------------------------------------------------------')
|
||||||
self.win.addstr(5, 0, king.myvillages[self.villagenr].give_status(self.percentage))
|
self.win.addstr(5, 0, king.myvillages[self.villagenr].give_status(self.percentage))
|
||||||
|
|
||||||
self.win.clrtoeol()
|
self.win.clrtoeol()
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class Mayorgotchi:
|
|||||||
|
|
||||||
return result
|
return result
|
||||||
def get_status_list(self):
|
def get_status_list(self):
|
||||||
# A list containing lists of Tamagotchis and thier statuses
|
# A list containing lists of Tamagotchis and their statuses
|
||||||
# 0 = Idle
|
# 0 = Idle
|
||||||
# 1 = Eating
|
# 1 = Eating
|
||||||
# 2 = Sleeping
|
# 2 = Sleeping
|
||||||
|
|||||||
@@ -24,4 +24,6 @@ ken
|
|||||||
ir
|
ir
|
||||||
ne
|
ne
|
||||||
he
|
he
|
||||||
mu
|
mu
|
||||||
|
ke
|
||||||
|
una
|
||||||
Reference in New Issue
Block a user