Armor. Migrations.
This commit is contained in:
parent
7b76481d1d
commit
5ee2813c4e
Binary file not shown.
24
app/migrations/0010_auto_20200411_1302.py
Normal file
24
app/migrations/0010_auto_20200411_1302.py
Normal file
@ -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'),
|
||||||
|
),
|
||||||
|
]
|
Binary file not shown.
@ -265,8 +265,8 @@ class itemWeaponRanged(itemWeaponBase):
|
|||||||
#----------------------------------- ARMOR ------------------------------------#
|
#----------------------------------- ARMOR ------------------------------------#
|
||||||
#==============================================================================#
|
#==============================================================================#
|
||||||
class itemArmor(itemBase):
|
class itemArmor(itemBase):
|
||||||
# category
|
category = SingleChoiceField("Category", CATEGORIES)
|
||||||
# tags
|
tags = MultiChoiceField("Tags", TAGS_ARMOR)
|
||||||
soak = NamedIntegerField("Soak")
|
soak = NamedIntegerField("Soak")
|
||||||
hardness = NamedIntegerField("Hardness")
|
hardness = NamedIntegerField("Hardness")
|
||||||
mobilityPenalty = NamedIntegerField("Mobility Penalty")
|
mobilityPenalty = NamedIntegerField("Mobility Penalty")
|
||||||
|
Loading…
Reference in New Issue
Block a user