mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-07 14:59:13 +00:00
Moves singulo and supermatter dmis into obj/engine, renamed from obj/tesla_engine Moves Halloween, Christmas, and misc holiday items to obj/holiday Moves lollipops to obj/food Moves crates, closets, and storage to obj/storage Moves assemblies to obj/assemblies Renames decals.dmi to signs.dmi ...because they're signs and not decals Moves statues, cutouts, instruments, art supplies, and crayons to obj/art Moves balloons, plushes, toys, cards, dice, the hourglass, and TCG to obj/toys Moves guns, swords, shields to obj/weapons
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
/obj/item/door_seal
|
|
name = "pneumatic airlock seal"
|
|
desc = "A brace used to seal and reinforce an airlock. Useful for making areas inaccessible to those without opposable thumbs."
|
|
icon = 'icons/obj/weapons/items_and_weapons.dmi'
|
|
icon_state = "pneumatic_seal"
|
|
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
|
|
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
|
|
flags_1 = CONDUCT_1
|
|
resistance_flags = FIRE_PROOF | ACID_PROOF
|
|
force = 5
|
|
throwforce = 5
|
|
throw_speed = 2
|
|
throw_range = 1
|
|
w_class = WEIGHT_CLASS_NORMAL
|
|
custom_materials = list(/datum/material/iron=5000,/datum/material/plasma=500)
|
|
/// how long the seal takes to place on the door
|
|
var/seal_time = 3 SECONDS
|
|
/// how long it takes to remove the seal from a door
|
|
var/unseal_time = 2 SECONDS
|
|
|
|
/obj/item/door_seal/suicide_act(mob/user)
|
|
user.visible_message(span_suicide("[user] is sealing [user.p_them()]self off from the world with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
|
playsound(src, 'sound/items/jaws_pry.ogg', 30, TRUE)
|
|
return(BRUTELOSS)
|
|
|