From 593ded79837ed4109f1c14111675a278f3dd5dd0 Mon Sep 17 00:00:00 2001 From: Spamcat Date: Thu, 21 Mar 2013 18:00:18 +0400 Subject: [PATCH 1/2] Spiderbot quickfix. --- code/modules/mob/living/simple_animal/friendly/spiderbot.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/simple_animal/friendly/spiderbot.dm b/code/modules/mob/living/simple_animal/friendly/spiderbot.dm index 7a43f0a75e0..9efa4839bbb 100644 --- a/code/modules/mob/living/simple_animal/friendly/spiderbot.dm +++ b/code/modules/mob/living/simple_animal/friendly/spiderbot.dm @@ -315,16 +315,14 @@ var/obj/selection = input("Select an item.", "Pickup") in items - items.Cut() if(selection) for(var/obj/item/I in view(1, src)) if(selection == I) held_item = selection selection.loc = src - visible_message("\blue [src] scoops up the [held_item]!", "\blue You grab the [held_item]!", "You hear a skittering noise and a clink.") + visible_message("\blue [src] scoops up \the [held_item]!", "\blue You grab \the [held_item]!", "You hear a skittering noise and a clink.") return held_item - else - src << "\red \The [selection] is too far away." + src << "\red \The [selection] is too far away." src << "\red There is nothing of interest to take." return 0 \ No newline at end of file From 5fefbb3e296b516288749efcc58907a4af9538fd Mon Sep 17 00:00:00 2001 From: Spamcat Date: Thu, 21 Mar 2013 18:11:26 +0400 Subject: [PATCH 2/2] The the commit message. --- code/modules/mob/living/simple_animal/friendly/spiderbot.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/friendly/spiderbot.dm b/code/modules/mob/living/simple_animal/friendly/spiderbot.dm index 9efa4839bbb..54c011fab7d 100644 --- a/code/modules/mob/living/simple_animal/friendly/spiderbot.dm +++ b/code/modules/mob/living/simple_animal/friendly/spiderbot.dm @@ -281,14 +281,14 @@ return 0 if(istype(held_item, /obj/item/weapon/grenade)) - visible_message("\red [src] launches the [held_item]!", "\red You launch the [held_item]!", "You hear a skittering noise and a thump!") + visible_message("\red [src] launches \the [held_item]!", "\red You launch \the [held_item]!", "You hear a skittering noise and a thump!") var/obj/item/weapon/grenade/G = held_item G.loc = src.loc G.prime() held_item = null return 1 - visible_message("\blue [src] drops the [held_item]!", "\blue You drop the [held_item]!", "You hear a skittering noise and a soft thump.") + visible_message("\blue [src] drops \the [held_item]!", "\blue You drop \the [held_item]!", "You hear a skittering noise and a soft thump.") held_item.loc = src.loc held_item = null @@ -305,7 +305,7 @@ return -1 if(held_item) - src << "\red You are already holding the [held_item]" + src << "\red You are already holding \the [held_item]" return 1 var/list/items = list()