mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Multiple fixes and cleanups - command parser excludes inaccessible commands already at parse level now. Fixed the functionality of a few of the lock functions to be more intuitive. Added functionality to the examine command to better show the commands available to an object.
This commit is contained in:
parent
334c0b1d08
commit
95d672763b
17 changed files with 207 additions and 165 deletions
|
|
@ -235,7 +235,7 @@ class Object(TypeClass):
|
|||
exits = []
|
||||
users = []
|
||||
things = []
|
||||
for content in self.contents:
|
||||
for content in [con for con in self.contents if con.access(pobject, 'view')]:
|
||||
if content == pobject:
|
||||
continue
|
||||
name = content.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue