mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
OBS: You need to resync your database! Moved cmdsets into the database rather than being dependent on scripts. Moved the creation of the cmdset- and cmdset-handlers into ObjectDB.__init__ rather than bootstrapping it from the typeclass. Added some more script functionality for testing, includong the @script command for assigning a script to an object.
This commit is contained in:
parent
e965830735
commit
126e2ea61f
17 changed files with 370 additions and 216 deletions
|
|
@ -114,10 +114,7 @@ def get_and_merge_cmdsets(caller):
|
|||
local_objlist = location.contents + caller.contents
|
||||
local_objects_cmdsets = [obj.cmdset.current
|
||||
for obj in local_objlist
|
||||
if obj.cmdset.outside_access]
|
||||
# print "used objs: %s" % ([obj.name
|
||||
# for obj in local_objlist
|
||||
# if obj.cmdset.outside_access])
|
||||
if obj.locks.check(caller, 'call', no_superuser_bypass=True)]
|
||||
|
||||
# Merge all command sets into one
|
||||
# (the order matters, the higher-prio cmdsets are merged last)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue