diff --git a/include/billy_objects.hpp b/include/billy_objects.hpp index 3841153..f0f4260 100644 --- a/include/billy_objects.hpp +++ b/include/billy_objects.hpp @@ -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 &operation) noexcept; + const std::function &operation) noexcept; static void change_carac_equipment(const equipments &arg, CharacterSheet &sheet, diff --git a/src/billy_objects.cpp b/src/billy_objects.cpp index 1ce312b..914c380 100644 --- a/src/billy_objects.cpp +++ b/src/billy_objects.cpp @@ -150,6 +150,8 @@ namespace character { return cooking_pot; case equipments::MedicKit: return medic_kit; + case equipments::PamphletTourist: + return pamphlet_tourist; } }, [](const tools &arg) {