summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-31 21:09:36 +0100
committerAki <please@ignore.pl>2022-12-31 21:09:36 +0100
commitc1e82cd6a6b051b43b18cea258aed80e021f85bb (patch)
treeb91b63950d53f96fe08dc7a4a6a4dc55146c1b4e
parent94adce2bfbd1fd2c2351f48f8fd0b9665e742bc0 (diff)
downloadkurator-c1e82cd6a6b051b43b18cea258aed80e021f85bb.zip
kurator-c1e82cd6a6b051b43b18cea258aed80e021f85bb.tar.gz
kurator-c1e82cd6a6b051b43b18cea258aed80e021f85bb.tar.bz2
Added Gauss Cannon to sample repository
-rw-r--r--campaign/src/scenarios.cpp2
-rw-r--r--universe/src/SampleRepository.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/campaign/src/scenarios.cpp b/campaign/src/scenarios.cpp
index bbb01f4..979128b 100644
--- a/campaign/src/scenarios.cpp
+++ b/campaign/src/scenarios.cpp
@@ -19,7 +19,7 @@ example(int teams, int anvils, int warbringers, int eclipses, double distance)
Scenario scenario {"Example", distance, {}};
for (int team = 0; team < teams; ++team) {
for (int i = 0; i < anvils; ++i)
- scenario.ships.push_back(ShipConfig{{id++}, team, "Anvil", {"ChargeLaser", "BurstLaser"}});
+ scenario.ships.push_back(ShipConfig{{id++}, team, "Anvil", {"ChargeLaser", "GaussCannon"}});
for (int i = 0; i < warbringers; ++i)
scenario.ships.push_back(ShipConfig{{id++}, team, "Warbringer", {"BurstLaser"}});
for (int i = 0; i < eclipses; ++i)
diff --git a/universe/src/SampleRepository.cpp b/universe/src/SampleRepository.cpp
index 857d175..0f29073 100644
--- a/universe/src/SampleRepository.cpp
+++ b/universe/src/SampleRepository.cpp
@@ -25,6 +25,7 @@ static const std::unordered_map<std::string, ShipType> ships {
static const std::unordered_map<std::string, TurretType> turrets {
{"ChargeLaser", {"ChargeLaser", 1, 85.0, 4.5, 0.0, 7000.0, 0.05}},
{"BurstLaser", {"BurstLaser", 3, 21.0, 0.25, 2.75, 3500.0, 0.05}},
+ {"GaussCannon", {"GaussCannon", 2, 55.0, 0.0, 5.5, 12000.0, 0.2}},
};