From e34a8c7875b13c09e67968d65ad0a3b6030a7abf Mon Sep 17 00:00:00 2001 From: MetalStormGhost Date: Sun, 5 May 2024 11:43:33 +0300 Subject: [PATCH] Renamed CTLD plugin settings to Retribution Renamed CTLD plugin settings to Retribution, as well as some other miscellaneous files too. --- .github/actions/build-app/action.yaml | 4 ++-- .github/actions/setup-liberation-js/action.yaml | 4 ++-- .github/actions/setup-liberation-python/action.yaml | 4 ++-- game/debriefing.py | 2 +- game/unitmap.py | 2 +- game/version.py | 2 +- qt_ui/windows/preferences/QLiberationPreferences.py | 4 ++-- resources/campaigns/mozdok_to_maykop.yaml | 2 +- resources/plugins/ctld/plugin.json | 2 +- resources/theaters/falklands/info.yaml | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/actions/build-app/action.yaml b/.github/actions/build-app/action.yaml index 23273108..a1e68b79 100644 --- a/.github/actions/build-app/action.yaml +++ b/.github/actions/build-app/action.yaml @@ -1,5 +1,5 @@ -name: Build Liberation package -description: Assembles the full Liberation application. +name: Build Retribution package +description: Assembles the full Retribution application. runs: using: composite steps: diff --git a/.github/actions/setup-liberation-js/action.yaml b/.github/actions/setup-liberation-js/action.yaml index 1408e66c..ad5b7727 100644 --- a/.github/actions/setup-liberation-js/action.yaml +++ b/.github/actions/setup-liberation-js/action.yaml @@ -1,5 +1,5 @@ -name: Liberation JS set-up -description: Sets up the Liberation Javascript environment. +name: Retribution JS set-up +description: Sets up the Retribution Javascript environment. runs: using: composite steps: diff --git a/.github/actions/setup-liberation-python/action.yaml b/.github/actions/setup-liberation-python/action.yaml index 4d2d7877..b634b99c 100644 --- a/.github/actions/setup-liberation-python/action.yaml +++ b/.github/actions/setup-liberation-python/action.yaml @@ -1,5 +1,5 @@ -name: Liberation Python set-up -description: Sets up the Liberation Python environment. +name: Retribution Python set-up +description: Sets up the Retribution Python environment. runs: using: composite steps: diff --git a/game/debriefing.py b/game/debriefing.py index e21f8ba6..e5da2add 100644 --- a/game/debriefing.py +++ b/game/debriefing.py @@ -363,7 +363,7 @@ class Debriefing: seen = set() captures = [] for capture in reversed(self.state_data.base_capture_events): - # The ID string in the JSON file will be the UUID generated from liberation + # The ID string in the JSON file will be the UUID generated from retribution cp_id, new_owner_id_str, _name = capture.split("||") # Only the most recent capture event matters. diff --git a/game/unitmap.py b/game/unitmap.py index 2744ca7f..088d49ce 100644 --- a/game/unitmap.py +++ b/game/unitmap.py @@ -1,4 +1,4 @@ -"""Maps generated units back to their Liberation types.""" +"""Maps generated units back to their Retribution types.""" from __future__ import annotations import itertools diff --git a/game/version.py b/game/version.py index 4c092f62..ee43eed0 100644 --- a/game/version.py +++ b/game/version.py @@ -30,7 +30,7 @@ def _build_version_string() -> str: return "-".join(components) -#: Current version of Liberation. +#: Current version of Retribution. VERSION = _build_version_string() #: The latest version of the campaign format. Increment this version whenever all diff --git a/qt_ui/windows/preferences/QLiberationPreferences.py b/qt_ui/windows/preferences/QLiberationPreferences.py index ed56f7af..1f5fefa6 100644 --- a/qt_ui/windows/preferences/QLiberationPreferences.py +++ b/qt_ui/windows/preferences/QLiberationPreferences.py @@ -148,7 +148,7 @@ class QLiberationPreferences(QFrame): "You set an empty DCS Installation directory! " "

Without this directory, DCS Retribution can not replace the MissionScripting.lua for you and will not work properly. " "In this case, you need to edit the MissionScripting.lua yourself. The easiest way to do it is to replace the original file (<dcs_installation_directory>/Scripts/MissionScripting.lua) with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua)." - "

You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub.

" + "

You can find more information on how to manually change this file in the Retribution Wiki (Page: Dedicated Server Guide) on GitHub.

" "

Are you sure that you want to leave the installation directory empty?" "

This is only recommended for expert users!", QMessageBox.StandardButton.Yes, @@ -164,7 +164,7 @@ class QLiberationPreferences(QFrame): + " is not a valid directory. DCS Retribution requires the installation directory to replace the MissionScripting.lua" "

If you ignore this Error, DCS Retribution can not work properly and needs your attention. " "In this case, you need to edit the MissionScripting.lua yourself. The easiest way to do it is to replace the original file (<dcs_installation_directory>/Scripts/MissionScripting.lua) with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua)." - "

You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub.

" + "

You can find more information on how to manually change this file in the Retribution Wiki (Page: Dedicated Server Guide) on GitHub.

" "

This is only recommended for expert users!", QMessageBox.StandardButton.Ignore, QMessageBox.StandardButton.Ok, diff --git a/resources/campaigns/mozdok_to_maykop.yaml b/resources/campaigns/mozdok_to_maykop.yaml index de1bbbb7..ab4ba5f9 100644 --- a/resources/campaigns/mozdok_to_maykop.yaml +++ b/resources/campaigns/mozdok_to_maykop.yaml @@ -3,7 +3,7 @@ theater: Caucasus authors: Khopa recommended_player_faction: Russia 2010 recommended_enemy_faction: USA 1990 -description:

A small theater in Russia, progress from Mozdok to Maykop.

This scenario is pretty simple, and is ideal if you want to run a short campaign to try liberation. If your PC is not powerful, this is also the less performance heavy scenario.

+description:

A small theater in Russia, progress from Mozdok to Maykop.

This scenario is pretty simple, and is ideal if you want to run a short campaign to try Retribution. If your PC is not powerful, this is also the less performance heavy scenario.

miz: mozdok_to_maykop.miz performance: 0 version: 9.0 diff --git a/resources/plugins/ctld/plugin.json b/resources/plugins/ctld/plugin.json index d50c8e85..b32bb266 100644 --- a/resources/plugins/ctld/plugin.json +++ b/resources/plugins/ctld/plugin.json @@ -3,7 +3,7 @@ "defaultValue": true, "specificOptions": [ { - "nameInUI": "Tailor CTLD for the Liberation specific missions", + "nameInUI": "Tailor CTLD for the Retribution specific missions", "mnemonic": "tailorctld", "defaultValue": true }, diff --git a/resources/theaters/falklands/info.yaml b/resources/theaters/falklands/info.yaml index 3f9e42c0..e0b36f68 100644 --- a/resources/theaters/falklands/info.yaml +++ b/resources/theaters/falklands/info.yaml @@ -17,7 +17,7 @@ climate: day_night_temperature_difference: 11.0 seasons: # "winter" and "summer" are actually interpreted as northern hemisphere - # seasons in liberation, so these seasons are all inverted. + # seasons in Retribution, so these seasons are all inverted. winter: average_pressure: 29.63 average_temperature: 21.0