mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Hostile mobs no longer run all their hostile targeting/hunting code if there is nobody (or item, for those that hunt items) near them, they simply move to a simpler loop that decides whether to let the main loop continue.
This commit is contained in:
@@ -44,12 +44,19 @@
|
||||
#define GRAB_UPGRADING 4
|
||||
#define GRAB_KILL 5
|
||||
|
||||
|
||||
//Hostile Mob Stances
|
||||
#define HOSTILE_STANCE_IDLE 1
|
||||
//#define HOSTILE_STANCE_ALERT 2 //Was only used by bears
|
||||
#define HOSTILE_STANCE_ATTACK 3
|
||||
#define HOSTILE_STANCE_ATTACKING 4
|
||||
//#define HOSTILE_STANCE_TIRED 5 //Was also only used by bears
|
||||
|
||||
//Hostile Mob AI Status
|
||||
#define AI_ON 1
|
||||
#define AI_SLEEP 2
|
||||
#define AI_OFF 3
|
||||
|
||||
|
||||
//Embedded objects
|
||||
#define EMBEDDED_PAIN_CHANCE 15 //Chance for embedded objects to cause pain (damage user)
|
||||
|
||||
Reference in New Issue
Block a user