Adding "pamphlet tourist" to the to_string function.

This commit is contained in:
Pcornat 2024-02-26 16:47:57 +01:00
parent 16422be351
commit bdc9adcf75
Signed by: Pcornat
GPG Key ID: E0326CC678A00BDD
2 changed files with 5 additions and 1 deletions

View File

@ -54,6 +54,7 @@ namespace character {
static constexpr std::string_view chainmail{ "Chainmail" };
static constexpr std::string_view cooking_pot{ "Cooking pot" };
static constexpr std::string_view pamphlet_tourist{ "Touristic pamphlet" };
static constexpr std::string_view medic_kit{ "Medic kit" };
static constexpr std::string_view fourche{ "Fourche" };
@ -78,7 +79,8 @@ namespace character {
characteristic::Characteristic &localHabilete,
characteristic::Characteristic &localAdresse,
characteristic::Characteristic &localEndurance,
const std::function<std::uint32_t(std::uint32_t, std::uint32_t)> &operation) noexcept;
const std::function<std::uint32_t(std::uint32_t,
std::uint32_t)> &operation) noexcept;
static void change_carac_equipment(const equipments &arg,
CharacterSheet &sheet,

View File

@ -150,6 +150,8 @@ namespace character {
return cooking_pot;
case equipments::MedicKit:
return medic_kit;
case equipments::PamphletTourist:
return pamphlet_tourist;
}
},
[](const tools &arg) {