mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Fixes (hopefully)
This commit is contained in:
@@ -99,13 +99,6 @@
|
|||||||
/obj/machinery/gibber/attackby(var/obj/item/W, var/mob/user)
|
/obj/machinery/gibber/attackby(var/obj/item/W, var/mob/user)
|
||||||
var/obj/item/weapon/grab/G = W
|
var/obj/item/weapon/grab/G = W
|
||||||
|
|
||||||
if(default_deconstruction_screwdriver(user, O)) //CHOMPedit - Allows for deconstruction
|
|
||||||
return
|
|
||||||
if(default_deconstruction_crowbar(user, O))
|
|
||||||
return
|
|
||||||
if(default_part_replacement(user, O))
|
|
||||||
return
|
|
||||||
|
|
||||||
if(default_unfasten_wrench(user, W, 40))
|
if(default_unfasten_wrench(user, W, 40))
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -118,6 +111,14 @@
|
|||||||
|
|
||||||
move_into_gibber(user,G.affecting)
|
move_into_gibber(user,G.affecting)
|
||||||
// Grab() process should clean up the grab item, no need to del it.
|
// Grab() process should clean up the grab item, no need to del it.
|
||||||
|
|
||||||
|
/obj/machinery/gibber/attackby(var/obj/item/O as obj, var/mob/user as mob)
|
||||||
|
if(default_deconstruction_screwdriver(user, O)) //CHOMPedit - Allows for deconstruction
|
||||||
|
return
|
||||||
|
if(default_deconstruction_crowbar(user, O))
|
||||||
|
return
|
||||||
|
if(default_part_replacement(user, O))
|
||||||
|
return
|
||||||
|
|
||||||
/obj/machinery/gibber/MouseDrop_T(mob/target, mob/user)
|
/obj/machinery/gibber/MouseDrop_T(mob/target, mob/user)
|
||||||
if(user.stat || user.restrained())
|
if(user.stat || user.restrained())
|
||||||
|
|||||||
Reference in New Issue
Block a user