Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turf
- WarpMaps
- Entered(mob/M)
- if(istype(M, /mob/))
- if(M.teleporting) return
- if(M.client)
- //(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/)))
- var/limit = worldTravelLimit
- for(var/obj/jutsu/perk in M)
- if(perk.name == "Courier")
- limit = worldTravelLimit / 2
- break
- if( (world.realtime - M.crossTime) < limit)
- if(M.MindTransfer) if(M == M.MindTransfer.MindAfflicted) return
- if(M.MindAfflicted)
- M.MindAfflicted<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputic.output")
- M.MindAfflicted<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputall.output")
- else
- M<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputic.output")
- M<<output("<font size = -3>You need to wait atleast [limit/(600)] minutes before moving maps again!","outputall.output")
- return
- M.teleporting = 1
- M.density = 0
- /*
- var/xx = exitx
- var/yy = exity
- if(exitx == 0) xx = src.x
- if(exity == 0) yy = src.y
- M.Move(locate(xx,yy,exitz))
- */
- for(var/mob/X in world)
- if(X.name==M.grabbee || X.grabber==usr.name)
- if((world.realtime - X.crossTime) < limit)
- //X.crossTime = world.realtime
- X.grabber=null
- M.grabbee=null
- M.attacking=0
- X.pixel_y=0
- X.pixel_x=0
- else
- X.crossTime = world.realtime
- if(src.y == 300 && src.z <= 55)
- M.Move(locate(M.x,1,M.z+11))
- else if(src.x == 300 && src.z != 11 && src.z != 22 && src.z != 33 && src.z != 44 && src.z != 55 && src.z != 66)
- M.Move(locate(1,M.y,M.z+1))
- else if(src.y == 1 && src.z >= 12)
- M.Move(locate(M.x,300,M.z-11))
- else if(src.x == 1)
- M.Move(locate(300,M.y,M.z-1))
- M.density = 1
- if(M.chakraOverlay) M.chakraOverlay.loc = M.loc
- M.teleporting = 0
- M.overlays -= 'Swim.dmi'
- M.swim=0
- M.crossTime = world.realtime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement