Fixed changeling shields dropping when ling is prone.

Fixed pathing

Better fix

Nevermind, back to what it was
This commit is contained in:
xxalpha
2015-07-23 13:08:49 +01:00
parent 2dd321d349
commit a3e29da443
2 changed files with 4 additions and 4 deletions
@@ -200,13 +200,13 @@
/obj/item/weapon/shield/changeling
name = "shield-like mass"
desc = "A mass of tough, boney tissue. You can still see the fingers as a twisted pattern in the shield."
flags = NODROP
flags = ABSTRACT | NODROP
icon = 'icons/obj/weapons.dmi'
icon_state = "ling_shield"
var/remaining_uses //Set by the changeling ability.
/obj/item/weapon/melee/shield/New()
/obj/item/weapon/shield/changeling/New()
..()
if(ismob(loc))
loc.visible_message("<span class='warning'>The end of [loc.name]\'s hand inflates rapidly, forming a huge shield-like mass!</span>", "<span class='warning'>We inflate our hand into a strong shield.</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
+2 -2
View File
@@ -56,8 +56,8 @@
return 0
/mob/proc/put_in_hand_check(obj/item/W)
if(lying && !(W.flags&ABSTRACT)) return 0
if(!istype(W)) return 0
if(lying && !(W.flags&ABSTRACT)) return 0
if(!istype(W)) return 0
return 1
//Puts the item into our active hand if possible. returns 1 on success.