mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Hacky but ~~target works now, it's due to us not having Avatar being loaded on the AI so it doesn't end up adding the command, And add back showing Access.
This commit is contained in:
parent
634d8bcb19
commit
a4d30bc355
2 changed files with 2 additions and 2 deletions
|
@ -565,5 +565,4 @@ def target():
|
||||||
"""
|
"""
|
||||||
Returns the current Spellbook target.
|
Returns the current Spellbook target.
|
||||||
"""
|
"""
|
||||||
return 'Your current target is: %s [avId: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId)
|
return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess())
|
||||||
#return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess())
|
|
|
@ -1,5 +1,6 @@
|
||||||
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
||||||
from otp.ai.MagicWordGlobal import *
|
from otp.ai.MagicWordGlobal import *
|
||||||
|
from otp.avatar import Avatar
|
||||||
|
|
||||||
class ChatAgent(DistributedObjectGlobal):
|
class ChatAgent(DistributedObjectGlobal):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue