diff --git a/code/modules/mob/living/carbon/give.dm b/code/modules/mob/living/carbon/give.dm index 312e23088ec..a3a96323284 100644 --- a/code/modules/mob/living/carbon/give.dm +++ b/code/modules/mob/living/carbon/give.dm @@ -46,9 +46,9 @@ mob/living/carbon/verb/give() I.layer = 20 I.add_fingerprint(src) src.update_clothing() - action_message(src,"[usr.name] handed \the [I.name] to [src.name].") + src.visible_message(src,"[usr.name] handed \the [I.name] to [src.name].") if("No") - action_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.") + src.visible_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.") else if(src.l_hand == null) switch(alert(src,"[src.name] wants to give you \a [I.name]?",,"Yes","No")) if("Yes") @@ -75,24 +75,8 @@ mob/living/carbon/verb/give() I.layer = 20 I.add_fingerprint(src) src.update_clothing() - action_message(src,"[usr.name] handed \the [I.name] to [src.name].") + src.visible_message(src,"[usr.name] handed \the [I.name] to [src.name].") if("No") - action_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.") + src.visible_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.") else - usr << "[src.name]\s hands are full." - -proc/action_message(var/mob/living/carbon/A,var/message) - if (message != "") - if (1 & 1) - for (var/mob/O in viewers(A.loc, null)) - O.show_message(message, 1) - else if (1 & 2) - for (var/mob/O in hearers(A.loc, null)) - O.show_message(message, 1) - else if (message != "") - if (1 & 1) - for (var/mob/O in viewers(A, null)) - O.show_message(message, 1) - else if (1 & 2) - for (var/mob/O in hearers(A, null)) - O.show_message(message, 1) \ No newline at end of file + usr << "[src.name]\s hands are full." \ No newline at end of file