diff options
author | Aki <please@ignore.pl> | 2023-01-08 15:38:00 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-08 15:38:00 +0100 |
commit | 209648a39c98ccddc622703554912a21c2471531 (patch) | |
tree | 3e322af8eefd566cdf2b5d6f997431c6d6a184b4 /universe/src | |
parent | 088f57155c79c5ee41e667496e2cd657af91a605 (diff) | |
download | kurator-209648a39c98ccddc622703554912a21c2471531.zip kurator-209648a39c98ccddc622703554912a21c2471531.tar.gz kurator-209648a39c98ccddc622703554912a21c2471531.tar.bz2 |
Implemented naive armour and shield without parametrized resits
Diffstat (limited to 'universe/src')
-rw-r--r-- | universe/src/JsonRepository.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/universe/src/JsonRepository.cpp b/universe/src/JsonRepository.cpp index 40b0b70..e8c8ed3 100644 --- a/universe/src/JsonRepository.cpp +++ b/universe/src/JsonRepository.cpp @@ -27,6 +27,8 @@ from_json(const json& item, ShipType& ship) { item.at("name").get_to(ship.name); item.at("base_structure_points").get_to(ship.base_structure_points); + item.at("base_armour_points").get_to(ship.base_armour_points); + item.at("base_shield_points").get_to(ship.base_shield_points); item.at("max_speed").get_to(ship.max_speed); } |