forked from Skyrat-SS13/Skyrat-tg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SEMI-MODULAR] Advanced engineering response team (Skyrat-SS13#20040)
* advanced atmos * radio defines * turn radio on * doc * security level * Update modular_skyrat/modules/alerts/code/security_level_procs.dm Co-authored-by: Pinta <[email protected]> * Update security_level_procs.dm * not needed * Update adv_engineering.dm * move sec level proc * Update sol_fed.dm * Update sol_fed.dm * charge 15k per tech * remove armor from jumpsuit --------- Co-authored-by: Pinta <[email protected]>
- Loading branch information
1 parent
e0d6a89
commit b9fe8cc
Showing
20 changed files
with
206 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#define RADIO_CHANNEL_SOLFED "SolFed" | ||
#define RADIO_KEY_SOLFED "l" | ||
#define RADIO_TOKEN_SOLFED ":l" | ||
|
||
#define FREQ_SOLFED 1377 |
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
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
47 changes: 47 additions & 0 deletions
47
modular_skyrat/modules/advanced_engineering/code/adv_engineering.dm
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,47 @@ | ||
/obj/item/storage/belt/utility/full/powertools/ircd/PopulateContents() | ||
new /obj/item/screwdriver/power(src) | ||
new /obj/item/crowbar/power(src) | ||
new /obj/item/weldingtool/electric(src) | ||
new /obj/item/construction/rcd/combat(src) | ||
new /obj/item/pipe_dispenser(src) | ||
new /obj/item/wrench/bolter(src) | ||
new /obj/item/analyzer/ranged(src) | ||
|
||
/obj/item/mod/control/pre_equipped/advanced/atmos | ||
theme = /datum/mod_theme/advanced/atmos | ||
applied_cell = /obj/item/stock_parts/cell/hyper | ||
applied_modules = list( | ||
/obj/item/mod/module/storage/large_capacity, | ||
/obj/item/mod/module/welding, | ||
/obj/item/mod/module/rad_protection, | ||
/obj/item/mod/module/flashlight, | ||
/obj/item/mod/module/t_ray, | ||
/obj/item/mod/module/jetpack/advanced, | ||
/obj/item/mod/module/visor/meson, | ||
) | ||
default_pins = list( | ||
/obj/item/mod/module/jetpack/advanced, | ||
/obj/item/mod/module/magboot/advanced, | ||
) | ||
|
||
/datum/mod_theme/advanced/atmos //Implement a unique skin for this eventually | ||
ui_theme = "neutral" | ||
|
||
/obj/item/rcd_ammo/combat | ||
name = "industrial RCD matter cartridge" | ||
desc = "A cartridge with one complete refill for an industrial RCD." | ||
w_class = WEIGHT_CLASS_SMALL | ||
custom_materials = list(/datum/material/iron=120000, /datum/material/glass=80000) | ||
ammoamt = 440 | ||
|
||
/obj/item/storage/box/rcd_ammo | ||
name = "industrial RCD matter box" | ||
icon = 'modular_skyrat/modules/aesthetics/storage/storage.dmi' | ||
desc = "A durable box with refill cartridges for an industrial RCD." | ||
icon_state = "engibox" | ||
illustration = "rcd" | ||
custom_materials = list(/datum/material/plastic = 1000) | ||
|
||
/obj/item/storage/box/rcd_ammo/PopulateContents() | ||
for(var/i in 1 to 4) | ||
new/obj/item/rcd_ammo/combat(src) |
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,20 @@ | ||
https://github.com/Skyrat-SS13/Skyrat-tg/pull/20040/ | ||
|
||
## Title: | ||
MODULE ID: ADVANCED_ENGINEERING | ||
|
||
### Description: | ||
Adds some new high tier engineering gear for use by ERTs. | ||
|
||
### TG Proc/File Changes: | ||
None | ||
|
||
### Defines | ||
#define RADIO_CHANNEL_SOLFED "SolFed" | ||
#define RADIO_KEY_SOLFED "l" | ||
#define RADIO_TOKEN_SOLFED ":l" | ||
|
||
#define FREQ_SOLFED 1377 | ||
|
||
### Credits: | ||
LT3 |
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.
16 changes: 16 additions & 0 deletions
16
modular_skyrat/modules/alerts/code/security_level_procs.dm
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,16 @@ | ||
/** | ||
* Called to check/change security level. | ||
* Checks if the station security level is at least minimum_level, and if not, sets it to that level. | ||
* Arguments determine if engineering override or maint access is granted. | ||
* Arguments: min_level: number, eng_access: boolean, maint_access: boolean | ||
*/ | ||
/datum/controller/subsystem/security_level/proc/minimum_security_level(min_level = SEC_LEVEL_ORANGE, eng_access = TRUE, maint_access = FALSE) | ||
if(SSsecurity_level.get_current_level_as_number() < min_level) | ||
SSsecurity_level.set_level(min_level) | ||
|
||
if(eng_access) | ||
GLOB.force_eng_override = TRUE | ||
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_FORCE_ENG_OVERRIDE, TRUE) | ||
|
||
if(maint_access) | ||
make_maint_all_access() |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.