Skip to content

Commit

Permalink
Merge branch 'cmss13-devs:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Megaddd authored Feb 17, 2024
2 parents 8d33c77 + 3d4ac1c commit a39c6ee
Show file tree
Hide file tree
Showing 162 changed files with 3,979 additions and 3,620 deletions.
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,19 @@
],
"group": "build",
"label": "tgui: sonar"
},
{
"type": "shell",
"command": "bin/tgfont",
"windows": {
"command": ".\\bin\\tgfont.cmd"
},
"problemMatcher": [
"$tsc",
"$eslint-stylish"
],
"group": "build",
"label": "tgui: rebuild tgfont"
}
]
}
2 changes: 2 additions & 0 deletions bin/tgfont.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
call "%~dp0\..\tools\build\build.bat" --wait-on-error tg-font %*
4 changes: 4 additions & 0 deletions code/__DEFINES/dcs/signals/atom/mob/living/signals_xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@

/// From /mob/living/carbon/xenomorph/proc/handle_crit()
#define COMSIG_XENO_ENTER_CRIT "xeno_entering_critical"

/// From /mob/living/carbon/xenomorph/proc/hivemind_talk(): (message)
#define COMSIG_XENO_TRY_HIVEMIND_TALK "xeno_try_hivemind_talk"
#define COMPONENT_OVERRIDE_HIVEMIND_TALK (1<<0)
6 changes: 6 additions & 0 deletions code/__DEFINES/dcs/signals/atom/mob/signals_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@

#define COMSIG_MOB_EMOTED(emote_key) "mob_emoted_[emote_key]"

#define COMSIG_MOB_TRY_EMOTE "mob_try_emote"
#define COMPONENT_OVERRIDE_EMOTE (1<<0)

#define COMSIG_MOB_TRY_POINT "mob_try_point"
#define COMPONENT_OVERRIDE_POINT (1<<0)

//from /mob/living/set_stat()
#define COMSIG_MOB_STAT_SET_ALIVE "mob_stat_set_alive"
//from /mob/living/set_stat()
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/keybinding.dm
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@
#define COMSIG_KB_XENO_HIVE_STATUS "keybinding_hive_status"
#define COMSIG_KB_XENO_HIDE "keybinding_hide"
#define COMSIG_KB_XENO_EVOLVE "keybinding_evolve"
#define COMSIG_KB_XENO_PURCHASE_STRAIN "keybinding_purchase_strain"

// Yautja

#define COMSIG_KB_YAUTJA_BUTCHER "keybinding_yautja_butcher"
Expand Down
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)

5 changes: 3 additions & 2 deletions code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@
#define SS_INIT_DATABASE -27
#define SS_INIT_ENTITYMANAGER -28
#define SS_INIT_PLAYTIME -29
#define SS_INIT_PREDSHIPS -30
#define SS_INIT_OBJECTIVES -31
#define SS_INIT_STICKY -30
#define SS_INIT_PREDSHIPS -31
#define SS_INIT_OBJECTIVES -32
#define SS_INIT_MINIMAP -34
#define SS_INIT_STATPANELS -98
#define SS_INIT_CHAT -100 //Should be last to ensure chat remains smooth during init.
Expand Down
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
4 changes: 2 additions & 2 deletions code/controllers/configuration/entries/general.dm
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,6 @@ This maintains a list of ip addresses that are able to bypass topic filtering.

/datum/config_entry/flag/respawn

/datum/config_entry/flag/ToRban

/datum/config_entry/flag/ooc_country_flags

/datum/config_entry/flag/record_rounds
Expand Down Expand Up @@ -533,6 +531,8 @@ This maintains a list of ip addresses that are able to bypass topic filtering.

/datum/config_entry/string/round_results_webhook_url

/datum/config_entry/string/important_log_channel

/// InfluxDB v2 Host to connect to for sending statistics (over HTTP API)
/datum/config_entry/string/influxdb_host
/// InfluxDB v2 Bucket to send staistics to
Expand Down
Loading

0 comments on commit a39c6ee

Please sign in to comment.