Add new damage type: desiccation

This commit is contained in:
2023-10-12 22:54:01 +02:00
parent d295e16049
commit 887f06f70e
2 changed files with 3 additions and 1 deletions

2
l18n

Submodule l18n updated: 8ea0cd2c7e...eea900820d

View File

@ -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"),
};