Ran wmlindent on dark forecast.

This commit is contained in:
Alexander van Gessel 2009-07-27 00:18:20 +01:00
parent a80cc9ac75
commit 1c45675b14

View file

@ -61,30 +61,30 @@ Note: You need to use map settings for the scenario to work right."
{VARIABLE less_max_moves $spawns[$id].max_moves}
{VARIABLE_OP less_max_moves multiply 0.33}
{VARIABLE_OP less_max_moves add 1}
# store the original max_moves so they can be restored later
{VARIABLE spawns[$id].variables.original_max_moves $spawns[$id].max_moves}
# give the unit only a third of its normal max movement for now
{VARIABLE spawns[$id].max_moves $less_max_moves}
{VARIABLE spawns[$id].side $timid_ai_side}
{VARIABLE spawns[$id].generate_name yes}
{VARIABLE spawns[$id].slowed yes}
{CLEAR_VARIABLE spawns[$id].name}
[unstore_unit]
variable=spawns[$id]
[/unstore_unit]
[object]
silent=yes
duration=forever
[filter]
x,y=$spawns[$id].x,$spawns[$id].y
[/filter]
[effect]
apply_to=movement_costs
replace=true
@ -175,13 +175,13 @@ Note: You need to use map settings for the scenario to work right."
{VARIABLE ai_unit[$id].side {SIDE2}}
{CLEAR_VARIABLE ai_unit[$id].movement_costs}
{VARIABLE ai_unit[$id].max_moves $ai_unit[$id].variables.original_max_moves}
[unstore_unit]
variable=ai_unit[$id]
find_vacant=no
[/unstore_unit]
{NEXT id}
{CLEAR_VARIABLE ai_unit}
[/then]
[/if]