diff --git a/app/__pycache__/models.cpython-38.pyc b/app/__pycache__/models.cpython-38.pyc index dffe3f5..6a5766c 100644 Binary files a/app/__pycache__/models.cpython-38.pyc and b/app/__pycache__/models.cpython-38.pyc differ diff --git a/app/migrations/0010_auto_20200411_1302.py b/app/migrations/0010_auto_20200411_1302.py new file mode 100644 index 0000000..57dabaf --- /dev/null +++ b/app/migrations/0010_auto_20200411_1302.py @@ -0,0 +1,24 @@ +# Generated by Django 3.0.5 on 2020-04-11 13:02 + +import app.models +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('app', '0009_auto_20200411_1301'), + ] + + operations = [ + migrations.AddField( + model_name='itemarmor', + name='category', + field=app.models.SingleChoiceField(blank=True, choices=[('L', 'Light'), ('M', 'Medium'), ('H', 'Heavy')], max_length=100, verbose_name='Category'), + ), + migrations.AddField( + model_name='itemarmor', + name='tags', + field=app.models.MultiChoiceField(blank=True, choices=[('BUOYANT', 'Buoyant'), ('CONCEALABLE', 'Concealable'), ('SILENT', 'Silent')], max_length=100, verbose_name='Tags'), + ), + ] diff --git a/app/migrations/__pycache__/0010_auto_20200411_1302.cpython-38.pyc b/app/migrations/__pycache__/0010_auto_20200411_1302.cpython-38.pyc new file mode 100644 index 0000000..16392f8 Binary files /dev/null and b/app/migrations/__pycache__/0010_auto_20200411_1302.cpython-38.pyc differ diff --git a/app/models.py b/app/models.py index 5004b27..656f4eb 100644 --- a/app/models.py +++ b/app/models.py @@ -265,8 +265,8 @@ class itemWeaponRanged(itemWeaponBase): #----------------------------------- ARMOR ------------------------------------# #==============================================================================# class itemArmor(itemBase): - # category - # tags + category = SingleChoiceField("Category", CATEGORIES) + tags = MultiChoiceField("Tags", TAGS_ARMOR) soak = NamedIntegerField("Soak") hardness = NamedIntegerField("Hardness") mobilityPenalty = NamedIntegerField("Mobility Penalty")