mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Merge pull request #11341 from JustSumBody/trayvis
Fixes borgs putting modules on food trays
This commit is contained in:
@@ -471,6 +471,8 @@
|
||||
return 5
|
||||
|
||||
/obj/item/weapon/tray/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(isrobot(user) && !isMoMMI(user))
|
||||
return
|
||||
if(istype(W, /obj/item/weapon/kitchen/rollingpin)) //shield bash
|
||||
if(cooldown < world.time - 25)
|
||||
user.visible_message("<span class='warning'>[user] bashes [src] with [W]!</span>")
|
||||
|
||||
Reference in New Issue
Block a user