Exalted Class and Lunar Shapes. Migrations.
This commit is contained in:
parent
894f25f03e
commit
f237f4995a
Binary file not shown.
114
app/migrations/0017_auto_20200411_2228.py
Normal file
114
app/migrations/0017_auto_20200411_2228.py
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Generated by Django 3.0.5 on 2020-04-11 22:28
|
||||||
|
|
||||||
|
import app.models
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('app', '0016_auto_20200411_1851'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='experienceExalted',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Experience'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='experienceExaltedTotal',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Total Experience'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='limitBreak',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Limit Break'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='limitTrigger',
|
||||||
|
field=models.TextField(blank='False', max_length=1000, verbose_name='Limit Trigger'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='motesPeripheral',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Peripheral Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='motesPeripheralMax',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Maximum Peripheral Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='motesPersonal',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Personal Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltlunar',
|
||||||
|
name='motesPersonalMax',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Maximum Personal Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='experienceExalted',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Experience'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='experienceExaltedTotal',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Total Experience'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='limitBreak',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Limit Break'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='limitTrigger',
|
||||||
|
field=models.TextField(blank='False', max_length=1000, verbose_name='Limit Trigger'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='motesPeripheral',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Peripheral Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='motesPeripheralMax',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Maximum Peripheral Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='motesPersonal',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Current Personal Motes'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='characterexaltsolar',
|
||||||
|
name='motesPersonalMax',
|
||||||
|
field=app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Maximum Personal Motes'),
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='charmLunarShape',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('name', app.models.NameField(max_length=100, verbose_name='Name')),
|
||||||
|
('levelEssence', app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Essence Level')),
|
||||||
|
('levelKey', app.models.NamedIntegerField(default=0, help_text=None, verbose_name='Key Level')),
|
||||||
|
('active', app.models.NamedBooleanField(default=False, verbose_name='Active?')),
|
||||||
|
('description', app.models.DescriptionField(blank=True, max_length=1000, verbose_name='Description')),
|
||||||
|
('character', app.models.NamedForeignKeyField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.characterExaltLunar', verbose_name='Character')),
|
||||||
|
('modifierAbility', app.models.NamedManyToManyField(blank=True, to='app.modifierAbility', verbose_name='Abilities Modifiers')),
|
||||||
|
('modifierAttribute', app.models.NamedManyToManyField(blank=True, to='app.modifierAttribute', verbose_name='Attribute Modifiers')),
|
||||||
|
('modifierStatic', app.models.NamedManyToManyField(blank=True, to='app.modifierStatic', verbose_name='Statics Modifiers')),
|
||||||
|
('rollConfiguration', app.models.NamedManyToManyField(blank=True, to='app.rollConfiguration', verbose_name='Roll Configurations')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'abstract': False,
|
||||||
|
},
|
||||||
|
),
|
||||||
|
]
|
Binary file not shown.
@ -620,12 +620,18 @@ class characterExaltBase(characterBase):
|
|||||||
abstract = True
|
abstract = True
|
||||||
|
|
||||||
#============= MOTES ==============#
|
#============= MOTES ==============#
|
||||||
|
motesPersonalMax = NamedIntegerField("Maximum Personal Motes")
|
||||||
|
motesPersonal = NamedIntegerField("Current Personal Motes")
|
||||||
|
motesPeripheralMax = NamedIntegerField("Maximum Peripheral Motes")
|
||||||
|
motesPeripheral = NamedIntegerField("Current Peripheral Motes")
|
||||||
|
|
||||||
#============= LIMIT ==============#
|
#============= LIMIT ==============#
|
||||||
|
limitTrigger = models.TextField(verbose_name="Limit Trigger", blank="False", max_length=1000)
|
||||||
|
limitBreak = NamedIntegerField("Limit Break")
|
||||||
|
|
||||||
#======= EXALTED EXPERIENCE =======#
|
#======= EXALTED EXPERIENCE =======#
|
||||||
|
experienceExaltedTotal = NamedIntegerField("Total Experience")
|
||||||
pass
|
experienceExalted = NamedIntegerField("Current Experience")
|
||||||
|
|
||||||
class characterExaltSolar(characterExaltBase):
|
class characterExaltSolar(characterExaltBase):
|
||||||
|
|
||||||
@ -643,6 +649,8 @@ class characterExaltLunar(characterExaltBase):
|
|||||||
attributeFavored = MultiChoiceField("Favoured Attributes", ATTRIBUTES)
|
attributeFavored = MultiChoiceField("Favoured Attributes", ATTRIBUTES)
|
||||||
|
|
||||||
#========= SHAPESHIFTING ==========#
|
#========= SHAPESHIFTING ==========#
|
||||||
|
# Reverse relation
|
||||||
|
# .charmLunarShape_set.all()
|
||||||
|
|
||||||
#============= CHARMS =============#
|
#============= CHARMS =============#
|
||||||
# Reverse relation
|
# Reverse relation
|
||||||
@ -769,6 +777,10 @@ class charmLunar(charmBase):
|
|||||||
attribute = SingleChoiceField("Key Attribute", ATTRIBUTES)
|
attribute = SingleChoiceField("Key Attribute", ATTRIBUTES)
|
||||||
character = NamedForeignKeyField("Character", characterExaltLunar)
|
character = NamedForeignKeyField("Character", characterExaltLunar)
|
||||||
|
|
||||||
|
class charmLunarShape(charmBase):
|
||||||
|
description = DescriptionField()
|
||||||
|
character = NamedForeignKeyField("Character", characterExaltLunar)
|
||||||
|
|
||||||
#==============================================================================#
|
#==============================================================================#
|
||||||
#----------------------------------- MERITS -----------------------------------#
|
#----------------------------------- MERITS -----------------------------------#
|
||||||
#==============================================================================#
|
#==============================================================================#
|
||||||
|
Loading…
Reference in New Issue
Block a user