adds more default pins for prebuilt modsuits (#72427)

## About The Pull Request
makes magboots autopin
adds autopin to unique ert modules and to the admin suit
**if you have any module that should be autopinned but isnt say in the
comments**

## Why It's Good For The Game
cool

## Changelog
🆑
qol: makes modsuits with magboots have those pinned by default, pins
active modules on the admin suit, mining suit and the additional module
of the ert suits
/🆑
This commit is contained in:
Fikou
2023-01-03 22:46:58 +01:00
committed by GitHub
parent cf6edf0228
commit 819e6be70c
+16 -2
View File
@@ -54,6 +54,9 @@
/obj/item/mod/module/flashlight,
/obj/item/mod/module/magboot,
)
default_pins = list(
/obj/item/mod/module/magboot,
)
/obj/item/mod/control/pre_equipped/atmospheric
theme = /datum/mod_theme/atmospheric
@@ -77,6 +80,7 @@
)
default_pins = list(
/obj/item/mod/module/jetpack,
/obj/item/mod/module/magboot/advanced,
)
/obj/item/mod/control/pre_equipped/loader
@@ -104,6 +108,8 @@
/obj/item/mod/module/drill,
)
default_pins = list(
/obj/item/mod/module/gps,
/obj/item/mod/module/drill,
/obj/item/mod/module/sphere_transform,
)
@@ -336,11 +342,13 @@
/// The insignia type, insignias show what sort of member of the ERT you're dealing with.
var/insignia_type = /obj/item/mod/module/insignia
/// Additional module we add, as a treat.
var/additional_module = /obj/item/mod/module
var/additional_module
/obj/item/mod/control/pre_equipped/responsory/Initialize(mapload, new_theme, new_skin, new_core)
applied_modules.Insert(1, insignia_type)
applied_modules.Add(additional_module)
if(additional_module)
applied_modules += additional_module
default_pins += additional_module
return ..()
/obj/item/mod/control/pre_equipped/responsory/commander
@@ -470,6 +478,12 @@
/obj/item/mod/module/jetpack/advanced,
/obj/item/mod/module/anomaly_locked/kinesis/plus,
)
default_pins = list(
/obj/item/mod/module/stealth/ninja,
/obj/item/mod/module/magboot/advanced,
/obj/item/mod/module/jetpack/advanced,
/obj/item/mod/module/anomaly_locked/kinesis/plus,
)
//these exist for the prefs menu
/obj/item/mod/control/pre_equipped/empty