more minor refactoring of models
This commit is contained in:
parent
5beb9dc544
commit
a912229c50
@ -28,8 +28,8 @@ mutation_model = {
|
|||||||
}
|
}
|
||||||
# Dice model
|
# Dice model
|
||||||
dice_model = {
|
dice_model = {
|
||||||
'quantity': fields.Integer(required=True, description='The number of dice to roll'),
|
'quantity': fields.Integer(required=True, default=1, description='The number of dice to roll'),
|
||||||
'geometry': fields.Integer(required=True, description='The number of sides on each die'),
|
'geometry': fields.Integer(required=True, default=2, description='The number of sides on each die'),
|
||||||
'discard_lowest': fields.Boolean(required=False, default=False, description='Drop the lowest score')
|
'discard_lowest': fields.Boolean(required=False, default=False, description='Drop the lowest score')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user