mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Merge pull request #747 from KazeEspada/grilles
fixes issue #742 - grilles now drop the correct number of rods when destroyed.
This commit is contained in:
@@ -102,7 +102,11 @@
|
||||
if(istype(W, /obj/item/weapon/wirecutters))
|
||||
if(!shock(user, 100))
|
||||
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
|
||||
new /obj/item/stack/rods(loc)
|
||||
if(destroyed)
|
||||
new /obj/item/stack/rods(loc)
|
||||
else
|
||||
new /obj/item/stack/rods(loc)
|
||||
new /obj/item/stack/rods(loc)
|
||||
del(src)
|
||||
else if((istype(W, /obj/item/weapon/screwdriver)) && (istype(loc, /turf/simulated) || anchored))
|
||||
if(!shock(user, 90))
|
||||
|
||||
Reference in New Issue
Block a user