mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Ports use_tool proc from /tg/ (#13411)
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
/obj/item/stack/material/cloth/attackby(obj/item/I, mob/user)
|
||||
if(is_sharp(I))
|
||||
user.visible_message("<span class='notice'>\The [user] begins cutting up [src] with [I].</span>", "<span class='notice'>You begin cutting up [src] with [I].</span>")
|
||||
if(do_after(user, 20)) // takes less time than bedsheets, a second per rag produced on average
|
||||
if(I.use_tool(src, user, 20, volume = 50)) // takes less time than bedsheets, a second per rag produced on average
|
||||
to_chat(user, "<span class='notice'>You cut [src] into pieces!</span>")
|
||||
for(var/i in 1 to rand(1,3)) // average of 2 per
|
||||
new /obj/item/reagent_containers/glass/rag(get_turf(src))
|
||||
|
||||
Reference in New Issue
Block a user