View/Edit #2495:scan_6 scan_room

Switch to edit mode.

Name(s): scan_6 scan_room
1: {victim, tri} = args
2: ex = en = {}
3: for e in ($exit:descendants_suspended())
4:   e.location == victim && (ex = {@ex, "    " + e:nn() + " to " + `e.dest:nn() ! E_INVIND => tostr(e.dest)' + (victim:is_exit(e) ? "" | " (BROKEN)")})
5:   e.dest == victim && (en = {@en, "    " + e:nn() + " from " + `e.location:nn() + `e.location:is_exit(e) ? "" | " (BROKEN)" ! E_VERBNF => " (not a room)"' ! E_INVIND => "??"'})
6: endfor
7: return {"Exits: (" + tostr(length(ex)) + ")", @ex, "Entrances: (" + tostr(length(en)) + ")", @en}

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Maxamillian (#833)

You are not logged in.

[home | help | who | search | setup | code]