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 06:28]
vodur created
lua:room:exits [2017/02/20 06: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.txt ยท Last modified: 2017/02/20 06:29 by vodur