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
@@ -36,7 +36,9 @@
if(!weapon_ref)
create_new_weapon()
weapon_ref.flags |= (ABSTRACT | NODROP) // Just in case the item doesn't start with both of these, or somehow loses them.
// Just in case the item doesn't start with both of these, or somehow loses them.
weapon_ref.flags |= ABSTRACT
weapon_ref.set_nodrop(TRUE, user)
if(HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || (user.get_active_hand() && !user.drop_item()))
flayer.send_swarm_message("We cannot manifest [weapon_ref] into our active hand...")