summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:")