summaryrefslogtreecommitdiff
path: root/game/01_init.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-26 15:27:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-26 15:27:04 -0300
commit0c25acaa7322de380809f0ed3514b7dbbbefc7fa (patch)
treeb419449889fe3c70d12ed2c56c1a7c0219fcaa41 /game/01_init.rpy
parent061ac16210375fa68419bfa40da68655fb207c9f (diff)
downloadclient-0c25acaa7322de380809f0ed3514b7dbbbefc7fa.tar.gz
client-0c25acaa7322de380809f0ed3514b7dbbbefc7fa.tar.bz2
client-0c25acaa7322de380809f0ed3514b7dbbbefc7fa.tar.xz
client-0c25acaa7322de380809f0ed3514b7dbbbefc7fa.zip
In theory, this displays unit job on inventory screen and corrects HP/ATK vals.
Diffstat (limited to 'game/01_init.rpy')
-rw-r--r--game/01_init.rpy16
1 files changed, 14 insertions, 2 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy
index d90bf7e..3dc04ff 100644
--- a/game/01_init.rpy
+++ b/game/01_init.rpy
@@ -95,10 +95,10 @@ init -3 python:
# Jobs
Job_Swordsman =1
- Job_Assassin =2
+ Job_Undefined1 =2
Job_Mage =3
Job_Archer =4
- Job_Gunner =5
+ Job_Undefined2 =5
# IRC flags
IRC_AUTH_NONE =0
@@ -125,6 +125,18 @@ init -3 python:
"status_effects": 0
}
+
+ # Returns human readable job
+ def parse_job(JOB):
+ if (JOB == Job_Swordsman):
+ return _("Swordsmaster")
+ elif (JOB == Job_Mage):
+ return _("Wizard")
+ elif (JOB == Job_Archer):
+ return _("Ranger")
+ else:
+ return _("???")
+
# Smart Print command
def stdout(message):
if debug: