We now access the scriptlink by calling object.scriptlink instead of get_scriptlink. Shortens the typage a little and allows for some less complex fun possibilities down the road.

This commit is contained in:
Greg Taylor 2008-06-21 02:05:44 +00:00
parent e6e5a889f5
commit 51a911d048
4 changed files with 16 additions and 13 deletions

View file

@ -239,7 +239,7 @@ def handle(cdat):
cdat['uinput'] = parsed_input
# SCRIPT: See if the player can traverse the exit
if not targ_exit.get_scriptlink().default_lock({
if not targ_exit.scriptlink.default_lock({
"pobject": pobject
}):
session.msg("You can't traverse that exit.")