Stops putting RCD, bluespace bags, and staves into ORM

This commit is contained in:
ShizCalev
2017-09-29 20:33:19 -04:00
committed by CitadelStationBot
parent 7d31aa7538
commit f8f599b17b
8 changed files with 470 additions and 1 deletions
+4 -1
View File
@@ -52,7 +52,10 @@
/datum/component/material_container/proc/OnAttackBy(obj/item/I, mob/living/user)
var/list/tc = allowed_typecache
if(user.a_intent == INTENT_HARM || (I.flags_2 & HOLOGRAM_2) || (tc && !is_type_in_typecache(I, tc)))
if(user.a_intent == INTENT_HARM)
return FALSE
if((I.flags_2 & HOLOGRAM_2 | NO_MAT_REDEMPTION_2) || (tc && !is_type_in_typecache(I, tc)))
to_chat(user, "<span class='warning'>[parent] won't accept [I]!</span>")
return FALSE
. = TRUE
last_insert_success = FALSE