This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Airlock Seals 2: I'm dumb and a fool edition (#53114)
Adds door seals to the game, inspired by the ones used in Alien Isolation and SOMA. Trivially easy for a human to remove, but makes it a nightmare to try and smash through if you're an alien, an evil robot, or don't have hands. I also slightly changed how airlock reinforcement works, as now there are two ways to increase the integrity, the previous way of just resetting the max_integrity after the removal of the plating wouldn't work.
- Loading branch information
Jimmius
authored
Sep 13, 2020
1 parent
899a9e0
commit a9c538f
Showing
23 changed files
with
140 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters