From f237f4995acbe9c5458f10c8e008af032e422b20 Mon Sep 17 00:00:00 2001 From: tcaxle Date: Sat, 11 Apr 2020 23:30:53 +0100 Subject: [PATCH] Exalted Class and Lunar Shapes. Migrations. --- app/__pycache__/models.cpython-38.pyc | Bin 28654 -> 29252 bytes app/migrations/0017_auto_20200411_2228.py | 114 ++++++++++++++++++ .../0017_auto_20200411_2228.cpython-38.pyc | Bin 0 -> 2634 bytes app/models.py | 16 ++- 4 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 app/migrations/0017_auto_20200411_2228.py create mode 100644 app/migrations/__pycache__/0017_auto_20200411_2228.cpython-38.pyc diff --git a/app/__pycache__/models.cpython-38.pyc b/app/__pycache__/models.cpython-38.pyc index c013a72307721f41e1b20aed806e63e5d386dd21..d6a31fa8c65bc5ae4fdf19ba910d474abb2d38d6 100644 GIT binary patch delta 5480 zcma)A3rw5W73SL57%*UL^9bP?2#XtNArG2BUglX6AWbkK{CWQ1KVUF6xi*iGw1kkR zX_};uv%a@g*;e(DilwD(nlv4xX*RXhwr0~*%~MrHs?=3cr%LPEwbG)UbAN+>leQYj z=fCIN@1Aq+x#ymH|Noz#uy;RY$!$qV2{HJ0U+ts2&y75ioXu{&vh+U}q=ig*&4=}==hy&znR+yJ7-b*eZ`SH?l%}iJLAGCv-)gH(9Yx$-_W2_aAup0orZ0N4H?1guJo%kI!^BNcs;=bJj%jDMK$RW3-QkC#->JBBN{j_ z47`CO+oKG;5jN13rB!YW1m&QoD_ZyE#ZG%fcU-H>>1wQL z%hbM%L^29MfX_f&$$RW=xK@(B`1_IOz<|=_kugplh4ALm$y{;>gZK`qdzZ-XNT3Vr zhy82qkiXOfUzLs;e^1?~P-KJqZ$G7FOYeA4%U-+V0WBLS11+0Z{&Ow+*Yc>|@nuhF zd-KW@plbPeM3e>}Ek77xZP2$u(`y66%KNmvzgij9yS8FX+nc-21Rq!2qZO^KFu}n) z_s>(&!?mlU=6`+lgceLz?yEec6=hXLc}a+ws>52uG>YUk!&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M_dm##-P}AD7!LB4BN!8NMn~#k9$v$ V;MoUpAwCpk6{NArswFk6{|iWZ0}cQH literal 0 HcmV?d00001 diff --git a/app/models.py b/app/models.py index f6f6daf..a711c03 100644 --- a/app/models.py +++ b/app/models.py @@ -620,12 +620,18 @@ class characterExaltBase(characterBase): abstract = True #============= MOTES ==============# + motesPersonalMax = NamedIntegerField("Maximum Personal Motes") + motesPersonal = NamedIntegerField("Current Personal Motes") + motesPeripheralMax = NamedIntegerField("Maximum Peripheral Motes") + motesPeripheral = NamedIntegerField("Current Peripheral Motes") #============= LIMIT ==============# + limitTrigger = models.TextField(verbose_name="Limit Trigger", blank="False", max_length=1000) + limitBreak = NamedIntegerField("Limit Break") #======= EXALTED EXPERIENCE =======# - - pass + experienceExaltedTotal = NamedIntegerField("Total Experience") + experienceExalted = NamedIntegerField("Current Experience") class characterExaltSolar(characterExaltBase): @@ -643,6 +649,8 @@ class characterExaltLunar(characterExaltBase): attributeFavored = MultiChoiceField("Favoured Attributes", ATTRIBUTES) #========= SHAPESHIFTING ==========# + # Reverse relation + # .charmLunarShape_set.all() #============= CHARMS =============# # Reverse relation @@ -769,6 +777,10 @@ class charmLunar(charmBase): attribute = SingleChoiceField("Key Attribute", ATTRIBUTES) character = NamedForeignKeyField("Character", characterExaltLunar) +class charmLunarShape(charmBase): + description = DescriptionField() + character = NamedForeignKeyField("Character", characterExaltLunar) + #==============================================================================# #----------------------------------- MERITS -----------------------------------# #==============================================================================#