forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
door_seal.dm
25 lines (23 loc) · 1.03 KB
/
door_seal.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/obj/item/door_seal
name = "pneumatic seal"
desc = "A brace used to seal and reinforce an airlock. Useful for making areas inaccessible to those without opposable thumbs."
icon = 'icons/obj/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_BULKY
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 class='suicide'>[user] is sealing [user.p_them()]self off from the world with [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>")
playsound(src, 'sound/items/jaws_pry.ogg', 30, TRUE)
return(BRUTELOSS)