Use preloaded MODlink scryers in loadout & exosuit fabs (#25604)

* Loadout & exosuit fab MODsuit scryers now have NT frequency by default

* Prevent MODlink scryers from calling from ghost cafe areas

* Condense override formatting

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>

* Modularise mechfabricator recipe changes

* Reorder include

* Code format improvements

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>

---------

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
Ephemeralis
2023-12-16 10:44:27 -05:00
committed by GitHub
co-authored by Bloop
parent 3ee59f8442
commit 865ef804ad
4 changed files with 19 additions and 1 deletions
@@ -0,0 +1,13 @@
/obj/item/clothing/neck/link_scryer/can_call()
. = ..()
var/mob/living/user = loc
if(!istype(user))
return FALSE
var/area/user_area = get_area(user)
// if we're in a ghost-cafe, we can't call or be called.
// this will still work on the interlink (/area/centcom/interlink)
if(istype(user_area, /area/centcom/holding))
return FALSE
@@ -0,0 +1,3 @@
/datum/design/modlink_scryer
// use the loaded modlink scryer object to have the frequency set to NT upon creation
build_path = /obj/item/clothing/neck/link_scryer/loaded
@@ -287,7 +287,7 @@ GLOBAL_LIST_INIT(loadout_necks, generate_loadout_items(/datum/loadout_item/neck)
/datum/loadout_item/neck/link_scryer
name = "MODlink Scryer"
item_path = /obj/item/clothing/neck/link_scryer
item_path = /obj/item/clothing/neck/link_scryer/loaded
/datum/loadout_item/neck/holobadge
name = "Holobadge"
+2
View File
@@ -6194,6 +6194,7 @@
#include "modular_skyrat\master_files\code\game\objects\items\wiki_manuals.dm"
#include "modular_skyrat\master_files\code\game\objects\items\devices\anomaly_neutralizer.dm"
#include "modular_skyrat\master_files\code\game\objects\items\devices\chameleonproj.dm"
#include "modular_skyrat\master_files\code\game\objects\items\devices\mod_link.dm"
#include "modular_skyrat\master_files\code\game\objects\items\devices\traitordevices.dm"
#include "modular_skyrat\master_files\code\game\objects\items\stacks\sheets\sheet_types.dm"
#include "modular_skyrat\master_files\code\game\objects\items\storage\backpack.dm"
@@ -6429,6 +6430,7 @@
#include "modular_skyrat\master_files\code\modules\religion\religious_sects.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\biogenerator_designs.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\limbgrower_designs.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\mechfabricator_designs.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\medical_designs.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\misc_designs.dm"
#include "modular_skyrat\master_files\code\modules\research\designs\tool_designs.dm"