mob/var/rock_die=0
obj/turf
Rock_3
icon='dbzturfs.dmi'
icon_state="rock3"
def=0
hp=1
ki_def=0
New()
spawn()
return
mob/proc
Death()
if(istype(M,/obj/turf/Rock_3))
rock_die+=1
if("tutmis")
if(usr.rock_die>=3)
usr.loc = locate(154,147,1)
if(usr.rock_die<=2)
var/Tutorial2=""
Tutorial2+=({"<body bgcolor=black><title>Message</title><table border=2 bgcolor=blue><th>[usr.name]</th>
<tr><td>Sorry you still have to crush more rocks.
<tr><th colspan="3"><a href='?Tutorial=Okay'>Okay</a></th></tr></td></tr></table></td></tr>"})
usr << browse(Tutorial2,"window=Test;file=null;display=1;clear=0;border=0;can_close=0;can_resize=0;can_minimize=1;titlebar=1")
When you break the Rock when i had it as a Mob it wouldnt increase the var, and now as Obj its walk through able, and also non taking damage can you help me out please, I dont ask for much xD
and set the rocks density to 1 to make it non-walkable