mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Adds an icon for non-abstract nodrop items (#29452)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user