From 85a404bfe887c5660639a889f2e05e7516558acf Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 12 Apr 2020 20:38:17 +0200 Subject: [PATCH] CA awards Orb of Aether automatically --- complex.cpp | 1 + system.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/complex.cpp b/complex.cpp index 628f6475..9b3602ce 100644 --- a/complex.cpp +++ b/complex.cpp @@ -3409,6 +3409,7 @@ EX namespace ca { EX void simulate() { if(cwt.at->land != laCA) return; + if(items[itOrbAether] < 2) items[itOrbAether] = 2; vector allcells; for(cell *c: changed) allcells.push_back(c); changed.clear(); diff --git a/system.cpp b/system.cpp index 3e76980b..f9ce9ab9 100644 --- a/system.cpp +++ b/system.cpp @@ -225,6 +225,9 @@ EX void initgame() { items[itOrbWinter] = 30; items[itOrbFlash] = 30; } + + if(firstland == laCA) + items[itOrbAether] = 2; if(tactic::on && firstland == laCaribbean) { if(hiitemsMax(itRedGem) >= 25) items[itRedGem] = min(hiitemsMax(itRedGem), 50);