mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 12:08:55 +01: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 /🆑
7 lines
263 B
Plaintext
7 lines
263 B
Plaintext
PROCESSING_SUBSYSTEM_DEF(idle_ai_behaviors)
|
|
name = "idle_ai_behaviors"
|
|
flags = SS_NO_INIT | SS_BACKGROUND
|
|
wait = 1.5 SECONDS
|
|
priority = FIRE_PRIORITY_IDLE_NPC
|
|
init_order = INIT_ORDER_AI_IDLE_CONTROLLERS //must execute only after ai behaviors are initialized
|