mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 15:08:22 +00:00
[Bots] Add Bot scripting capabilities to the source. (#1378)
- This will allow server operators to interact with bots within a script in Perl or Lua.
This commit is contained in:
@@ -977,6 +977,14 @@ void PerlembParser::MapFunctions()
|
||||
"package Expedition;"
|
||||
"&boot_Expedition;"
|
||||
|
||||
#ifdef BOTS
|
||||
"package Bot;"
|
||||
"our @ISA = qw(NPC);" // Bot inherits NPC
|
||||
"&boot_Mob;" // load our Mob XS
|
||||
"&boot_NPC;" // load our NPC XS
|
||||
"&boot_Bot;" // load our Bot XS
|
||||
#endif
|
||||
|
||||
#endif
|
||||
"package main;"
|
||||
"}"
|
||||
|
||||
Reference in New Issue
Block a user