fn deserialize_routine_max_difficulty<'de, D>(
deserializer: D,
) -> Result<RoutineDifficulty, D::Error>where
D: Deserializer<'de>,Expand description
Deserialise a *_routine_max_difficulty permissively: an unknown or
wrong-typed value (stale, hand-edited, or from a future build) falls back
to RoutineDifficulty::default rather than failing the whole profile
load (#212). Shares the deserialize_with_fallback helper with the
other tolerant settings enums; kept as a field-level deserialize_with
(not a type-level Deserialize impl) so content packs still parse
routines through the strict derived Deserialize.