mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Merge pull request #3907 from Ikarrus/nosearchstrip
Non-carbon mobs can no longer search storage items
This commit is contained in:
@@ -84,6 +84,10 @@
|
||||
else
|
||||
user << "[src] has no destination."
|
||||
|
||||
/obj/item/weapon/storage/attack_ghost(mob/user as mob)
|
||||
orient2hud(user)
|
||||
show_to(user)
|
||||
|
||||
// -------------------------------------------
|
||||
// This was supposed to be used by adminghosts
|
||||
// I think it is a *terrible* idea
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
/obj/item/weapon/storage/MouseDrop(obj/over_object)
|
||||
if(ismob(usr)) //all the check for item manipulation are in other places, you can safely open any storages as anything and its not buggy, i checked
|
||||
if(iscarbon(usr)) //all the check for item manipulation are in other places, you can safely open any storages as anything and its not buggy, i checked
|
||||
var/mob/M = usr
|
||||
|
||||
if (istype(usr.loc,/obj/mecha)) // stops inventory actions in a mech
|
||||
|
||||
Reference in New Issue
Block a user