mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Makes catslugs slightly less annoying
Now they ONLY respond to psps, rather than everything except psps except when they are kicking your ass. Also makes it so simplemobs get up to kick your ass if you attack them when they are resting.
This commit is contained in:
@@ -252,6 +252,10 @@
|
||||
on_attacked(attacker)
|
||||
return FALSE
|
||||
|
||||
if(holder.resting) // I can't kill someone while I'm laying down!
|
||||
ai_log("react_to_attack() : AI is resting. Getting up up.", AI_LOG_TRACE)
|
||||
holder.lay_down()
|
||||
|
||||
if(stance == STANCE_SLEEP) // If we're asleep, try waking up if someone's wailing on us.
|
||||
ai_log("react_to_attack() : AI is asleep. Waking up.", AI_LOG_TRACE)
|
||||
go_wake()
|
||||
|
||||
Reference in New Issue
Block a user