MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Telling exits in the Metaroom
IN the $metaroom i fixed everything but now it wont tell me which exits lead
where. I would really appreciate if someone could tell me why it wont tell the
exits.
The 'tell_Exits verb:
: "display obvious exits, both real and virtual.";
2: loc = this:find_object(player);
3: exits = {};
4: for all in (loc ? this.locations[loc][5] | this.rexits)
5: if (all.obvious)
6: exits = {@exits, all:deststring()};
7: endif
8: endfor
9: for all in (loc ? this.locations[loc][6] | this.vexits)
10: if (this:vexit_is("obvious", all[4]))
11: exits = {@exits, all[1][1], " to ", all[2] ? all[2] | this.name};
12: endif
13: endfor
14: if (exits != {})
15: player:tell("Obvious exits: " + $string_utils:english_list(exits));
16: endif
Thats the code.
Matthew Schmidt
--
Lt Picard
Officer of the FDS-Millennium
Administrator of Titan Facility
Office #2073
Head of FDF Star Wars MOO
Home |
Subject Index |
Thread Index