mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Fixed changeling shields dropping when ling is prone.
Fixed pathing Better fix Nevermind, back to what it was
This commit is contained in:
@@ -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>")
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user