mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Cult papers can't be placed on airlocks
This commit is contained in:
@@ -979,19 +979,10 @@ About the new airlock wires panel:
|
||||
else if(istype(C, /obj/item/pai_cable)) // -- TLE
|
||||
var/obj/item/pai_cable/cable = C
|
||||
cable.plugin(src, user)
|
||||
else if(istype(C, /obj/item/paper) || istype(C, /obj/item/photo))
|
||||
else if((istype(C, /obj/item/paper) && !istype(C, /obj/item/paper/talisman)) || istype(C, /obj/item/photo))
|
||||
if(note)
|
||||
to_chat(user, "<span class='warning'>There's already something pinned to this airlock! Use wirecutters or your hands to remove it.</span>")
|
||||
return
|
||||
|
||||
if(!user.canUnEquip(C))
|
||||
to_chat(user, "<span class='warning'>For some reason, you can't attach [C]!</span>")
|
||||
return
|
||||
|
||||
// QOL for cultists
|
||||
if(!do_after_once(user, 10, target = src))
|
||||
return
|
||||
|
||||
if(!user.unEquip(C))
|
||||
to_chat(user, "<span class='warning'>For some reason, you can't attach [C]!</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user