Kills off three more flags from flags_2

This commit is contained in:
vuonojenmustaturska
2018-04-29 17:30:55 -05:00
committed by CitadelStationBot
parent 483bcc66d5
commit f373b2c9e6
23 changed files with 63 additions and 33 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
var/list/tc = allowed_typecache
if(user.a_intent != INTENT_HELP)
return
if((I.flags_2 & (HOLOGRAM_2 | NO_MAT_REDEMPTION_2)) || (tc && !is_type_in_typecache(I, tc)))
if((I.flags_2 & HOLOGRAM_2) || (I.item_flags & NO_MAT_REDEMPTION) || (tc && !is_type_in_typecache(I, tc)))
to_chat(user, "<span class='warning'>[parent] won't accept [I]!</span>")
return
. = COMPONENT_NO_AFTERATTACK