A less gimmicky way of removing the attack message from goliath plates

This commit is contained in:
PatchouliKnowledge
2014-10-17 23:43:20 +03:00
parent 45cea71165
commit 433abe79d1
+2 -5
View File
@@ -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]")