Outsider and Shadekin Changes (#7579)

This commit is contained in:
FluffMedic
2024-01-23 20:46:21 -05:00
committed by GitHub
parent bf4dd541f8
commit e8f505eff0
7 changed files with 80 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
//Job defines
#define JOB_OUTSIDER "Outsider"
#define JOB_ANOMALY "Anomaly"
//Material defines
#define MAT_CARPET "red carpet"

View File

@@ -128,6 +128,7 @@ var/const/SEC_I_FREQ = 1475
var/const/TALON_FREQ = 1363 //VOREStation Add
var/const/CSN_FREQ = 1365 //VOREStation Add
var/const/OUT_FREQ = 1367 //CHOMPstation Add
var/list/radiochannels = list(
"Common" = PUB_FREQ,
@@ -150,6 +151,7 @@ var/list/radiochannels = list(
"Security(I)" = SEC_I_FREQ,
"Talon" = TALON_FREQ, //VOREStation Add
"Casino" = CSN_FREQ,
"Outsider" = OUT_FREQ //CHOMPstation Add
)
// Hey, if anyone ever needs to update tgui/packages/tgui/constants.js with new radio channels
@@ -196,7 +198,7 @@ var/list/ANTAG_FREQS = list(SYND_FREQ, RAID_FREQ)
//Department channels, arranged lexically
var/list/DEPT_FREQS = list(AI_FREQ, BDCM_FREQ, COMM_FREQ, ENG_FREQ, ENT_FREQ, MED_FREQ, SEC_FREQ, SCI_FREQ, SRV_FREQ, SUP_FREQ) // CHOMPEdit
var/list/OFFMAP_FREQS = list(TALON_FREQ, CSN_FREQ) //VOREStation Add
var/list/OFFMAP_FREQS = list(TALON_FREQ, CSN_FREQ, OUT_FREQ) //VOREStation Add CHOMPEdit: Added outsider
/proc/frequency_span_class(var/frequency)
// Antags!

View File

@@ -55,6 +55,7 @@ var/const/ENTREPRENEUR =(1<<15)
var/const/OTHER =(1<<10) //CHOMPStation Add
var/const/NONCREW =(1<<0) //CHOMPStation Add
var/const/ANOMALY =(1<<0) //CHOMPstation Add
/* // CHOMPedit: Comment out Talon positions, we don't have that here.
//VOREStation Add
var/const/TALON =(1<<3)

View File

@@ -127,7 +127,7 @@
channels = list("Response Team" = 1, "Science" = 1, "Command" = 1, "Medical" = 1, "Engineering" = 1, "Security" = 1, "Supply" = 1, "Service" = 1)
/obj/item/device/encryptionkey/omni //Literally only for the admin intercoms
channels = list("Mercenary" = 1, "Raider" = 1, "Response Team" = 1, "Science" = 1, "Command" = 1, "Medical" = 1, "Engineering" = 1, "Security" = 1, "Supply" = 1, "Service" = 1)
channels = list("Mercenary" = 1, "Raider" = 1, "Response Team" = 1, "Science" = 1, "Command" = 1, "Medical" = 1, "Engineering" = 1, "Security" = 1, "Supply" = 1, "Service" = 1, "Outsider" = 1) //CHOMPedit: Added Outsider
syndie = 1//Signifies that it de-crypts Syndicate transmissions
/obj/item/device/encryptionkey/ent

View File

@@ -6,6 +6,8 @@
r_pocket = /obj/item/weapon/spacecash/ewallet
l_pocket = /obj/item/device/survivalcapsule/superpose
l_ear = /obj/item/device/radio/headset/outsider
id_slot = slot_wear_id
id_type = /obj/item/weapon/card/id/external // No access, allows activating PDA's.
@@ -17,3 +19,23 @@
if(istype(wallet))
wallet.owner_name = H.real_name
wallet.worth = 1000
/decl/hierarchy/outfit/shadekin
name = OUTFIT_JOB_NAME(JOB_ANOMALY)
//hierarchy_type = /decl/hierarchy/outfit/noncrew
uniform = /obj/item/clothing/under/primitive
shoes = /obj/item/clothing/shoes/primitive
r_pocket = /obj/item/weapon/spacecash/ewallet
l_pocket = /obj/item/device/survivalcapsule/superpose //Kind of want this removed, but I don't have the energy for this plus other kin change discussion
id_slot = slot_wear_id
id_type = /obj/item/weapon/card/id/external // No access, allows activating PDA's.
flags = OUTFIT_HAS_BACKPACK|OUTFIT_EXTENDED_SURVIVAL|OUTFIT_COMPREHENSIVE_SURVIVAL
/decl/hierarchy/outfit/shadekin/post_equip(mob/living/carbon/human/H)
..()
var/obj/item/weapon/spacecash/ewallet/wallet = H.r_store
if(istype(wallet))
wallet.owner_name = H.real_name
wallet.worth = 1000

View File

@@ -25,6 +25,39 @@
-----We encourage outsiders to take on exploration content as a group, staff will not help you for any hardships of solo play.
-----Notice: The outsider role is relatively new; if you encounter bugs, please notify a staff member and avoid using exploits."}
/*seems to be a kin only thing?
/datum/job/noncrew/is_species_banned(species_name, brain_type)
// Any species can join as non-crew, including shadekin.
return FALSE
*/
/datum/job/shadekin
title = JOB_ANOMALY
disallow_jobhop = TRUE
total_positions = 5
spawn_positions = 5
supervisors = "nobody, but you fall under NanoTrasen's Unauthorized Personnel SOP while on NT property"
flag = NONCREW
departments = list(DEPARTMENT_NONCREW)
department_flag = OTHER
faction = "Station"
assignable = FALSE
account_allowed = 0
offmap_spawn = TRUE
outfit_type = /decl/hierarchy/outfit/noncrew
job_description = {"Players taking a role of an outsider not employed by NT with no special mechanics. One superpose pod is provided.
-----Server rules still apply to the fullest
-----Outsiders are considered unauthorized personnel on Southern Cross.
-----Outsiders are not allowed to take part in events and mini-event areas unless the EM says otherwise.
-----Outsiders are not allowed to take station jobs.
-----Outsiders are not allowed to know more than two department jobs.
-----Outsiders are expected to behave in accordance with Unauthorized Personnel SOP regardless of their IC knowledge.
-----Outsiders are not allowed to log-off with station key items (e.g. Captain's spare, station blueprints, nuclear authentication disk, bluespace harpoon, large quantities of station goods, etc). Please leave these items on station or with relevant crew.
-----We encourage outsiders to take on exploration content as a group, staff will not help you for any hardships of solo play.
-----Notice: The outsider role is relatively new; if you encounter bugs, please notify a staff member and avoid using exploits."}
/datum/job/shadekin/is_species_banned(species_name, brain_type)
// Any species can join as non-crew, including shadekin.
return FALSE

View File

@@ -83,3 +83,21 @@
do_teleport(user, locate(telex,teley,telez), local = 0, bohsafe = 1)
tele_threshold = initial(tele_threshold)
return TRUE
/obj/item/device/radio/headset/outsider
name = "Generic headset"
desc = "Headset used by those upon the planet, or in other words, outsiders."
icon_state = "exp_headset"
adhoc_fallback = TRUE
ks1type = /obj/item/device/encryptionkey/headset_outsider
/obj/item/device/encryptionkey/headset_outsider
name = "outsider radio encryption key"
icon_state = "sec_cypherkey"
channels = list("Outsider" = 1)