Skip to content

Stratagem target logic

Game version: 1.32a

← Moddable tables index · Documentation index

Library table: Stratagem target logic (ID 374)  ·  S&S Editor slot: 9  ·  Template: 9 stratagem_target_logic.csv

Decides whether a selected target is valid for a stratagem whose Target Type (Stratagems col 7) is not 0/national. Each row tests one condition against the candidate target; a failing row blocks the play and shows its error text.

Scope & logic

stratagem scope (see Logic Scopes — what's available where).

Logic-bearing columns (build-time scope-checked): target_if

Columns

Column names + count are read from the live template (the game's own headers); descriptions are curated.

Col Name Description
0 Card ID list [][] Card ID list — uses the [id][id] system, e.g. [4][12] applies this row to stratagems 4 and 12.
1 Target IF Logic Target IF Logic — returns 0 or 1 for the target being tested (target-scope logic).
2 Text if not TRUE Error text — shown to the player when this row blocks the play.
3 TRUE is 1 or 0 True is — 0 or 1: the value col 1 must return to PASS (otherwise the error text shows).
4 New Col Mouse-over — description of this condition; also added to the stratagem's mouse-over.

This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.