lava expansion on cave should work now
note there's still an offset bug with terrain= filtering for random generated maps
This commit is contained in:
parent
affe776867
commit
9b92d53839
1 changed files with 10 additions and 7 deletions
|
@ -217,18 +217,21 @@
|
|||
x=$lava_x
|
||||
y=$lava_y
|
||||
radius=$lava_count
|
||||
[and]
|
||||
terrain=Xu
|
||||
[/and]
|
||||
[/store_locations]
|
||||
{FOREACH lava_flow_hexes i}
|
||||
{VARIABLE temp_x lava_flow_hexes[$i].x}
|
||||
{VARIABLE temp_y lava_flow_hexes[$i].y}
|
||||
[if]
|
||||
[variable]
|
||||
name=lava_flow_hexes[$i].terrain
|
||||
equals=Xu
|
||||
[/variable]
|
||||
[then]
|
||||
[terrain]
|
||||
x=$temp_x
|
||||
y=$temp_y
|
||||
x=$lava_flow_hexes[$i].x
|
||||
y=$lava_flow_hexes[$i].y
|
||||
letter=Ql
|
||||
[/terrain]
|
||||
[/then]
|
||||
[/if]
|
||||
{NEXT i}
|
||||
|
||||
# Reset the counter if it gets too large (it slows things down)
|
||||
|
|
Loading…
Add table
Reference in a new issue