summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/actions/fln/terror.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2026-03-15 21:42:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2026-03-15 21:42:14 +0100
commitf0c2066e3ffffe3212658313cd6e30d85028412c (patch)
tree7fffcf8fcde438d1a565e154a52909fa6c054832 /lib/colonial_twilight/actions/fln/terror.rb
parente4e09f936d38a89082f40354fdf451ad875baffa (diff)
downloadcolonial-twilight-f0c2066e3ffffe3212658313cd6e30d85028412c.zip
colonial-twilight-f0c2066e3ffffe3212658313cd6e30d85028412c.tar.gz
implement FLN action & operations
Diffstat (limited to 'lib/colonial_twilight/actions/fln/terror.rb')
-rw-r--r--lib/colonial_twilight/actions/fln/terror.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/colonial_twilight/actions/fln/terror.rb b/lib/colonial_twilight/actions/fln/terror.rb
new file mode 100644
index 0000000..b812bb4
--- /dev/null
+++ b/lib/colonial_twilight/actions/fln/terror.rb
@@ -0,0 +1,33 @@
+# frozen_string_literal: true
+
+require_relative 'fln_action'
+
+module ColonialTwilight
+ module Actions
+ module FLN
+ # Terror 3.3.4
+ class Terror < FlnAction
+ def initialize(space, mode)
+ super(space, mode, cost: 1)
+ end
+
+ # flip 1 Underground Guerrilla to Active.
+ # place 1 Terror marker if none (max 12 on the map), set to Neutral
+ def apply!(board)
+ raise NotImplementedError
+ end
+
+ class << self
+ def op?
+ true
+ end
+
+ # Populated not Resettled space with Underground Guerrillas.
+ def applicable?(space)
+ !space.country? && space.pop.positive? && space.fln_underground.positive? # && !space.resettled?
+ end
+ end
+ end
+ end
+ end
+end