mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user