summaryrefslogtreecommitdiff
path: root/game/inventory.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-24 13:26:22 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-24 13:26:22 -0300
commitefb9ff3bcea2cae42ba79a6727bcc4a862231ef4 (patch)
tree6dccc070b4d0a4ef0c6fc4d0a862ade5492e01a0 /game/inventory.rpy
parent130930126365bee063e2029cae1043629396f663 (diff)
downloadclient-efb9ff3bcea2cae42ba79a6727bcc4a862231ef4.tar.gz
client-efb9ff3bcea2cae42ba79a6727bcc4a862231ef4.tar.bz2
client-efb9ff3bcea2cae42ba79a6727bcc4a862231ef4.tar.xz
client-efb9ff3bcea2cae42ba79a6727bcc4a862231ef4.zip
Change unit info display so it is easier to view the image =D
Diffstat (limited to 'game/inventory.rpy')
-rw-r--r--game/inventory.rpy7
1 files changed, 4 insertions, 3 deletions
diff --git a/game/inventory.rpy b/game/inventory.rpy
index e17f497..5d90ea2 100644
--- a/game/inventory.rpy
+++ b/game/inventory.rpy
@@ -95,13 +95,14 @@ screen char_details(un, hpval, akval, idx):
frame:
#at msgbox_emp
+ yalign 1.0
vbox:
xalign 0.5
- yalign 0.5
+ yalign 0.9
spacing 30
- label _("{b}%s{/b}\n%s\n\nHP: %d\nATK: %d\nLv %d/%d\nEXP: %d") % (
+ label _("{b}%s{/b}\n%s\n\nHP: %d — ATK: %d\nLv %d/%d — EXP: %d") % (
star_write(un["rare"]), un["name"],
hpval, akval,
Player["inv"][idx]["level"],
@@ -147,7 +148,7 @@ label show_inv:
if (_return >= 0):
$stdout("Selected unit index %d" % _return)
$un=allunits[Player["inv"][_return]["unit_id"]]
- $show_img("unit_"+str(un["unit_id"]), at_list=[truecenter])
+ $show_img("unit_"+str(un["unit_id"]), at_list=[ttop]) # truecenter
$hpval=readjust_status(un["rare"], un["job"],
True)*Player["inv"][_return]["level"]+un["hp"]
$akval=readjust_status(un["rare"], un["job"],