* ERP, miscreants, clothing * github pls * guns, dogborg, areas, vendor * finishes moving around the last of the stuffs * cleaned up shit. italics on subtle messages vore code to modular_citadel too * updates codeowners and recompiles tgui because it's a healthy thing to do * reee, I had that spawner set byond * cleans up a bad pipe does the thing I've been meaning to do for a while now as well. * bumps up xenobio console requirements inb4 reee * snowflake commenting
23 lines
922 B
Plaintext
23 lines
922 B
Plaintext
/obj/structure/guncase/plasma
|
|
name = "plasma rifle locker"
|
|
desc = "A locker that holds plasma rifles. Only opens in dire emergencies."
|
|
icon_state = "ecase"
|
|
case_type = "egun"
|
|
gun_category = /obj/item/gun/energy/plasma
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF //because fuck you, powergaming nerds.
|
|
|
|
/obj/structure/guncase/plasma/attackby(obj/item/W, mob/user, params)
|
|
return
|
|
|
|
/obj/structure/guncase/plasma/MouseDrop(over_object, src_location, over_location)
|
|
if(GLOB.security_level == SEC_LEVEL_RED || GLOB.security_level == SEC_LEVEL_DELTA)
|
|
. = ..()
|
|
else
|
|
to_chat(usr, "The storage unit will only unlock during a Red or Delta security alert.")
|
|
|
|
/obj/structure/guncase/plasma/attack_hand(mob/user)
|
|
return MouseDrop(user)
|
|
|
|
/obj/structure/guncase/plasma/emag_act()
|
|
to_chat(usr, "The locking mechanism is fitted with old style parts, The card has no effect.")
|
|
return |