diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-25 12:10:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-25 12:10:01 -0300 |
commit | 0248a71aaa842a728e4375cad0bafdad737c0430 (patch) | |
tree | 53e21ef3dc5d19f3f8e9e3894ee660781c87dae9 /game/01_init.rpy | |
parent | 61a0b9b9fec3a390dca60db81e18f26ae2e821b7 (diff) | |
download | client-0248a71aaa842a728e4375cad0bafdad737c0430.tar.gz client-0248a71aaa842a728e4375cad0bafdad737c0430.tar.bz2 client-0248a71aaa842a728e4375cad0bafdad737c0430.tar.xz client-0248a71aaa842a728e4375cad0bafdad737c0430.zip |
Fork code, replace some ifs with showifs in screen, add dummy structures.
Hopefully, code will be more stable from now on.
It might still crash, but then I'll be sure the bug is on the draggroups.
Diffstat (limited to 'game/01_init.rpy')
-rw-r--r-- | game/01_init.rpy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy index cd45f0a..d90bf7e 100644 --- a/game/01_init.rpy +++ b/game/01_init.rpy @@ -106,6 +106,25 @@ init -3 python: IRC_AUTH_NICK =2 IRC_AUTH_CHAN =3 + # Special error structs + ERR_MOBSTRUCT ={ + "name": "ERROR", + "unit_id": 0, + "max_hp": 0, + "hp": 0, + "atk": 0, + "ele": 0, + "status_effects": 0 + } + ERR_PLAYERSTRUCT={ + "unit_id": 0, + "max_hp": 0, + "hp": 0, + "atk": 0, + "ele": 0, + "status_effects": 0 + } + # Smart Print command def stdout(message): if debug: |