mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-17 19:07:26 +01:00
Ports Hover Overlays (#8870)
* HUD Overlay * finishes up the port * fixes
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/item/material/twohanded/mob_can_equip(M as mob, slot)
|
||||
/obj/item/material/twohanded/mob_can_equip(M, slot, disable_warning = FALSE)
|
||||
//Cannot equip wielded items.
|
||||
if(wielded)
|
||||
to_chat(M, "<span class='warning'>Unwield the [base_name] first!</span>")
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user