SoF S9: add micro ai to elves when volcano is close to erupting

This commit is contained in:
nemaara 2019-03-14 00:23:31 -04:00
parent bee64fc78b
commit ff9fef962d

View file

@ -629,11 +629,22 @@
{QUAKE "rumble.ogg"}
[message]
role=smartelf
#NOTE: Since the elves won't try to escape anymore, what about
#making them act cowardly (maybe with some micro ai) and change
#this message consequently?
message= _ "Wait, whats going on? The volcano is going to erupt! Everyone, try to get out of these caves!"
[/message]
[micro_ai]
side=2
action=add
ai_type=coward
[filter]
side=2
[/filter]
distance=15
seek_x,seek_y=15,1
avoid_x,avoid_y=18,23
[/micro_ai]
# once they try to escape, if they move to the top 2 rows you lose
# deactivated out since there's no way for the player to
# stop them from moving to those locations