Stops putting RCD, bluespace bags, and staves into ORM
This commit is contained in:
committed by
CitadelStationBot
parent
7d31aa7538
commit
f8f599b17b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user