DM utils/sides.cfg: follow up FIXME
This commit is contained in:
parent
289af5ba1b
commit
370e50c5a6
1 changed files with 12 additions and 15 deletions
|
@ -262,21 +262,18 @@
|
||||||
|
|
||||||
{CLEAR_VARIABLE delfador_store}
|
{CLEAR_VARIABLE delfador_store}
|
||||||
|
|
||||||
# FIXME: Relies on an implementation accident.
|
# "n" tells us if {X} is even or odd. If it's even, "n" is equal to 1;
|
||||||
# This sequence of declarations happens to put the units where we want
|
# otherwise, it's set to 0
|
||||||
# them - Shock Troopers and Royal Guard north of Delfador, towards the
|
{VARIABLE n "$(if(({X}/2.0 = {X}/2), 1, 0))"}
|
||||||
# enemy, and the White Mages behind him - but this is an accident of the
|
|
||||||
# vacancy-finding algorithm. Ideally we want to use formula syntax to
|
{NAMED_UNIT 1 (Royal Guard) "$({X}-1)" "$({Y}-(1-$n))" Clogrin _"Clogrin" (facing=nw)}
|
||||||
# say things like x,y=$({X}-1),$({Y}+1) below, but that doesn't work
|
{NAMED_UNIT 1 (White Mage) "$({X}-1)" "$({Y}+$n)" Theorsten _"Theorsten" (facing=nw)}
|
||||||
# reliably yet in 1.7.0 (units randomly fail to appear when it's tried).
|
{NAMED_UNIT 1 (White Mage) {X} "$({Y}-1)" Igler _"Igler" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (Royal Guard) {X} {Y} Clogrin _"Clogrin" (facing=nw)}
|
{NAMED_UNIT 1 (White Mage) {X} "$({Y}+1)" Larsin _"Larsin" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (White Mage) {X} {Y} Theorsten _"Theorsten" (facing=nw)}
|
{NAMED_UNIT 1 (White Mage) "$({X}+1)" "$({Y}-(1-$n))" Aldrin _"Aldrin" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (White Mage) {X} {Y} Igler _"Igler" (facing=nw)}
|
{NAMED_UNIT 1 (Shock Trooper) "$({X}-2)" {Y} Gren _"Gren" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (White Mage) {X} {Y} Larsin _"Larsin" (facing=nw)}
|
{NAMED_UNIT 1 (Shock Trooper) "$({X}-2)" "$({Y}-1)" Droni _"Droni" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (White Mage) {X} {Y} Aldrin _"Aldrin" (facing=nw)}
|
{NAMED_UNIT 1 (Shock Trooper) "$({X}-1)" "$({Y}-(2-$n))" Artor _"Artor" (facing=nw)}
|
||||||
{NAMED_UNIT 1 (Shock Trooper) {X} {Y} Gren _"Gren" (facing=nw)}
|
|
||||||
{NAMED_UNIT 1 (Shock Trooper) {X} {Y} Droni _"Droni" (facing=nw)}
|
|
||||||
{NAMED_UNIT 1 (Shock Trooper) {X} {Y} Artor _"Artor" (facing=nw)}
|
|
||||||
#enddef
|
#enddef
|
||||||
|
|
||||||
# At the end of Shadows (14), control of side 1 needs to be handed
|
# At the end of Shadows (14), control of side 1 needs to be handed
|
||||||
|
|
Loading…
Add table
Reference in a new issue