Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/PvE-CMSS13/PvE-CMSS13 int…
Browse files Browse the repository at this point in the history
…o conscripts-gone
  • Loading branch information
AmoryBlaine committed Aug 18, 2024
2 parents 12944f9 + 2605b80 commit 93aba72
Show file tree
Hide file tree
Showing 52 changed files with 229 additions and 203 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/xeno_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#define FIRE_PENALTY 25
#define SENTRY_PENALTY 25
#define VEHICLE_PENALTY 25
#define LOCKED_DOOR_PENALTY 25
#define WINDOW_FRAME_PENALTY 25
#define BARRICADE_PENALTY 50
#define WALL_PENALTY 100
Expand Down
1 change: 1 addition & 0 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ SUBSYSTEM_DEF(ticker)
/datum/controller/subsystem/ticker/proc/request_start()
if(current_state == GAME_STATE_PREGAME)
time_left = 0
delay_start = FALSE

// Killswitch if hanging or interrupted
if(SSnightmare.stat != NIGHTMARE_STATUS_DONE)
Expand Down
6 changes: 0 additions & 6 deletions code/game/jobs/job/antag/xeno/queen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@
to_chat(new_queen, "<B>Your job is to spread the hive.</B>")
to_chat(new_queen, "<B>You should start by building a hive core.</B>")
to_chat(new_queen, "Talk in Hivemind using <strong>;</strong> (e.g. ';Hello my children!')")

AddTimelock(/datum/job/antag/xenos/queen, list(
JOB_XENO_ROLES = 10 HOURS,
JOB_DRONE_ROLES = 5 HOURS,
JOB_T3_ROLES = 3 HOURS,
))
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/other/liaison.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@
name = JOB_CORPORATE_LIAISON
icon_state = "cl_spawn"
job = /datum/job/civilian/liaison

AddTimelock(/datum/job/civilian/liaison, list(
JOB_HUMAN_ROLES = 10 HOURS,
))
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/other/reporter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ This could be the story of the sector! 'Brave Marines responding to dangerous di
/obj/effect/landmark/start/reporter
name = JOB_COMBAT_REPORTER
job = /datum/job/civilian/reporter

AddTimelock(/datum/job/civilian/reporter, list(
JOB_HUMAN_ROLES = 10 HOURS,
))
6 changes: 0 additions & 6 deletions code/game/jobs/job/civilians/other/survivors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,6 @@

SSticker.mode.survivors_by_type_amounts[preferred_variant] += 1

AddTimelock(/datum/job/civilian/survivor, list(
JOB_SQUAD_ROLES = 5 HOURS,
JOB_ENGINEER_ROLES = 5 HOURS,
JOB_MEDIC_ROLES = 5 HOURS
))

/datum/job/civilian/survivor/synth
title = JOB_SYNTH_SURVIVOR
selection_class = "job_synth"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/support/cmo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/uscm_medical/cmo
entry_message_body = "You're a commissioned officer of the USCM. <a href='"+WIKI_PLACEHOLDER+"'>You have authority over everything related to Medbay and Research</a>, only able to be overriden by the XO and CO. You are in charge of medical staff, surgery, chemistry, stimulants and keeping the marines healthy overall."

AddTimelock(/datum/job/civilian/professor, list(
JOB_MEDIC_ROLES = 10 HOURS
))

/obj/effect/landmark/start/professor
name = JOB_CMO
icon_state = "cmo_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/support/doctor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/civilian/doctor, list(
JOB_MEDIC_ROLES = 1 HOURS
))

/obj/effect/landmark/start/doctor
name = JOB_DOCTOR
icon_state = "doc_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/support/nurse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@
name = JOB_NURSE
icon_state = "nur_spawn"
job = /datum/job/civilian/nurse

AddTimelock(/datum/job/civilian/nurse, list(
JOB_HUMAN_ROLES = 1 HOURS
))
4 changes: 0 additions & 4 deletions code/game/jobs/job/civilians/support/researcher.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/civilian/researcher, list(
JOB_MEDIC_ROLES = 5 HOURS
))

/obj/effect/landmark/start/researcher
name = JOB_RESEARCHER
icon_state = "res_spawn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/auxiliary_officer
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job is to oversee</a> the hangar crew, the intel officers, the engineering department, and requisition department. You have many responsibilities and a few plates to keep spinning but your subordinates are mostly self-reliant. Assist where you can and make sure command personnel are confident the auxiliary departments are operating at peak efficiency."

AddTimelock(/datum/job/command/auxiliary_officer, list(
JOB_SQUAD_ROLES = 5 HOURS,
JOB_REQUISITION_ROLES = 5 HOURS,
JOB_ENGINEER_ROLES = 5 HOURS,
JOB_AUXILIARY_ROLES = 5 HOURS,
))

/obj/effect/landmark/start/auxiliary_officer
name = JOB_AUXILIARY_OFFICER
job = /datum/job/command/auxiliary_officer
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/command/auxiliary/crew_chief.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/dcc
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job is to assist</a> the pilot officer maintain the ship's dropship. You have authority only on the dropship, but you are expected to maintain order, as not to disrupt the pilot."

AddTimelock(/datum/job/command/crew_chief, list(
JOB_SQUAD_ROLES = 5 HOURS
))

/obj/effect/landmark/start/crew_chief
name = JOB_DROPSHIP_CREW_CHIEF
icon_state = "dcc_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/command/auxiliary/intel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/command/intel, list(
JOB_SQUAD_ROLES = 5 HOURS
))

/obj/effect/landmark/start/intel
name = JOB_INTEL
icon_state = "io_spawn"
Expand Down
5 changes: 0 additions & 5 deletions code/game/jobs/job/command/auxiliary/pilot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/po
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job is to fly, protect, and maintain the ship's dropship.</a> While you are an officer, your authority is limited to the dropship, where you have authority over the enlisted personnel. If you are not piloting, there is an autopilot fallback for command, but don't leave the dropship without reason."

// Dropship Roles is both PO and DCC combined to not force people to backtrack
AddTimelock(/datum/job/command/pilot, list(
JOB_DROPSHIP_ROLES = 2 HOURS
))

/obj/effect/landmark/start/pilot
name = JOB_PILOT
icon_state = "po_spawn"
Expand Down
10 changes: 0 additions & 10 deletions code/game/jobs/job/command/auxiliary/senior.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@

return filtered_job_options

AddTimelock(/datum/job/command/senior, list(
JOB_SQUAD_ROLES = 15 HOURS,

JOB_ENGINEER_ROLES = 10 HOURS,
JOB_POLICE_ROLES = 10 HOURS,
JOB_MEDIC_ROLES = 10 HOURS,

JOB_COMMAND_ROLES = 5 HOURS,
))

/obj/effect/landmark/start/senior
name = JOB_SEA
icon_state = "sea_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/command/cic/executive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
SIGNAL_HANDLER
GLOB.marine_leaders -= JOB_XO

AddTimelock(/datum/job/command/executive, list(
JOB_COMMAND_ROLES = 5 HOURS,
))

/obj/effect/landmark/start/executive
name = JOB_XO
icon_state = "xo_spawn"
Expand Down
5 changes: 2 additions & 3 deletions code/game/jobs/job/command/cic/staffofficer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
else
gear_preset = initial(gear_preset)

AddTimelock(/datum/job/command/bridge, list(
JOB_SQUAD_LEADER = 1 HOURS,
JOB_HUMAN_ROLES = 15 HOURS
OverrideTimelock(/datum/job/command/bridge, list(
JOB_SQUAD_ROLES = 1 HOURS
))

/obj/effect/landmark/start/bridge
Expand Down
5 changes: 0 additions & 5 deletions code/game/jobs/job/command/police/chief_police.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/uscm_police/cmp
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>You</a> are held by a higher standard and are required to obey not only the server rules but the <a href='"+LAW_PLACEHOLDER+"'>Marine Law</a>. Failure to do so may result in a job ban or server ban. You lead the Military Police, ensure your officers maintain peace and stability aboard the ship. Marines can get rowdy after a few weeks of cryosleep! In addition, you are tasked with the security of high-ranking personnel, including the command staff. Keep them safe!"

AddTimelock(/datum/job/command/warrant, list(
JOB_POLICE_ROLES = 15 HOURS,
JOB_COMMAND_ROLES = 5 HOURS
))

/obj/effect/landmark/start/warrant
name = JOB_CHIEF_POLICE
icon_state = "cmp_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/command/police/police.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/command/police, list(
JOB_SQUAD_ROLES = 10 HOURS
))

/obj/effect/landmark/start/police
name = JOB_POLICE
icon_state = "mp_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/command/police/warden.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/uscm_police/warden
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>You</a> are held by a higher standard and are required to obey not only the server rules but the <a href='"+LAW_PLACEHOLDER+"'>Marine Law</a>. Failure to do so may result in a job ban or server ban. Your primary job is to maintain peace and stability aboard the ship. Marines can get rowdy after a few weeks of cryosleep! In addition, you are tasked with the mainting security records and overwatching any prisoners in Brig."

AddTimelock(/datum/job/command/warden, list(
JOB_POLICE_ROLES = 10 HOURS
))

/obj/effect/landmark/start/warden
name = JOB_WARDEN
icon_state = "wmp_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/logistics/cargo/chief_req.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/qm
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job</a> is to dispense supplies to the marines, including weapon attachments. Your cargo techs can help you out, but you have final say in your department. Make sure they're not goofing off. While you may request paperwork for supplies, do not go out of your way to screw with marines, unless you want to get deposed. A happy ship is a well-functioning ship."

AddTimelock(/datum/job/logistics/requisition, list(
JOB_REQUISITION_ROLES = 10 HOURS,
))

/obj/effect/landmark/start/requisition
name = JOB_CHIEF_REQUISITION
icon_state = "ro_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/logistics/engi/chief_engineer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
gear_preset = /datum/equipment_preset/uscm_ship/chief_engineer
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job</a> is to maintain your department and keep your technicians in check. You are responsible for engineering, power, ordnance, and the orbital cannon. Should the commanding and executive officer be unavailable, you are next in the chain of command."

AddTimelock(/datum/job/logistics/engineering, list(
JOB_ENGINEER_ROLES = 10 HOURS,
))

/obj/effect/landmark/start/engineering
name = JOB_CHIEF_ENGINEER
icon_state = "ce_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/logistics/engi/ordnance_tech.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/logistics/otech, list(
JOB_ENGINEER_ROLES = 1 HOURS
))

/obj/effect/landmark/start/otech
name = JOB_ORDNANCE_TECH
icon_state = "ot_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/marine/squad/engineer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
flags_startup_parameters = ROLE_ADD_TO_SQUAD
gear_preset = /datum/equipment_preset/wo/marine/engineer

AddTimelock(/datum/job/marine/engineer, list(
JOB_SQUAD_ROLES = 1 HOURS
))

/obj/effect/landmark/start/marine/engineer
name = JOB_SQUAD_ENGI
icon_state = "engi_spawn"
Expand Down
4 changes: 2 additions & 2 deletions code/game/jobs/job/marine/squad/leader.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
flags_startup_parameters = ROLE_ADD_TO_SQUAD
gear_preset = /datum/equipment_preset/wo/marine/sl

AddTimelock(/datum/job/marine/leader, list(
JOB_SQUAD_ROLES = 10 HOURS
OverrideTimelock(/datum/job/marine/leader, list(
JOB_SQUAD_ROLES = 1 HOURS
))

/obj/effect/landmark/start/marine/leader
Expand Down
5 changes: 0 additions & 5 deletions code/game/jobs/job/marine/squad/medic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
flags_startup_parameters = ROLE_ADD_TO_SQUAD
gear_preset = /datum/equipment_preset/wo/marine/medic

AddTimelock(/datum/job/marine/medic, list(
JOB_MEDIC_ROLES = 1 HOURS,
JOB_SQUAD_ROLES = 1 HOURS
))

/obj/effect/landmark/start/marine/medic
name = JOB_SQUAD_MEDIC
icon_state = "medic_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/marine/squad/smartgunner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
flags_startup_parameters = ROLE_ADD_TO_SQUAD
gear_preset = /datum/equipment_preset/wo/marine/sg

AddTimelock(/datum/job/marine/smartgunner, list(
JOB_SQUAD_ROLES = 5 HOURS
))

/obj/effect/landmark/start/marine/smartgunner
name = JOB_SQUAD_SMARTGUN
icon_state = "smartgunner_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/marine/squad/specialist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
flags_startup_parameters = ROLE_ADD_TO_SQUAD
gear_preset = /datum/equipment_preset/wo/marine/spec

AddTimelock(/datum/job/marine/specialist, list(
JOB_SQUAD_ROLES = 5 HOURS
))

/obj/effect/landmark/start/marine/spec
name = JOB_SQUAD_SPECIALIST
icon_state = "spec_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/jobs/job/marine/squad/tl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
. = ..()
spawning_human.important_radio_channels += JTAC_FREQ

AddTimelock(/datum/job/marine/tl, list(
JOB_SQUAD_ROLES = 8 HOURS
))

/obj/effect/landmark/start/marine/tl
name = JOB_SQUAD_TEAM_LEADER
icon_state = "tl_spawn"
Expand Down
4 changes: 0 additions & 4 deletions code/game/machinery/cryopod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,6 @@ GLOBAL_LIST_INIT(frozen_items, list(SQUAD_MARINE_1 = list(), SQUAD_MARINE_2 = li
var/willing = null //We don't want to allow people to be forced into despawning.
var/mob/living/M = G.grabbed_thing

if(M.stat == DEAD) //This mob is dead
to_chat(user, SPAN_WARNING("[src] immediately rejects [M]. \He passed away!"))
return

if(isxeno(M))
to_chat(user, SPAN_WARNING("There is no way [src] will accept [M]!"))
return
Expand Down
14 changes: 7 additions & 7 deletions code/game/machinery/doors/shutters.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@
/obj/structure/machinery/door/poddoor/shutters/finish_close()
operating = FALSE

/obj/structure/machinery/door/poddoor/shutters/attack_alien(mob/living/carbon/xenomorph/M)
if(density && !operating)
INVOKE_ASYNC(src, PROC_REF(pry_open), M)
return XENO_ATTACK_ACTION
else
. = ..(M)

/obj/structure/machinery/door/poddoor/shutters/almayer
icon = 'icons/obj/structures/doors/blastdoors_shutters.dmi'
openspeed = 4 //shorter open animation.
Expand Down Expand Up @@ -101,13 +108,6 @@
/obj/structure/machinery/door/poddoor/shutters/almayer/containment
unacidable = TRUE

/obj/structure/machinery/door/poddoor/shutters/almayer/containment/attack_alien(mob/living/carbon/xenomorph/M)
if(isqueen(M) && density && !operating)
INVOKE_ASYNC(src, PROC_REF(pry_open), M)
return XENO_ATTACK_ACTION
else
. = ..(M)

/obj/structure/machinery/door/poddoor/shutters/almayer/containment/pry_open(mob/living/carbon/xenomorph/X, time = 4 SECONDS)
. = ..()
if(. && !(stat & BROKEN))
Expand Down
8 changes: 7 additions & 1 deletion code/game/objects/items/reagent_containers/food/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@

/obj/item/reagent_container/food/drinks/flask/canteen
name = "canteen"
desc = "You take a sip from your trusty USCM canteen..."
desc = "A ruggedized metal alloy flask. Can hold a good amount of water... Or other liquids."
icon_state = "canteen"
volume = 60
center_of_mass = "x=17;y=8"
Expand All @@ -362,6 +362,12 @@
. = ..()
reagents.add_reagent("water", 60)

/obj/item/reagent_container/food/drinks/flask/canteen/empty

/obj/item/reagent_container/food/drinks/flask/canteen/empty/Initialize()
. = ..()
reagents.clear_reagents()

/obj/item/reagent_container/food/drinks/flask/detflask
name = "brown leather flask"
desc = "A flask with a leather band around the sides, often seen filled with whiskey and carried by rugged, gritty detectives."
Expand Down
Loading

0 comments on commit 93aba72

Please sign in to comment.