Ports Hover Overlays (#8870)

* HUD Overlay

* finishes up the port

* fixes
This commit is contained in:
Geeves
2020-05-19 00:28:23 +02:00
committed by GitHub
parent d7231e6ee5
commit 3ec99c8d64
13 changed files with 144 additions and 45 deletions
@@ -27,7 +27,7 @@
allow_quick_empty = TRUE
empty_delay = 0.5 SECOND
/obj/item/storage/backpack/mob_can_equip(M as mob, slot)
/obj/item/storage/backpack/mob_can_equip(M as mob, slot, disable_warning = FALSE)
//if we can't equip the item anyway, don't bother with species_restricted (cuts down on spam)
if (!..())
@@ -17,7 +17,7 @@
/obj/item/storage/internal/attack_hand()
return //make sure this is never picked up
/obj/item/storage/internal/mob_can_equip()
/obj/item/storage/internal/mob_can_equip(M, slot, disable_warning = FALSE)
return 0 //make sure this is never picked up
//Helper procs to cleanly implement internal storages - storage items that provide inventory slots for other items.