Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. turf
  2. WarpMaps
  3. Entered(mob/M)
  4. if(istype(M, /mob/))
  5. if(M.teleporting) return
  6. if(M.client)
  7. //(istype(M,/mob/Clone/) || istype(M,/mob/Bunshin/) || istype(M,/mob/RaitonBunshin/) || istype(M,/mob/OboroBunshin/) || istype(M,/mob/KatonBunshin/) || istype(M,/mob/KageBunshin/) || istype(M,/mob/TsuchiBunshin/)))
  8. var/limit = worldTravelLimit
  9. for(var/obj/jutsu/perk in M)
  10. if(perk.name == "Courier")
  11. limit = worldTravelLimit / 2
  12. break
  13.  
  14. if( (world.realtime - M.crossTime) < limit)
  15.  
  16. if(M.MindTransfer) if(M == M.MindTransfer.MindAfflicted) return
  17. if(M.MindAfflicted)
  18. M.MindAfflicted<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputic.output")
  19. M.MindAfflicted<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputall.output")
  20. else
  21. M<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputic.output")
  22. M<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputall.output")
  23. return
  24.  
  25.  
  26.  
  27.  
  28.  
  29. M.teleporting = 1
  30. M.density = 0
  31. /*
  32. var/xx = exitx
  33. var/yy = exity
  34. if(exitx == 0) xx = src.x
  35. if(exity == 0) yy = src.y
  36. M.Move(locate(xx,yy,exitz))
  37. */
  38. for(var/mob/X in world)
  39. if(X.name==M.grabbee || X.grabber==usr.name)
  40. if((world.realtime - X.crossTime) < limit)
  41. //X.crossTime = world.realtime
  42. X.grabber=null
  43. M.grabbee=null
  44. M.attacking=0
  45. X.pixel_y=0
  46. X.pixel_x=0
  47. else
  48. X.crossTime = world.realtime
  49.  
  50.  
  51. if(src.y == 300 && src.z <= 55)
  52. M.Move(locate(M.x,1,M.z+11))
  53.  
  54. else if(src.x == 300 && src.z != 11 && src.z != 22 && src.z != 33 && src.z != 44 && src.z != 55 && src.z != 66)
  55. M.Move(locate(1,M.y,M.z+1))
  56.  
  57. else if(src.y == 1 && src.z >= 12)
  58. M.Move(locate(M.x,300,M.z-11))
  59.  
  60. else if(src.x == 1)
  61. M.Move(locate(300,M.y,M.z-1))
  62.  
  63.  
  64.  
  65.  
  66. M.density = 1
  67. if(M.chakraOverlay) M.chakraOverlay.loc = M.loc
  68. M.teleporting = 0
  69. M.overlays -= 'Swim.dmi'
  70. M.swim=0
  71. M.crossTime = world.realtime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement