mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
## About The Pull Request idled basic mobs now instead of completely shutting off, will be delegated to a much lower priority subsystem to do their planning. ## Why It's Good For The Game Mobs can now perform their functions without needing players to be nearby in a way that doesnt starve other subsystems. this allows animals such as goldgrubs to eat ores, lobstrosities to fish, seedlings to tend plants (and many others) without needing any players nearby ## Changelog 🆑 fix: idle basic mobs will now plan behaviors rather than completely shut down /🆑
9 lines
283 B
Plaintext
9 lines
283 B
Plaintext
AI_CONTROLLER_SUBSYSTEM_DEF(ai_idle_controllers)
|
|
name = "AI Idle Controllers"
|
|
flags = SS_POST_FIRE_TIMING | SS_BACKGROUND
|
|
priority = FIRE_PRIORITY_IDLE_NPC
|
|
init_order = INIT_ORDER_AI_IDLE_CONTROLLERS
|
|
wait = 5 SECONDS
|
|
runlevels = RUNLEVEL_GAME
|
|
planning_status = AI_STATUS_IDLE
|