Files
DarkflameServer/tests/dGameTests/LuaAITests.cpp
Aaron Kimbrell c96d645b94 feat(ai): shared Lua AI custom state
Port o_Main's customState: a script that defines
onTemplateCustomStateEnter or onTemplateCustomStateArrived gets the
state, and its enter and arrived hooks run as LuaAIScript virtuals.
Pets and helpers stay unported: no original script turns them on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:50:19 -06:00

26 KiB