diff options
Diffstat (limited to 'lib/colonial_twilight/forces.rb')
-rw-r--r-- | lib/colonial_twilight/forces.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/colonial_twilight/forces.rb b/lib/colonial_twilight/forces.rb index f2b4149..6d26dea 100644 --- a/lib/colonial_twilight/forces.rb +++ b/lib/colonial_twilight/forces.rb @@ -119,6 +119,13 @@ module ColonialTwilight update_control end + def activate(num) + raise "can't activate #{num}" if @fln_underground < num + + @fln_underground -= num + @fln_active += num + end + private def add_base(type, num = 1) |