farie review

This commit is contained in:
S34NW
2021-09-24 11:41:03 +01:00
parent 215ec7cbe3
commit f45117b9fe
+8 -6
View File
@@ -89,15 +89,17 @@
. = TRUE
if(shock(user, 100))
return
if(!cuttable)
if(W.use_tool(src, user, FULL_CUT_TIME * W.toolspeed, volume = W.tool_volume))
visible_message("<span class='notice'>\The [user] completely dismantles \the [src].</span>")
to_chat(user, "<span class='info'>You completely take apart \the [src].</span>")
qdel(src)
return
if(invulnerable)
to_chat(user, "<span class='warning'>This fence is too strong to cut through!</span>")
return
if(!cuttable)
visible_message("<span class='danger'>[user] starts dismantling [src] with [W].</span>")
to_chat(user, "<span class='danger'>You start dismantling [src] with [W].</span>")
if(W.use_tool(src, user, FULL_CUT_TIME * W.toolspeed, volume = W.tool_volume))
visible_message("<span class='notice'>[user] completely dismantles [src].</span>")
to_chat(user, "<span class='info'>You completely dismantle [src].</span>")
qdel(src)
return
var/current_stage = hole_size
user.visible_message("<span class='danger'>\The [user] starts cutting through \the [src] with \the [W].</span>",\
"<span class='danger'>You start cutting through \the [src] with \the [W].</span>")