Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function add_exits()
  2. mapMetric = mapMetric or createStopWatch()
  3. local startMetric = getStopWatchTime(mapMetric)
  4. local newID = createRoomID()
  5. if roomExists(eleMap.currentRoom) then
  6. add_room_neighbours(eleMap.currentRoom,gmcp.Room.Exits)
  7. else
  8. find_link(gmcp.Room.Exits)
  9. end
  10. cecho("<cyan>[ MAP ]<reset> Stopwatch: "..startMetric - getStopWatch(mapMetric).."<reset>\n")
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement