lua:room:exits
Differences
This shows you the differences between two versions of the page.
| lua:room:exits [2017/02/20 14:28] – created vodur | lua: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.." | say(exname.." | ||
| end | end | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | You say 'east leads to The Square Vortex' | ||
| + | You say 'west leads to Smullens Plaza' | ||
| </ | </ | ||
lua/room/exits.1487600883.txt.gz · Last modified: 2017/02/20 14:28 by vodur