Skip to content

Commit

Permalink
TGS Test Merge (#5542)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Feb 12, 2024
2 parents b505fc8 + ca7be6f commit f26486b
Show file tree
Hide file tree
Showing 66 changed files with 703 additions and 1,243 deletions.
72 changes: 0 additions & 72 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -309,77 +309,6 @@
#define CAN_HOLD_TWO_HANDS 1
#define CAN_HOLD_ONE_HAND 2

// ------------ //
// STRAIN FLAGS //
// ------------ //

// Queen strain flags
#define QUEEN_NORMAL "Normal"

// Facehugger strain flags
#define FACEHUGGER_NORMAL "Normal"
#define FACEHUGGER_WATCHER "Watcher"

// Drone strain flags
#define DRONE_NORMAL "Normal"
#define DRONE_HEALER "Healer"
#define DRONE_GARDENER "Gardener"

// Hivelord strain flags
#define HIVELORD_NORMAL "Normal"
#define HIVELORD_RESIN_WHISPERER "Resin Whisperer"

// Carrier strain flags
#define CARRIER_NORMAL "Normal"
#define CARRIER_EGGSAC "Eggsac"

// Burrower strain flags
#define BURROWER_NORMAL "Normal"
#define BURROWER_TREMOR "Tremor"

// Sentinel strain flags
#define SENTINEL_NORMAL "Normal"

// Spitter strain flags
#define SPITTER_NORMAL "Normal"

// Boiler strain flags
#define BOILER_NORMAL "Normal"
#define BOILER_TRAPPER "Trapper"

// Runner strain flags
#define RUNNER_NORMAL "Normal"
#define RUNNER_ACIDER "Acider"

// Lurker strain flags
#define LURKER_NORMAL "Normal"
#define LURKER_VAMPIRE "Vampire"
// Ravager strain flags
#define RAVAGER_NORMAL "Normal"
#define RAVAGER_HEDGEHOG "Hedgehog"
#define RAVAGER_BERSERKER "Berserker"

// Defender strain flags
#define DEFENDER_NORMAL "Normal"
#define DEFENDER_STEELCREST "Steelcrest"

// Warrior strain flags
#define WARRIOR_NORMAL "Normal"

// Crusher strain flags
#define CRUSHER_NORMAL "Normal"
#define CRUSHER_CHARGER "Charger"

// Praetorian strain flags
#define PRAETORIAN_NORMAL "Normal"
#define PRAETORIAN_VANGUARD "Vanguard"
#define PRAETORIAN_DANCER "Dancer"
#define PRAETORIAN_WARDEN "Warden"
#define PRAETORIAN_OPPRESSOR "Oppressor"

// Hellhound strain flags
#define HELLHOUND_NORMAL "Normal"

GLOBAL_LIST_INIT(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 Expand Up @@ -452,4 +381,3 @@ GLOBAL_LIST_INIT(default_xeno_onmob_icons, list(
#define MOBILITY_FLAGS_DEFAULT (MOBILITY_MOVE | MOBILITY_STAND)
#define MOBILITY_FLAGS_CARBON_DEFAULT (MOBILITY_MOVE | MOBILITY_STAND | MOBILITY_REST | MOBILITY_LIEDOWN)
#define MOBILITY_FLAGS_REST_CAPABLE_DEFAULT (MOBILITY_MOVE | MOBILITY_STAND | MOBILITY_REST | MOBILITY_LIEDOWN)

42 changes: 42 additions & 0 deletions code/__DEFINES/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,48 @@

#define RESIN_CONSTRUCTION_NO_MAX -1

// -------------- //
// STRAIN DEFINES //
// -------------- //

// Facehugger strain flags
#define FACEHUGGER_WATCHER "Watcher"

// Drone strain flags
#define DRONE_HEALER "Healer"
#define DRONE_GARDENER "Gardener"

// Hivelord strain flags
#define HIVELORD_RESIN_WHISPERER "Resin Whisperer"

// Carrier strain flags
#define CARRIER_EGGSAC "Eggsac"

// Boiler strain flags
#define BOILER_TRAPPER "Trapper"

// Runner strain flags
#define RUNNER_ACIDER "Acider"

// Lurker strain flags
#define LURKER_VAMPIRE "Vampire"

// Ravager strain flags
#define RAVAGER_HEDGEHOG "Hedgehog"
#define RAVAGER_BERSERKER "Berserker"

// Defender strain flags
#define DEFENDER_STEELCREST "Steelcrest"

// Crusher strain flags
#define CRUSHER_CHARGER "Charger"

// Praetorian strain flags
#define PRAETORIAN_VANGUARD "Vanguard"
#define PRAETORIAN_DANCER "Dancer"
#define PRAETORIAN_WARDEN "Warden"
#define PRAETORIAN_OPPRESSOR "Oppressor"

/////////////////////////////////////////////////////////////////////////////////////
//
// Modifiers
Expand Down
6 changes: 3 additions & 3 deletions code/__HELPERS/logging.dm
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ GLOBAL_VAR_INIT(log_end, world.system_type == UNIX ? ascii2text(13) : "")
WRITE_LOG(GLOB.world_game_log, "MISC: [text]")
GLOB.STUI?.debug.Add("\[[time]]MISC: [text]")

/proc/log_mutator(text)
if(!GLOB.mutator_logs)
/proc/log_strain(text)
if(!GLOB.strain_logs)
return
WRITE_LOG(GLOB.mutator_logs, "[text]")
WRITE_LOG(GLOB.strain_logs, "[text]")

/proc/log_hiveorder(text)
var/time = time_stamp()
Expand Down
3 changes: 0 additions & 3 deletions code/_globalvars/global_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ GLOBAL_LIST_INIT(language_keys, setup_language_keys()) //table of say codes for
GLOBAL_REFERENCE_LIST_INDEXED(origins, /datum/origin, name)
GLOBAL_LIST_INIT(player_origins, USCM_ORIGINS)

//Xeno mutators
GLOBAL_REFERENCE_LIST_INDEXED_SORTED(xeno_mutator_list, /datum/xeno_mutator, name)

//Xeno hives
GLOBAL_LIST_INIT_TYPED(hive_datum, /datum/hive_status, list(
XENO_HIVE_NORMAL = new /datum/hive_status(),
Expand Down
7 changes: 3 additions & 4 deletions code/datums/xeno_shields/shield_types/vanguard_shield.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
if (!istype(linked_xeno))
return

if (linked_xeno.mutation_type == PRAETORIAN_VANGUARD)
var/datum/behavior_delegate/praetorian_vanguard/BD = linked_xeno.behavior_delegate
if (istype(BD))
BD.last_combat_time = world.time
var/datum/behavior_delegate/praetorian_vanguard/behavior = linked_xeno.behavior_delegate
if (istype(behavior))
behavior.last_combat_time = world.time
4 changes: 2 additions & 2 deletions code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ GLOBAL_LIST_INIT(reboot_sfx, file2list("config/reboot_sfx.txt"))
GLOB.world_runtime_log = "[GLOB.log_directory]/runtime.log"
GLOB.round_stats = "[GLOB.log_directory]/round_stats.log"
GLOB.scheduler_stats = "[GLOB.log_directory]/round_scheduler_stats.log"
GLOB.mutator_logs = "[GLOB.log_directory]/mutator_logs.log"
GLOB.strain_logs = "[GLOB.log_directory]/strain_logs.log"

start_log(GLOB.tgui_log)
start_log(GLOB.world_href_log)
Expand All @@ -134,7 +134,7 @@ GLOBAL_LIST_INIT(reboot_sfx, file2list("config/reboot_sfx.txt"))
start_log(GLOB.world_runtime_log)
start_log(GLOB.round_stats)
start_log(GLOB.scheduler_stats)
start_log(GLOB.mutator_logs)
start_log(GLOB.strain_logs)

if(fexists(GLOB.config_error_log))
fcopy(GLOB.config_error_log, "[GLOB.log_directory]/config_error.log")
Expand Down
4 changes: 2 additions & 2 deletions code/modules/logging/global_logs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ GLOBAL_PROTECT(world_runtime_log)
GLOBAL_VAR(scheduler_stats)
GLOBAL_PROTECT(scheduler_stats)

GLOBAL_VAR(mutator_logs)
GLOBAL_PROTECT(mutator_logs)
GLOBAL_VAR(strain_logs)
GLOBAL_PROTECT(strain_logs)

GLOBAL_VAR(round_stats)
GLOBAL_PROTECT(round_stats)
Expand Down
Loading

0 comments on commit f26486b

Please sign in to comment.