Adds an icon for non-abstract nodrop items (#29452)

This commit is contained in:
Contrabang
2025-06-07 13:25:01 +00:00
committed by GitHub
parent 74e1c13e64
commit f9e95a2b1d
35 changed files with 114 additions and 86 deletions
+12
View File
@@ -1068,3 +1068,15 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
/// Changes the speech verb when wearing this item if a value is returned
/obj/item/proc/change_speech_verb()
return
/obj/item/proc/set_nodrop(set_value, user)
switch(set_value)
if(TRUE)
flags |= NODROP
if(FALSE)
flags &= ~NODROP
if(NODROP_TOGGLE)
flags ^= NODROP
if(iscarbon(user))
var/mob/living/carbon/C = user
C.update_hands_hud()