Ports "Refactors NODROP flag into TRAIT_NODROP"
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
if(!cell_connectors)
|
||||
to_chat(user, "<span class='warning'>This [name] can't support a power cell!</span>")
|
||||
return
|
||||
if(W.item_flags & NODROP)
|
||||
if(HAS_TRAIT(W, TRAIT_NODROP))
|
||||
to_chat(user, "<span class='warning'>[W] is stuck to your hand!</span>")
|
||||
return
|
||||
user.dropItemToGround(W)
|
||||
|
||||
Reference in New Issue
Block a user