Working on getting command tables implemented on individual objects. It's probably not a good idea to update to this revision in a 'production' environment yet.

This commit is contained in:
Greg Taylor 2009-01-30 03:28:41 +00:00
parent 6ca32cd5e0
commit df69011134
6 changed files with 115 additions and 20 deletions

View file

@ -289,10 +289,7 @@ def cmd_examine(command):
source_object.emit_to("Desc: %s" % target_obj.get_description(no_parsing=True))
source_object.emit_to("Owner: %s " % (target_obj.get_owner(),))
source_object.emit_to("Zone: %s" % (target_obj.get_zone(),))
parent_str = target_obj.script_parent
if parent_str and parent_str != '':
source_object.emit_to("Parent: %s " % (parent_str,))
source_object.emit_to("Parent: %s " % target_obj.get_script_parent())
for attribute in target_obj.get_all_attributes():
source_object.emit_to(attribute.get_attrline())