User Tools

Site Tools


lua:room:exits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lua:room:exits [2017/02/20 14:28] – created vodurlua:room:exits [2017/02/20 14:29] (current) vodur
Line 4: Line 4:
  
 <code lua> <code lua>
- 
 for _,exname in pairs(mob.room.exits) do for _,exname in pairs(mob.room.exits) do
   local ex = mob.room[exname]   local ex = mob.room[exname]
   say(exname.." leads to "..ex.toroom.name)   say(exname.." leads to "..ex.toroom.name)
 end end
 +</code>
 +
 +<code>
 +You say 'east leads to The Square Vortex'
 +You say 'west leads to Smullens Plaza'
 </code> </code>
  
lua/room/exits.1487600883.txt.gz · Last modified: 2017/02/20 14:28 by vodur