client
Click(object,location,control,params)
var/list/p = params2list(params)
if(p["middle"])
//Warp
if(usr:warping)
if(usr.chi >= 4)
flick("Warp",usr)
usr.chi -= 4
spawn(3)
usr.loc = location
return
else return
Problem description:
Okay so I have a warp skill in my game that is triggered by clicking the middle mouse button. They mouse over a piece of turf and click it and that is suppose to teleport them to that spot. It was working great until I switched up some of my grass turfs.
Now my grass turfs are of varying sizes, but all greater than 32x32. Instead of warping people to the location they click, it warps them to the location of the turf on which they click. This makes warping very inacurate as it teleports them to the 1st x/y on which the turf begins. Does anyone have a workaround for this at all?
One, why did you, and how did you change the grass sizes?
It seems to me that if you fix your turf's it will fix your problem. However, I would love a better explaltion