diff options
author | hop311 <hop3114@gmail.com> | 2024-10-23 01:21:25 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-10-23 01:21:25 +0200 |
commit | eca580673aec46cd6e730e7307c13afb858efd94 (patch) | |
tree | 8ad859f8c3b4cad664a7a3e4cd93edbbed60bb5f /src/openvic-simulation/modifier/ModifierEffect.hpp | |
parent | c88cf59997529cbca008f9a2b629822de9deaa2a (diff) |
[Work-In-Progress] Add ModifierEffectMappingmodifier-effect-mappings
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierEffect.hpp')
-rw-r--r-- | src/openvic-simulation/modifier/ModifierEffect.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/openvic-simulation/modifier/ModifierEffect.hpp b/src/openvic-simulation/modifier/ModifierEffect.hpp index ff82acf..1ba9f63 100644 --- a/src/openvic-simulation/modifier/ModifierEffect.hpp +++ b/src/openvic-simulation/modifier/ModifierEffect.hpp @@ -40,13 +40,12 @@ namespace OpenVic { const bool PROPERTY_CUSTOM_PREFIX(positive_good, is); const format_t PROPERTY(format); const target_t PROPERTY(targets); + std::string PROPERTY(mapping_key); // The identifier in the text defines that maps to this effect std::string PROPERTY(localisation_key); - // TODO - format/precision, e.g. 80% vs 0.8 vs 0.800, 2 vs 2.0 vs 200% - ModifierEffect( std::string_view new_identifier, bool new_positive_good, format_t new_format, target_t mew_targets, - std::string_view new_localisation_key + std::string_view new_mapping_key, std::string_view new_localisation_key ); public: |