summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-23 21:24:07 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-23 21:24:07 -0300
commit08a6ad152ecc54919506b21089d25b4c5f133ca5 (patch)
tree771e3bd84765d1afe5c3c730837fcb12e64a4fd6
parentbb88d537288c8bd6e215c9bebe1dbe76efc161af (diff)
downloadsdk-08a6ad152ecc54919506b21089d25b4c5f133ca5.tar.gz
sdk-08a6ad152ecc54919506b21089d25b4c5f133ca5.tar.bz2
sdk-08a6ad152ecc54919506b21089d25b4c5f133ca5.tar.xz
sdk-08a6ad152ecc54919506b21089d25b4c5f133ca5.zip
Be even less wasteful, to make room to rarity changer
-rw-r--r--ueditor.rpy11
1 files changed, 9 insertions, 2 deletions
diff --git a/ueditor.rpy b/ueditor.rpy
index 621aa15..d75bff6 100644
--- a/ueditor.rpy
+++ b/ueditor.rpy
@@ -66,7 +66,7 @@ screen units_editor():
$ uedit=allunitsbase[current]
- label _("%d - %s %s %s" % (uedit["unit_id"], star_write(uedit["rare"]), uedit["name"], ifte(uedit["sex"], "(F)", "(M)")))
+ label _("%s %s %s" % (star_write(uedit["rare"]), uedit["name"], ifte(uedit["sex"], "(F)", "(M)")))
hbox:
spacing 10
#textbutton _("-") action Function(ueditor, "unit_id", -1)
@@ -86,6 +86,9 @@ screen units_editor():
null width 180
label _("(%d)" % uedit["unit_base_id"]):
text_size 24
+ null width 24
+ label _("MaxLv. %d" % uedit["max_level"]):
+ text_size 24
hbox:
spacing 10
label _("Name: ")
@@ -98,7 +101,11 @@ screen units_editor():
#key_events True
action input.enable
add input
- label _("Max Lv. %d" % uedit["max_level"])
+ hbox:
+ textbutton _("-") action Function(ueditor, "rare", -1)
+ label ("Rarity: %s" % star_write(uedit["rare"])):
+ text_size 24
+ textbutton _("+") action Function(ueditor, "rare", 1)
null height 25
label _("Flavor text:")