Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xenosurge #5

Open
wants to merge 112 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d7f49ba
initial
silencer-pl Aug 28, 2024
c1d2074
UACMizes the USCMC
silencer-pl Aug 29, 2024
ce624e9
makes all guns smartguns
silencer-pl Aug 29, 2024
a8e4d99
vendor and gamemode setup
silencer-pl Aug 29, 2024
ab93d14
Update misc.dm
silencer-pl Aug 29, 2024
e4acaa3
Update pve_guns.dm
silencer-pl Aug 30, 2024
2f4b072
Update pve_guns.dm
silencer-pl Aug 30, 2024
c02d713
initial
silencer-pl Aug 30, 2024
fd2db49
Update spawner.dm
silencer-pl Aug 30, 2024
836a9f4
Merge branch 'dev' into spawner
silencer-pl Aug 30, 2024
8321acf
Merge pull request #1 from silencer-pl/spawner
silencer-pl Aug 30, 2024
71efd41
Merge branch 'dev' of https://github.com/silencer-pl/PvE-NS-SS13 into…
silencer-pl Aug 30, 2024
0f77dcf
finishes spawner basics
silencer-pl Aug 30, 2024
77cf240
squad picker/name shenanigans
silencer-pl Aug 30, 2024
8d823b3
purges rename_platoon due to runtimes
silencer-pl Sep 5, 2024
a572c18
Update syringe.dmi
silencer-pl Sep 5, 2024
5f70c13
super display and roundstart text display stuff
silencer-pl Sep 5, 2024
31229c8
Update misc.dm
silencer-pl Sep 5, 2024
98eab5a
resupply and stim-jector shenanigans also known as bug fixing
silencer-pl Sep 6, 2024
b4096db
refactors spawners, adds more controls
silencer-pl Sep 6, 2024
dea4e06
roundstart display tweaks and role spawners
silencer-pl Sep 6, 2024
1d01590
adds wip shipmap, shuttle, code for both
silencer-pl Sep 6, 2024
0b28d58
talking npcs proof of concept
silencer-pl Sep 6, 2024
d883502
outsources roleplay into the hands of one sweaty admin
silencer-pl Sep 6, 2024
816a0aa
makes the shipmap a tgm file and nukes the paper map
silencer-pl Sep 6, 2024
babd2d7
objective changing, browser display, last tweaks
silencer-pl Sep 6, 2024
33d2b3d
gives restocking some love, adds admin control over full restock
silencer-pl Sep 6, 2024
af7cb29
makes arrowhead less stupid, adds areas
silencer-pl Sep 6, 2024
7c5a348
spawner logic loop fixes, some tools
silencer-pl Sep 7, 2024
2c04787
"fixed" uniform vendors, display final touches
silencer-pl Sep 7, 2024
0f44a1a
I cant count, the update
silencer-pl Sep 7, 2024
0a0c8b3
layer lol
silencer-pl Sep 8, 2024
c0007f3
fixes blurbs for songs
silencer-pl Sep 11, 2024
43d2018
post playtest bugfixes and adjustments
silencer-pl Sep 12, 2024
b36e4a4
Adds new Arrowhead
silencer-pl Sep 13, 2024
a387cb0
Update UAS_Arrowhead_NEW.dmm
silencer-pl Sep 13, 2024
76830c1
Update UAS_Arrowhead_NEW.dmm
silencer-pl Sep 13, 2024
a68d0cc
Update UAS_Arrowhead_NEW.dmm
silencer-pl Sep 13, 2024
7ecfac6
linter go home
silencer-pl Sep 13, 2024
f762950
Update UAS_Arrowhead_NEW.dmm
silencer-pl Sep 13, 2024
979f581
event prep
silencer-pl Sep 14, 2024
9e9f895
Update colonialmarines.dme
silencer-pl Sep 14, 2024
bc511bb
Update event_tab.dm
silencer-pl Sep 15, 2024
5c4640f
Update xenosurge.dm
silencer-pl Sep 15, 2024
fedb359
Initial
Syndro101 Sep 16, 2024
af6b2ea
custom areas
Syndro101 Sep 16, 2024
86ec883
small fix
Syndro101 Sep 16, 2024
a3ca621
fixes tacmap display
silencer-pl Sep 18, 2024
f9fa2be
changes spawner logic, merges regular and vet spawners
silencer-pl Sep 18, 2024
039cfe5
Update create_and_destroy.dm
silencer-pl Sep 18, 2024
bfb6923
surge proof of concept icon sets
silencer-pl Sep 18, 2024
112cfa3
refactors spawners
silencer-pl Sep 18, 2024
610e2be
makes the new arrowhead the regular arrowhead
silencer-pl Sep 18, 2024
64d67a3
song blurb fix
silencer-pl Sep 18, 2024
7b7222b
Update spawner_control.dm
silencer-pl Sep 18, 2024
9c66295
updates flavor text
silencer-pl Sep 18, 2024
2b4f4b1
fixes immediate playtest issues
silencer-pl Sep 18, 2024
20f3d22
Update colonialmarines_ai.dm
silencer-pl Sep 19, 2024
0875807
Added new shipmap, UAS Arrowhead
Syndro101 Sep 20, 2024
80aad5f
Added the elevators for the UAS Arrowhead
Syndro101 Sep 20, 2024
91c34b9
Removal of unused elevator
Syndro101 Sep 20, 2024
9cf1e51
Minor Tweaks to some access and Json
Syndro101 Sep 20, 2024
83e95f4
minor tweaks
Syndro101 Sep 20, 2024
8fd648f
added hunter teleport markers
Syndro101 Sep 21, 2024
9a7f706
Final... hopefully
Syndro101 Sep 21, 2024
44c054d
Forgot the cat lmao
Syndro101 Sep 21, 2024
e39bf0c
Merge pull request #2 from Syndro101/UAS_Arrowhead_New
silencer-pl Sep 22, 2024
a1134e1
Merge pull request #3 from silencer-pl/Xenosurge_Test1_stable
silencer-pl Sep 22, 2024
31ec42f
Merge branch 'dev' of https://github.com/silencer-pl/PvE-NS-SS13 into…
silencer-pl Sep 22, 2024
3e1b40a
Update shuttles.dm
silencer-pl Sep 22, 2024
f580c8f
Update shuttles.dm
silencer-pl Sep 22, 2024
f166054
Update colonialmarines.dme
silencer-pl Sep 22, 2024
e81979f
add surge aoe ability and icons
silencer-pl Sep 24, 2024
98b4379
missile barrage first drat
silencer-pl Sep 25, 2024
5506751
Update runner_abilities.dm
silencer-pl Sep 25, 2024
e2717f2
Update gun.dm
silencer-pl Sep 26, 2024
639bf71
Update runner_powers.dm
silencer-pl Sep 26, 2024
3d72b15
bot boss icons and organizing
silencer-pl Sep 26, 2024
6d8de8d
moves all boss stuff to own datum, bug fixes, f/x fixes
silencer-pl Sep 26, 2024
2196f60
Relocation and associated stuff, plus new rocket sound
silencer-pl Sep 26, 2024
2daae73
viewport shenangians and ring-crosshair eleement
silencer-pl Sep 27, 2024
71d9202
Update boss_powers.dm
silencer-pl Sep 27, 2024
4fdb452
vis_content code is "fun", someone kill me
silencer-pl Sep 27, 2024
ca3cc58
Moves PvE boss defines and procs out of the xenos
silencer-pl Sep 28, 2024
694f0e3
boss movement calls, fixes
silencer-pl Sep 29, 2024
78b9352
linter changes
silencer-pl Sep 29, 2024
22dee26
Datum handling
silencer-pl Sep 29, 2024
4057831
icon chunking on collision
silencer-pl Oct 2, 2024
9517215
Update create_and_destroy.dm
silencer-pl Oct 2, 2024
be614b3
Update create_and_destroy.dm
silencer-pl Oct 2, 2024
3ce8704
wall chunking fixed
silencer-pl Oct 2, 2024
2a4a302
icon chunking/primary boss attack revisions
silencer-pl Oct 7, 2024
a533985
shield handling + fixes for linter
silencer-pl Oct 7, 2024
bf90fb2
damage handling, linter fix
silencer-pl Oct 7, 2024
58ef6c0
boss spawn in animation
silencer-pl Oct 7, 2024
9ee09ac
ability improvements and debugging
silencer-pl Oct 15, 2024
a27ed25
Update boss_bot.dm
silencer-pl Oct 15, 2024
f36706b
Update boss_bot.dm
silencer-pl Oct 15, 2024
8bf2672
updates movement to not break open turfs into space
silencer-pl Oct 23, 2024
6c802fd
cleans up actions, walking
silencer-pl Oct 23, 2024
139323f
more target picking for missile swarm optimization
silencer-pl Oct 23, 2024
df7646b
last tuneups
silencer-pl Oct 24, 2024
ff93ba9
Actually tripples the damage when exposed
silencer-pl Oct 24, 2024
624c7f3
adds new desperation action
silencer-pl Oct 25, 2024
70090d1
testing stuff
silencer-pl Oct 25, 2024
caa48b1
How about you create and destroy some bitches
silencer-pl Oct 25, 2024
7696ce6
normalizes damage for bosses
silencer-pl Oct 28, 2024
874c3b4
boss fixes, part one
silencer-pl Oct 29, 2024
f4fcc4a
abilities debug, pt 2
silencer-pl Oct 30, 2024
e47b3d4
boss part 3.3333
silencer-pl Nov 15, 2024
3d96316
boss drones, take 1
silencer-pl Nov 15, 2024
af59529
drone testing/debug code
silencer-pl Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"prettier.prettierPath": "./tgui/.yarn/sdks/prettier/index.cjs",
"typescript.tsdk": "./tgui/.yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.rulers": [],
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
Expand Down
6 changes: 3 additions & 3 deletions code/__DEFINES/access.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ most of them are tied into map-placed objects. This should be reworked in the fu
///Well... everything (non Yautja).
#define ACCESS_LIST_GLOBAL "EVERYTHING"

///Most of the USCM Access Levels used on the USS Almayer, excluding highly restricted ones.
///Most of the UACM Access Levels used on the USS Almayer, excluding highly restricted ones.
#define ACCESS_LIST_MARINE_MAIN "Almayer (Main)"
///All USCM Access levels used on the USS Almayer
///All UACM Access levels used on the USS Almayer
#define ACCESS_LIST_MARINE_ALL "Almayer (ALL)"
///Used by the Wey-Yu - USCM Liaison
///Used by the Wey-Yu - UACM Liaison
#define ACCESS_LIST_MARINE_LIAISON "Wey-Yu (Liaison)"

///The accesses granted to emergency responders.
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/chat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@

/// Adds a generic box around whatever message you're sending in chat. Really makes things stand out.
#define examine_block(str) ("<div class='examine_block'>" + str + "</div>")

#define narrate_head(str) ("<div class='narrate_head'><p>" + str + "</p></div>")
#define narrate_body(str) ("<div class='narrate_body'><p>" + str + "</p></div>")
2 changes: 0 additions & 2 deletions code/__DEFINES/dcs/signals/signals_global.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,3 @@
/// From /obj/structure/machinery/power/fusion_engine/proc/set_overloading() : (set_overloading)
#define COMSIG_GLOB_GENERATOR_SET_OVERLOADING "!generator_set_overloading"

/// From /client/proc/rename_platoon()
#define COMSIG_GLOB_PLATOON_NAME_CHANGE "platoon_name_change"
16 changes: 12 additions & 4 deletions code/__DEFINES/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define GET_DEFAULT_ROLE(title) (RoleAuthority?.default_roles[title] ? RoleAuthority.default_roles[title] : title)

// Squad name defines
#define SQUAD_MARINE_1 "Sun Riders"
#define SQUAD_MARINE_1 "Alpha"
#define SQUAD_MARINE_2 "Bravo"
#define SQUAD_MARINE_3 "Charlie"
#define SQUAD_MARINE_4 "Delta"
Expand Down Expand Up @@ -40,6 +40,14 @@
#define JOB_SQUAD_MARINE_FORECON "FORECON Rifleman"
#define JOB_SQUAD_SMARTGUN_FORECON "FORECON Smartgunner"

#define JOB_UER_MARINE "UER Marine Operator"
#define JOB_UER_MARINE_POINT "UER Marine Point"
#define JOB_UER_MARINE_LEAD "UER Marine Team Lead"

#define JOB_UER_MARINE_TESTER "UER Marine Tester"

#define JOB_UER_PO "UER Dropship Pilot"

var/global/list/job_squad_roles = JOB_SQUAD_ROLES_LIST

#define JOB_COLONIST "Colonist"
Expand Down Expand Up @@ -132,9 +140,9 @@ var/global/list/job_command_roles = JOB_COMMAND_ROLES_LIST

#define JOB_STOWAWAY "Stowaway"

#define JOB_MARINE "USCM Marine" //generic marine
#define JOB_COLONEL "USCM Colonel"
#define JOB_GENERAL "USCM General"
#define JOB_MARINE "UACM Marine" //generic marine
#define JOB_COLONEL "UACM Colonel"
#define JOB_GENERAL "UACM General"
#define JOB_ACMC "Assistant Commandant of the Marine Corps"
#define JOB_CMC "Commandant of the Marine Corps"

Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ GLOBAL_LIST_INIT(all_minimap_flags, bitfield2list(MINIMAP_FLAG_ALL))
#define MINIMAP_AREA_CONTESTED_ZONE "#0603c4ee"

#define MINIMAP_SQUAD_UNKNOWN "#d8d8d8"
#define MINIMAP_SQUAD_ALPHA "#4148c8"
#define MINIMAP_SQUAD_ALPHA "#ed1c24"
#define MINIMAP_SQUAD_BRAVO "#fbc70e"
#define MINIMAP_SQUAD_CHARLIE "#76418a"
#define MINIMAP_SQUAD_DELTA "#0c0cae"
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@
// Hellhound strain flags
#define HELLHOUND_NORMAL "Normal"

// Boss strain flags
#define BOSS_NORMAL "Normal"

var/list/default_onmob_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/items_lefthand_0.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/items_righthand_0.dmi',
Expand Down
4 changes: 3 additions & 1 deletion code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ var/global/list/ROLES_GROUND = ROLES_XENO + ROLES_SPECIAL + ROLES_WHITELISTED
var/global/list/ROLES_DISTRESS_SIGNAL = ROLES_USCM + ROLES_GROUND
var/global/list/ROLES_FACTION_CLASH = ROLES_USCM + JOB_PREDATOR

var/global/list/ROLES_PVE = list(JOB_UER_MARINE,JOB_UER_MARINE_POINT,JOB_UER_MARINE_LEAD)


var/global/list/ROLES_UNASSIGNED = list(JOB_SQUAD_MARINE)
var/global/list/ROLES_AI = list(JOB_SO, JOB_SQUAD_LEADER, JOB_SQUAD_MEDIC, JOB_SQUAD_TEAM_LEADER, JOB_SQUAD_SMARTGUN, JOB_SQUAD_MARINE)
Expand Down Expand Up @@ -221,7 +223,7 @@ var/global/list/whitelist_hierarchy = list(WHITELIST_NORMAL, WHITELIST_COUNCIL,

// Faction names
#define FACTION_NEUTRAL "Neutral"
#define FACTION_MARINE "USCM"
#define FACTION_MARINE "UACM"
#define FACTION_SURVIVOR "Survivor"
#define FACTION_UPP "UPP"
#define FACTION_TWE "TWE"
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/origins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Civilian / CLF
#define ORIGIN_CIVILIAN "Colony-Born"

// USCM
// UACM
#define ORIGIN_USCM "United Americas (United States)"
#define ORIGIN_USCM_LUNA "United Americas (Luna)"
#define ORIGIN_USCM_OTHER "United Americas (Other)"
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/radio.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

//Radio channels
#define RADIO_CHANNEL_BLANK "UNSET"
#define RADIO_CHANNEL_ALMAYER "Almayer"
#define RADIO_CHANNEL_ALMAYER "Arrowhead"
#define RADIO_CHANNEL_ALAMO "Alamo"
#define RADIO_CHANNEL_COMMAND "Command"
#define RADIO_CHANNEL_COLONY "Colony"
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/sentry_laptop_configurations.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define FACTION_USCM "USCM"
#define FACTION_USCM "UACM"
#define FACTION_WEYLAND "WY"
#define FACTION_HUMAN "HUMAN"
#define FACTION_COLONY "COLONY"
Expand Down
12 changes: 12 additions & 0 deletions code/__DEFINES/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,24 @@
#define DROPSHIP_NORMANDY "dropship_normandy"
#define DROPSHIP_UPP "dropship_upp"
#define DROPSHIP_CYCLONE "dropship_cyclone"
#define DROPSHIP_WRAITH "dropship_wraith"

#define ALMAYER_DROPSHIP_LZ1 "almayer-hangar-lz1"
#define ALMAYER_DROPSHIP_LZ2 "almayer-hangar-lz2"

#define GOLDEN_ARROW_LZ "golden arrow lz"

#define ARROWHEAD_LZ "arrowhead lz"
#define MOBILE_ARROW_ELEVATOR "arrow_elevator"
#define STAT_ARROW_EMPTY "arrow_empty"
#define STAT_ARROW_OCCUPIED "arrow_occupied"
#define STAT_ARROW_UPPER_PORT "UAS Arrowhead - Upper Port Elevator Dock"
#define STAT_ARROW_UPPER_STAR "UAS Arrowhead - Upper Starboard Elevator Dock"
#define STAT_ARROW_MID_PORT "UAS Arrowhead - Middle Port Elevator Dock"
#define STAT_ARROW_MID_STAR "UAS Arrowhead - Middle Starboard Elevator Dock"
#define STAT_ARROW_LOWER_PORT "UAS Arrowhead - Lower Port Elevator Dock"
#define STAT_ARROW_LOWER_STAR "UAS Arrowhead - Lower Starboard Elevator Dock"

#define DROPSHIP_FLYBY_ID "special_flight"
#define DROPSHIP_LZ1 "dropship-lz1"
#define DROPSHIP_LZ2 "dropship-lz2"
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@
#define XENO_CASTE_HELLHOUND "Hellhound"
#define XENO_SPECIAL_CASTES list(XENO_CASTE_QUEEN, XENO_CASTE_PREDALIEN, XENO_CASTE_HELLHOUND)


#define ALL_XENO_CASTES list(XENO_CASTE_LARVA, XENO_CASTE_PREDALIEN_LARVA, XENO_CASTE_FACEHUGGER, XENO_CASTE_LESSER_DRONE, XENO_CASTE_DRONE, XENO_CASTE_RUNNER, XENO_CASTE_SENTINEL, XENO_CASTE_DEFENDER, XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD, XENO_CASTE_LURKER, XENO_CASTE_WARRIOR, XENO_CASTE_SPITTER, XENO_CASTE_BOILER, XENO_CASTE_PRAETORIAN, XENO_CASTE_CRUSHER, XENO_CASTE_RAVAGER, XENO_CASTE_QUEEN, XENO_CASTE_PREDALIEN, XENO_CASTE_HELLHOUND)

// Checks if two hives are allied to each other.
Expand Down
49 changes: 47 additions & 2 deletions code/_globalvars/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GLOBAL_VAR_INIT(perf_flags, NO_FLAGS)

GLOBAL_LIST_INIT(bitflags, list((1<<0), (1<<1), (1<<2), (1<<3), (1<<4), (1<<5), (1<<6), (1<<7), (1<<8), (1<<9), (1<<10), (1<<11), (1<<12), (1<<13), (1<<14), (1<<15), (1<<16), (1<<17), (1<<18), (1<<19), (1<<20), (1<<21), (1<<22), (1<<23)))

GLOBAL_VAR_INIT(master_mode, "Distress Signal: Lowpop")
GLOBAL_VAR_INIT(master_mode, "Xenosurge")

GLOBAL_VAR_INIT(timezoneOffset, 0)

Expand Down Expand Up @@ -54,4 +54,49 @@ GLOBAL_VAR(obfs_x)
/// A number between -500 and 500.
GLOBAL_VAR(obfs_y)

GLOBAL_VAR_INIT(ai_xeno_weeding, TRUE)
GLOBAL_VAR_INIT(ai_xeno_weeding, FALSE)

GLOBAL_VAR_INIT(xenosurge_spawner_limit, 30)

GLOBAL_VAR_INIT(xenosurge_surge_started, 0)
GLOBAL_VAR_INIT(xenosurge_wave_xenos_max, 100)
GLOBAL_VAR_INIT(xenosurge_wave_xenos_current, 0)
GLOBAL_VAR_INIT(xenosurge_wave_veteran_xenos_current, 0)
GLOBAL_VAR_INIT(xenosurge_veteran_xenos_max, 6)


GLOBAL_VAR_INIT(xenosurge_wave_xenos_hp, 50)
GLOBAL_VAR_INIT(xenosurge_wave_xenos_armor, 0)
GLOBAL_VAR_INIT(xenosurge_wave_xenos_dam_min, 5)
GLOBAL_VAR_INIT(xenosurge_wave_xenos_dam_max, 7)

GLOBAL_VAR_INIT(xenosurge_spawner_xenos, 5)
GLOBAL_VAR_INIT(xenosurge_spawner_delay, 100)
GLOBAL_VAR_INIT(xenosurge_spawner_variance, 10)

GLOBAL_VAR_INIT(xenosurge_veteran_spawner_xenos_max, 2)
GLOBAL_VAR_INIT(xenosurge_veteran_spawner_delay, 100)
GLOBAL_VAR_INIT(xenosurge_veteran_spawner_variance, 50)

GLOBAL_VAR_INIT(xenosurge_veteran_type, 4)

GLOBAL_LIST_EMPTY(xenosurge_configured_spawners)

GLOBAL_VAR_INIT(spawner_number, 1)

GLOBAL_VAR_INIT(quest_items_number, 0)
GLOBAL_VAR_INIT(quest_items_found, 0)

GLOBAL_VAR_INIT(ammo_restock_next, 0)
GLOBAL_VAR_INIT(ammo_restock_full, 0)
GLOBAL_VAR_INIT(ammo_restock_delay, 6000)

GLOBAL_VAR_INIT(primary_objective, "Awaiting Orders")
GLOBAL_VAR_INIT(secondary_objective, "Awaiting Orders")

GLOBAL_VAR_INIT(boss_stage, 1)
GLOBAL_VAR_INIT(boss_stage_max, 3)
GLOBAL_VAR_INIT(boss_drones, 0)

GLOBAL_VAR_INIT(stats_boss_total_damage, 0)
GLOBAL_VAR_INIT(stats_boss_hits, 0)
1 change: 1 addition & 0 deletions code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/mob
var/list/fullscreens = list()
var/list/narration_settings = list("Name" = null, "Location" = null, "Position" = null)

/mob/proc/overlay_fullscreen(category, type, severity)
var/atom/movable/screen/fullscreen/screen = fullscreens[category]
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/configuration/entries/game_options.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
config_entry_value = TRUE

/datum/config_entry/number/revive_grace_period
config_entry_value = 3000
config_entry_value = 50000
min_val = 0

/datum/config_entry/flag/bones_can_break
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/configuration/entries/general.dm
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Voting

// Gamemode to auto-switch to at the start of the round
/datum/config_entry/string/gamemode_default
config_entry_value = "Distress Signal: Lowpop"
config_entry_value = "Xenosurge"

/datum/config_entry/number/rounds_until_hard_restart
config_entry_value = -1 // -1 is disabled by default, 0 is every round, x is after so many rounds
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/communications.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var/const/MIN_FREQ = 1460 // ---------------------------------------------------
var/const/PUB_FREQ = 1461
var/const/MAX_FREQ = 1468 // ------------------------------------------------------

//USCM High Command (USCM 1470-1499)
//UACM High Command (UACM 1470-1499)
var/const/HC_FREQ = 1471
var/const/SOF_FREQ = 1472
var/const/PVST_FREQ = 1473
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/influxstats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ SUBSYSTEM_DEF(influxstats)
if(squad in squad_job_stats)
squad_job_stats[squad][job] = (squad_job_stats[squad][job] || 0) + 1
continue // Defer to squad stats instead
// else: So you're in the USCM and have a job but aren't an human? Tell me more Dr Jones...
// else: So you're in the UACM and have a job but aren't an human? Tell me more Dr Jones...
else if(ishuman(mob))
team = "humans_others"
else if(isxeno(mob))
Expand Down
1 change: 0 additions & 1 deletion code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ SUBSYSTEM_DEF(mapping)

/datum/controller/subsystem/mapping/proc/Loadship(list/errorList, name, path, files, list/traits, list/default_traits, silent = FALSE, override_map_path = "maps/")
LoadGroup(errorList, name, path, files, traits, default_traits, silent, override_map_path = override_map_path)
GLOB.gamemode_roles["Distress Signal: Lowpop"] = GLOB.platoon_to_role_list[MAIN_SHIP_PLATOON]

/datum/controller/subsystem/mapping/proc/Loadground(list/errorList, name, path, files, list/traits, list/default_traits, silent = FALSE, override_map_path = "maps/")
LoadGroup(errorList, name, path, files, traits, default_traits, silent, override_map_path = override_map_path)
Expand Down
15 changes: 4 additions & 11 deletions code/controllers/subsystem/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ SUBSYSTEM_DEF(minimaps)
old_map = get_tacmap_data_png(faction)
current_svg = get_tacmap_data_svg(faction)

var/use_live_map = skillcheck(user, SKILL_LEADERSHIP, SKILL_LEAD_EXPERT) || is_xeno
var/use_live_map = skillcheck(user, SKILL_OVERWATCH, SKILL_OVERWATCH_TRAINED) || is_xeno

if(use_live_map && !map_holder)
var/level = SSmapping.levels_by_trait(targeted_ztrait)
Expand All @@ -740,15 +740,6 @@ SUBSYSTEM_DEF(minimaps)

ui = SStgui.try_update_ui(user, src, ui)
if(!ui)
if(!wiki_map_fallback)
var/wiki_url = CONFIG_GET(string/wikiurl)
var/obj/item/map/current_map/new_map = new
if(wiki_url && new_map.html_link)
wiki_map_fallback ="[wiki_url]/[new_map.html_link]"
else
debug_log("Failed to determine fallback wiki map! Attempted '[wiki_url]/[new_map.html_link]'")
qdel(new_map)

// Ensure we actually have the map image sent
resend_current_map_png(user)

Expand Down Expand Up @@ -811,9 +802,11 @@ SUBSYSTEM_DEF(minimaps)
data["canViewTacmap"] = is_xeno
data["canViewCanvas"] = (faction in FACTION_LIST_HUMANOID) || faction == XENO_HIVE_NORMAL

if(skillcheck(user, SKILL_OVERWATCH, SKILL_OVERWATCH_TRAINED) || faction == XENO_HIVE_NORMAL && isqueen(user))
data["canViewTacmap"] = TRUE

if(skillcheck(user, SKILL_LEADERSHIP, SKILL_LEAD_EXPERT) || faction == XENO_HIVE_NORMAL && isqueen(user))
data["canDraw"] = TRUE
data["canViewTacmap"] = TRUE

return data

Expand Down
8 changes: 8 additions & 0 deletions code/controllers/subsystem/statpanel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ SUBSYSTEM_DEF(statpanels)
"Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]",
"Round Time: [duration2text()]",
"Operation Time: [worldtime2text()]",
"------",
"Primary Objective:",
"",
"[GLOB.primary_objective]",
"",
"Secondary Objective:",
"",
"[GLOB.secondary_objective]"
)

src.currentrun = GLOB.clients.Copy()
Expand Down
4 changes: 2 additions & 2 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ SUBSYSTEM_DEF(ticker)
save_mode(CONFIG_GET(string/gamemode_default))

if(round_statistics)
to_chat_spaced(world, html = FONT_SIZE_BIG(SPAN_ROLE_BODY("<B>Welcome to [round_statistics.round_name]</B>")))
to_chat_spaced(world, html = narrate_head("<B>Welcome to [round_statistics.round_name]</B>"))

supply_controller.process() //Start the supply shuttle regenerating points -- TLE

Expand Down Expand Up @@ -327,7 +327,7 @@ SUBSYSTEM_DEF(ticker)
if(mode)
GLOB.master_mode = SSmapping.configs[GROUND_MAP].force_mode ? SSmapping.configs[GROUND_MAP].force_mode : mode
else
GLOB.master_mode = "Distress Signal: Lowpop"
GLOB.master_mode = "Xenosurge"
log_game("Saved mode is '[GLOB.master_mode]'")


Expand Down
4 changes: 2 additions & 2 deletions code/datums/ammo/bullet/shotgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
knockback(M,P)

/datum/ammo/bullet/shotgun/buckshot/special
name = "buckshot shell, USCM special type"
name = "buckshot shell, UACM special type"
handful_state = "special_buck"
bonus_projectiles_type = /datum/ammo/bullet/shotgun/spread/special

Expand Down Expand Up @@ -192,7 +192,7 @@
damage = 20

/datum/ammo/bullet/shotgun/spread/special
name = "additional buckshot, USCM special type"
name = "additional buckshot, UACM special type"

accurate_range = 8
max_range = 8
Expand Down
14 changes: 1 addition & 13 deletions code/datums/datacore.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@ GLOBAL_DATUM_INIT(data_core, /datum/datacore, new)
//This list tracks characters spawned in the world and cannot be modified in-game. Currently referenced by respawn_character().
var/locked[] = list()

/datum/datacore/New()
. = ..()

RegisterSignal(SSdcs, COMSIG_GLOB_PLATOON_NAME_CHANGE, PROC_REF(rename_platoon))

/datum/datacore/proc/rename_platoon(datum/source, new_name, old_name)
SIGNAL_HANDLER

for(var/datum/data/record/cycled_data_record in general)
if(cycled_data_record.fields["squad"] == old_name)
cycled_data_record.fields["squad"] = new_name

/datum/datacore/proc/get_manifest(monochrome, OOC, nonHTML)
var/list/cic = ROLES_CIC.Copy()
var/list/auxil = ROLES_AUXIL_SUPPORT.Copy()
Expand Down Expand Up @@ -141,7 +129,7 @@ GLOBAL_DATUM_INIT(data_core, /datum/datacore, new)
continue
dept_flags |= FLAG_SHOW_MARINES
squad_sublists[squad_name] = TRUE
///If it is a real squad in the USCM squad list to prevent the crew manifest from breaking
///If it is a real squad in the UACM squad list to prevent the crew manifest from breaking
if(!(squad_name in ROLES_SQUAD_ALL))
continue
LAZYSET(marines_by_squad[squad_name][real_rank], name, rank)
Expand Down
Loading
Loading