mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
A less gimmicky way of removing the attack message from goliath plates
This commit is contained in:
@@ -654,7 +654,7 @@
|
||||
////// AttackBy //////
|
||||
//////////////////////
|
||||
|
||||
/obj/mecha/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/mecha/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
if(istype(W, /obj/item/device/mmi))
|
||||
if(mmi_move_inside(W,user))
|
||||
@@ -663,9 +663,6 @@
|
||||
user << "[src]-MMI interface initialization failed."
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/asteroid/goliath_hide))
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/mecha_parts/mecha_equipment))
|
||||
var/obj/item/mecha_parts/mecha_equipment/E = W
|
||||
spawn()
|
||||
@@ -768,7 +765,7 @@
|
||||
user.visible_message("[user] attaches [W] to [src].", "You attach [W] to [src]")
|
||||
return
|
||||
|
||||
else
|
||||
else if(!(W.flags&NOBLUDGEON))
|
||||
call((proc_res["dynattackby"]||src), "dynattackby")(W,user)
|
||||
/*
|
||||
src.log_message("Attacked by [W]. Attacker - [user]")
|
||||
|
||||
Reference in New Issue
Block a user