Merge pull request #4826 from VOREStation/pol-sa-hostile

Don't require hostile SAs for special purposes
This commit is contained in:
Anewbe
2018-02-15 21:07:40 -06:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,6 @@
icon_dead = "cat2_dead"
icon_rest = "cat2_rest"
hostile = 1 //To mice, anyway.
investigates = 1
specific_targets = 1 //Only targets with Found()
run_at_them = 0 //DOMESTICATED

View File

@@ -459,7 +459,7 @@
stop_automated_movement = 0
//Search for targets while idle
if(hostile)
if(hostile || specific_targets)
FindTarget()
if(STANCE_FOLLOW)
annoyed = 15
@@ -467,7 +467,7 @@
if(follow_until_time && world.time > follow_until_time)
LoseFollow()
return
if(hostile)
if(hostile || specific_targets)
FindTarget()
if(STANCE_ATTACK)
annoyed = 50