mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
fixes recharger and no drop
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
/obj/machinery/recharger/attackby(obj/item/weapon/G as obj, mob/user as mob, params)
|
||||
if(istype(user,/mob/living/silicon))
|
||||
return
|
||||
|
||||
if(G.flags & NODROP)
|
||||
user << "<span class='notice'>you can drop it to charge it!</span>"
|
||||
if(istype(G, /obj/item/weapon/gun/energy) || istype(G, /obj/item/weapon/melee/baton) || istype(G,/obj/item/device/laptop) || istype(G, /obj/item/weapon/rcs))
|
||||
if(charging)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user