Updated the chasm terrain code so the bats could appear in the chasm.
(Fixes bug #16791)
This commit is contained in:
parent
ece60b89e4
commit
28bf4f69c7
1 changed files with 4 additions and 4 deletions
|
@ -203,7 +203,7 @@
|
|||
[have_location]
|
||||
x=$scorp_x
|
||||
y=$scorp_y
|
||||
terrain=Qxu,W* # In water or a chasm
|
||||
terrain=Qx*,W* # In water or a chasm
|
||||
|
||||
[or]
|
||||
terrain=K*
|
||||
|
@ -235,7 +235,7 @@
|
|||
x=$scorp_x
|
||||
y=$scorp_y
|
||||
side=2
|
||||
[/unit]
|
||||
[/unit]
|
||||
|
||||
# Code to tell the while loop to find another location
|
||||
[set_variable]
|
||||
|
@ -280,7 +280,7 @@
|
|||
#find chasm hexes, and put them in an array
|
||||
[store_locations]
|
||||
variable=chasm_hexes
|
||||
terrain=Qxu #Chasm
|
||||
terrain=Qx* #Chasm
|
||||
[and]
|
||||
x=10
|
||||
y=21
|
||||
|
@ -339,7 +339,7 @@
|
|||
[/store_unit]
|
||||
|
||||
{FOREACH bats bat}
|
||||
{NEAREST_HEX $bats[$bat].x $bats[$bat].y 99 (terrain=Qxu) chasm_hex}
|
||||
{NEAREST_HEX $bats[$bat].x $bats[$bat].y 99 (terrain=Qx*) chasm_hex}
|
||||
[kill]
|
||||
id=$bats[$bat].id
|
||||
animate=no
|
||||
|
|
Loading…
Add table
Reference in a new issue