diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-23 21:21:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-23 21:21:22 -0300 |
commit | bb88d537288c8bd6e215c9bebe1dbe76efc161af (patch) | |
tree | df4da34b17c28c56522a85bb9f0c2a7903090f95 | |
parent | f239f7690ec9b8c1d32658dd16f33e766122b89c (diff) | |
download | sdk-bb88d537288c8bd6e215c9bebe1dbe76efc161af.tar.gz sdk-bb88d537288c8bd6e215c9bebe1dbe76efc161af.tar.bz2 sdk-bb88d537288c8bd6e215c9bebe1dbe76efc161af.tar.xz sdk-bb88d537288c8bd6e215c9bebe1dbe76efc161af.zip |
Be less wasteful in regards of space taken in unit screen
-rw-r--r-- | ueditor.rpy | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/ueditor.rpy b/ueditor.rpy index c5a79fc..621aa15 100644 --- a/ueditor.rpy +++ b/ueditor.rpy @@ -83,6 +83,9 @@ screen units_editor(): #key_events True action input.enable add input + null width 180 + label _("(%d)" % uedit["unit_base_id"]): + text_size 24 hbox: spacing 10 label _("Name: ") @@ -98,7 +101,6 @@ screen units_editor(): label _("Max Lv. %d" % uedit["max_level"]) null height 25 - label _("Base ID %d" % uedit["unit_base_id"]) label _("Flavor text:") #label _(uedit["flavor"]) $ input=Input( @@ -134,15 +136,35 @@ screen units_editor(): text "None: 0\nCannot levelup: 1\nCannot party: 2\nEXP+: 4\nEvoMat: 8\nDouble GP: 16\nUnsellable: 32\nSuper EvoMat: 64" size 12 null height 25 - label _(".:: Active Skill ::.") - label _("ID %d" % uedit["skill_id"]) # TODO: Open skills.json and parse the IDs - null height 25 + label _(".:: Skills ::.") + hbox: + label _("Active ID: "): + text_size 20 + $ input=Input( + value=UEditorInputValue(uedit, "skill_id", None, "int", dp=True), + copypaste=False, + allow="0123456789", + length=6, + size=20) + button: + #key_events True + action input.enable + add input - label _(".:: Passive ::.") - label _("ID %d" % uedit["ability_id"]) - # TODO: Open skills.json and parse the IDs - null height 25 + hbox: + label _("Passive ID: "): + text_size 20 + $ input=Input( + value=UEditorInputValue(uedit, "ability_id", None, "int", dp=True), + copypaste=False, + allow="0123456789", + length=6, + size=20) + button: + #key_events True + action input.enable + add input # TODO: Loot, waves ########################################### |