adjusts verb for w_class 1 yankability

This commit is contained in:
Walter0o
2014-07-10 19:58:16 +02:00
parent 9827838917
commit 10ab66aa40

View File

@@ -950,7 +950,7 @@ mob/proc/yank_out_object()
if(S == U) if(S == U)
self = 1 // Removing object from yourself. self = 1 // Removing object from yourself.
valid_objects = get_visible_implants(1) valid_objects = get_visible_implants(0)
if(!valid_objects.len) if(!valid_objects.len)
if(self) if(self)
src << "You have nothing stuck in your body that is large enough to remove." src << "You have nothing stuck in your body that is large enough to remove."
@@ -961,9 +961,9 @@ mob/proc/yank_out_object()
var/obj/item/weapon/selection = input("What do you want to yank out?", "Embedded objects") in valid_objects var/obj/item/weapon/selection = input("What do you want to yank out?", "Embedded objects") in valid_objects
if(self) if(self)
src << "<span class='warning'>You attempt to get a good grip on the [selection] in your body.</span>" src << "<span class='warning'>You attempt to get a good grip on [selection] in your body.</span>"
else else
U << "<span class='warning'>You attempt to get a good grip on the [selection] in [S]'s body.</span>" U << "<span class='warning'>You attempt to get a good grip on [selection] in [S]'s body.</span>"
if(!do_after(U, 80)) if(!do_after(U, 80))
return return