User Tools

Site Tools


lua:room:exits

This is an old revision of the document!


Type: array of string

List of exit names in the room. The corresponding EXIT object can be attained by indexing the ROOM object with this exit name.

for _,exname in pairs(mob.room.exits) do
  local ex = mob.room[exname]
  say(exname.." leads to "..ex.toroom.name)
end
lua/room/exits.1487600883.txt.gz · Last modified: 2017/02/20 14:28 by vodur