mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
Allowing micros to crawl into storage items
Fixed a bug where a micro player could pick themselves up out of storage items if they used alt+click to open it. This would free them, but create an invisible, empty holder item in their hands which could then be placed in storages. Added the ability for micros (size 25%) and observer mice (size 100% or lower) to drag their sprite over storage items in order to climb inside. Same as if a player were to pick them up and store them.
This commit is contained in:
@@ -228,6 +228,9 @@
|
||||
if(!temp)
|
||||
to_chat(user, "<span class='notice'>You try to use your hand, but realize it is no longer attached!</span>")
|
||||
return
|
||||
if(istype(src, /obj/item/weapon/holder))
|
||||
var/obj/item/weapon/holder/D = src
|
||||
if(D.held_mob == user) return // No picking your own micro self up
|
||||
|
||||
var/old_loc = src.loc
|
||||
if (istype(src.loc, /obj/item/weapon/storage))
|
||||
|
||||
Reference in New Issue
Block a user