diff --git a/code/__defines/tgs.dm b/code/__defines/tgs.dm index 5a037b204685..9e04917b240d 100644 --- a/code/__defines/tgs.dm +++ b/code/__defines/tgs.dm @@ -1,7 +1,7 @@ // tgstation-server DMAPI // The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in IETF RFC 2119. -#define TGS_DMAPI_VERSION "7.3.5" +#define TGS_DMAPI_VERSION "7.4.0" // All functions and datums outside this document are subject to change with any version and should not be relied on. @@ -584,11 +584,17 @@ /world/proc/TgsTriggerEvent(event_name, list/parameters, wait_for_completion = FALSE) CAN_BE_REDEFINED(TRUE) return + + +/// Trigger a TGS deployment for the current instance. The current state of the repository will not be changed. +/world/proc/TgsTriggerDeployment() + CAN_BE_REDEFINED(TRUE) + return /* The MIT License -Copyright (c) 2017-2024 Jordan Brown +Copyright (c) 2017-2026 Jordan Brown Permission is hereby granted, free of charge, to any person obtaining a copy of this software and diff --git a/code/modules/tgs/core/core.dm b/code/modules/tgs/core/core.dm index 63cb5a2c3514..f70d07aaed85 100644 --- a/code/modules/tgs/core/core.dm +++ b/code/modules/tgs/core/core.dm @@ -177,3 +177,8 @@ parameters = list() return api.TriggerEvent(event_name, parameters, wait_for_completion) + +/world/TgsTriggerDeployment() + var/datum/tgs_api/api = TGS_READ_GLOBAL(tgs) + if(api) + return api.TriggerDeployment() diff --git a/code/modules/tgs/core/datum.dm b/code/modules/tgs/core/datum.dm index 3ca53e9bf7c6..fae924929dbb 100644 --- a/code/modules/tgs/core/datum.dm +++ b/code/modules/tgs/core/datum.dm @@ -72,3 +72,6 @@ TGS_PROTECT_DATUM(/datum/tgs_api) /datum/tgs_api/proc/TriggerEvent(event_name, list/parameters, wait_for_completion) return FALSE + +/datum/tgs_api/proc/TriggerDeployment() + return TGS_UNIMPLEMENTED diff --git a/code/modules/tgs/v5/__interop_version.dm b/code/modules/tgs/v5/__interop_version.dm index 9589cbf31bb2..e6ebf62db105 100644 --- a/code/modules/tgs/v5/__interop_version.dm +++ b/code/modules/tgs/v5/__interop_version.dm @@ -1 +1 @@ -"5.10.1" +"5.11.0" diff --git a/code/modules/tgs/v5/_defines.dm b/code/modules/tgs/v5/_defines.dm index a47bfd78000b..d4bd50353ed5 100644 --- a/code/modules/tgs/v5/_defines.dm +++ b/code/modules/tgs/v5/_defines.dm @@ -15,6 +15,7 @@ #define DMAPI5_BRIDGE_COMMAND_CHAT_SEND 5 #define DMAPI5_BRIDGE_COMMAND_CHUNK 6 #define DMAPI5_BRIDGE_COMMAND_EVENT 7 +#define DMAPI5_BRIDGE_COMMAND_DEPLOY 8 #define DMAPI5_PARAMETER_ACCESS_IDENTIFIER "accessIdentifier" #define DMAPI5_PARAMETER_CUSTOM_COMMANDS "customCommands" diff --git a/code/modules/tgs/v5/api.dm b/code/modules/tgs/v5/api.dm index 4ca9036b7902..8ade67d28e7b 100644 --- a/code/modules/tgs/v5/api.dm +++ b/code/modules/tgs/v5/api.dm @@ -294,6 +294,19 @@ return TRUE +/datum/tgs_api/v5/TriggerDeployment(event_name, list/parameters, wait_for_completion) + RequireInitialBridgeResponse() + WaitForReattach(TRUE) + + if(interop_version.minor < 11) + TGS_WARNING_LOG("Interop version too low for triggering deployments!") + return FALSE + + var response = Bridge(DMAPI5_BRIDGE_COMMAND_DEPLOY) + if(!response) + return FALSE + return TRUE + /datum/tgs_api/v5/proc/DecodeChannels(chat_update_json) TGS_DEBUG_LOG("DecodeChannels()") var/list/chat_channels_json = chat_update_json[DMAPI5_CHAT_UPDATE_CHANNELS] diff --git a/code/modules/tgs/v5/undefs.dm b/code/modules/tgs/v5/undefs.dm index ca49e46cdffa..9fb845c91d67 100644 --- a/code/modules/tgs/v5/undefs.dm +++ b/code/modules/tgs/v5/undefs.dm @@ -15,6 +15,7 @@ #undef DMAPI5_BRIDGE_COMMAND_CHAT_SEND #undef DMAPI5_BRIDGE_COMMAND_CHUNK #undef DMAPI5_BRIDGE_COMMAND_EVENT +#undef DMAPI5_BRIDGE_COMMAND_DEPLOY #undef DMAPI5_PARAMETER_ACCESS_IDENTIFIER #undef DMAPI5_PARAMETER_CUSTOM_COMMANDS diff --git a/html/changelogs/AutoChangeLog-pr-18994.yml b/html/changelogs/AutoChangeLog-pr-18994.yml deleted file mode 100644 index 1a6c296f1b22..000000000000 --- a/html/changelogs/AutoChangeLog-pr-18994.yml +++ /dev/null @@ -1,5 +0,0 @@ -author: "Kashargul" -delete-after: True -changes: - - bugfix: "the sql schema can now be cleanly imported including the procedures and events" - - bugfix: "loose round associations should no longer exist" \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19003.yml b/html/changelogs/AutoChangeLog-pr-19003.yml deleted file mode 100644 index 970ea2dd8fe1..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19003.yml +++ /dev/null @@ -1,5 +0,0 @@ -author: "SatinIsle" -delete-after: True -changes: - - rscadd: "Added new options for hanner beastforms." - - spellcheck: "Minor reordering of beastform lists to keep them alphabetical." \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19005.yml b/html/changelogs/AutoChangeLog-pr-19005.yml deleted file mode 100644 index c9ef51fe042d..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19005.yml +++ /dev/null @@ -1,5 +0,0 @@ -author: "Will" -delete-after: True -changes: - - qol: "Look upward verb now lets you look upward one z level" - - code_imp: "remote views with zoom hude or different sizes are easier to start" \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19009.yml b/html/changelogs/AutoChangeLog-pr-19009.yml deleted file mode 100644 index 2d550ee1ce43..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19009.yml +++ /dev/null @@ -1,4 +0,0 @@ -author: "SatinIsle" -delete-after: True -changes: - - bugfix: "Fixed TFd mobs showing up on crew monitors." \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19010.yml b/html/changelogs/AutoChangeLog-pr-19010.yml deleted file mode 100644 index 60ab92ad3caa..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19010.yml +++ /dev/null @@ -1,4 +0,0 @@ -author: "SatinIsle" -delete-after: True -changes: - - bugfix: "Fixed simple mobs requiring insane amounts of nutrition to remove their hunger bar." \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19011.yml b/html/changelogs/AutoChangeLog-pr-19011.yml deleted file mode 100644 index 0f8ce28fdc62..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19011.yml +++ /dev/null @@ -1,4 +0,0 @@ -author: "SatinIsle" -delete-after: True -changes: - - bugfix: "People flying above tables when they should fall down." \ No newline at end of file diff --git a/html/changelogs/AutoChangeLog-pr-19015.yml b/html/changelogs/AutoChangeLog-pr-19015.yml deleted file mode 100644 index 1e0cb21265cc..000000000000 --- a/html/changelogs/AutoChangeLog-pr-19015.yml +++ /dev/null @@ -1,4 +0,0 @@ -author: "Kashargul" -delete-after: True -changes: - - bugfix: "start Now shown as usable after pregame" \ No newline at end of file diff --git a/html/changelogs/archive/2026-01.yml b/html/changelogs/archive/2026-01.yml index 7aa3fe944ccc..b7124b46be7a 100644 --- a/html/changelogs/archive/2026-01.yml +++ b/html/changelogs/archive/2026-01.yml @@ -97,3 +97,19 @@ - qol: prey struggles are now intent based SatinIsle: - bugfix: Fixes the ddraig description. +2026-01-14: + Kashargul: + - bugfix: start Now shown as usable after pregame + - bugfix: the sql schema can now be cleanly imported including the procedures and + events + - bugfix: loose round associations should no longer exist + SatinIsle: + - bugfix: Fixed simple mobs requiring insane amounts of nutrition to remove their + hunger bar. + - bugfix: Fixed TFd mobs showing up on crew monitors. + - bugfix: People flying above tables when they should fall down. + - rscadd: Added new options for hanner beastforms. + - spellcheck: Minor reordering of beastform lists to keep them alphabetical. + Will: + - qol: Look upward verb now lets you look upward one z level + - code_imp: remote views with zoom hude or different sizes are easier to start