RC-39 | Weapon | Traits
This commit is contained in:
parent
850c166cf2
commit
40ce88ebf4
1 changed files with 11 additions and 0 deletions
|
|
@ -3,6 +3,17 @@ const { fields } = foundry.data;
|
|||
export class WeaponData extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema() {
|
||||
return {
|
||||
traits: new fields.SetField(
|
||||
new fields.StringField({
|
||||
blank: false,
|
||||
trim: true,
|
||||
nullable: false,
|
||||
}),
|
||||
{
|
||||
nullable: false,
|
||||
required: true,
|
||||
},
|
||||
),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue