diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-23 21:28:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-23 21:28:16 -0300 |
commit | ee47ffc71d56c00f1cb296068deec89c86293bea (patch) | |
tree | 8d2a27f92f7ec5fcada2de313c94aa9826986da3 | |
parent | 08a6ad152ecc54919506b21089d25b4c5f133ca5 (diff) | |
download | sdk-ee47ffc71d56c00f1cb296068deec89c86293bea.tar.gz sdk-ee47ffc71d56c00f1cb296068deec89c86293bea.tar.bz2 sdk-ee47ffc71d56c00f1cb296068deec89c86293bea.tar.xz sdk-ee47ffc71d56c00f1cb296068deec89c86293bea.zip |
Sex can now be toggled as well.
-rw-r--r-- | ueditor.rpy | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ueditor.rpy b/ueditor.rpy index d75bff6..a8d580c 100644 --- a/ueditor.rpy +++ b/ueditor.rpy @@ -66,7 +66,12 @@ screen units_editor(): $ uedit=allunitsbase[current] - label _("%s %s %s" % (star_write(uedit["rare"]), uedit["name"], ifte(uedit["sex"], "(F)", "(M)"))) + hbox: + label _("%s %s" % (star_write(uedit["rare"]), uedit["name"])) + null width 30 + textbutton "%s" % ifte(uedit["sex"], "(F)", "(M)"): + action Function(ueditor, "sex", ifte(uedit["sex"], + 0, 1), True) hbox: spacing 10 #textbutton _("-") action Function(ueditor, "unit_id", -1) |