Add new damage type: desiccation
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: 8ea0cd2c7e...eea900820d
@ -13,6 +13,7 @@ enum MDObjectDamageType implements MDValueEnumInterface, JsonSerializable {
|
||||
|
||||
case water_damage;
|
||||
case breakage;
|
||||
case desiccation;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@ -26,6 +27,7 @@ enum MDObjectDamageType implements MDValueEnumInterface, JsonSerializable {
|
||||
return match($input) {
|
||||
'water_damage' => self::water_damage,
|
||||
'breakage' => self::breakage,
|
||||
'desiccation' => self::desiccation,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown damage type"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user