From 9a8783056a44973a7ff1623c075a8cd997b87e40 Mon Sep 17 00:00:00 2001 From: SuhEugene <32931701+SuhEugene@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:13:49 +0300 Subject: [PATCH] Add free donation tier for admins --- code/__defines/~mods/~master_defines.dm | 3 ++- code/modules/goonchat/browserassets/css/browserOutput.css | 1 + .../goonchat/browserassets/css/browserOutput_white.css | 1 + html/browser/common.css | 5 +++++ mods/don_loadout/README.md | 2 ++ mods/don_loadout/code/donations/donations.dm | 3 +++ mods/don_loadout/code/donations/donator.dm | 2 ++ 7 files changed, 16 insertions(+), 1 deletion(-) diff --git a/code/__defines/~mods/~master_defines.dm b/code/__defines/~mods/~master_defines.dm index cf5f0a70c34f9..aa6fc63ce575f 100644 --- a/code/__defines/~mods/~master_defines.dm +++ b/code/__defines/~mods/~master_defines.dm @@ -24,6 +24,7 @@ #define DONATION_TIER_TWO "Tier 2" #define DONATION_TIER_THREE "Tier 3" #define DONATION_TIER_FOUR "Tier 4" +#define DONATION_TIER_ADMIN "Admin" #define DONATION_TIER_ONE_SUM 100 #define DONATION_TIER_TWO_SUM 300 @@ -35,7 +36,7 @@ #define DONATION_TIER_ALL_TIERS list(\ DONATION_TIER_NONE, DONATION_TIER_ONE, \ DONATION_TIER_TWO, DONATION_TIER_THREE, \ - DONATION_TIER_FOUR) + DONATION_TIER_FOUR, DONATION_TIER_ADMIN) // DON_LOADOUT - End // GLIDING - Start diff --git a/code/modules/goonchat/browserassets/css/browserOutput.css b/code/modules/goonchat/browserassets/css/browserOutput.css index e325161e852fc..20308f468dbba 100644 --- a/code/modules/goonchat/browserassets/css/browserOutput.css +++ b/code/modules/goonchat/browserassets/css/browserOutput.css @@ -440,3 +440,4 @@ h1.alert, h2.alert {color: #a4bad6;} color: rgb(229, 25, 219); text-shadow: 0 0 8px rgba(229, 25, 219, .6); } +.dt_a { /* Nothing in the chat for admins, sorry */} diff --git a/code/modules/goonchat/browserassets/css/browserOutput_white.css b/code/modules/goonchat/browserassets/css/browserOutput_white.css index 14e4c5671f767..cbe16d85edb62 100644 --- a/code/modules/goonchat/browserassets/css/browserOutput_white.css +++ b/code/modules/goonchat/browserassets/css/browserOutput_white.css @@ -437,3 +437,4 @@ h1.alert, h2.alert {color: #000080;} color: rgb(229, 25, 219); text-shadow: 0 0 8px rgba(229, 25, 219, .6); } +.dt_a { /* Nothing in the chat for admins, sorry */} diff --git a/html/browser/common.css b/html/browser/common.css index a05b9f8677a73..0d28831c8cf2f 100644 --- a/html/browser/common.css +++ b/html/browser/common.css @@ -449,3 +449,8 @@ a.linkOff.selected { box-shadow: inset 0 0 0 1px #ebebeb; } color: rgb(229, 25, 219); text-shadow: 0 0 8px rgba(229, 25, 219, .6); } +.dt_a { + font-weight: bold; + color: rgb(229, 25, 69); + text-shadow: 0 0 8px rgba(229, 25, 42, 0.6); +} diff --git a/mods/don_loadout/README.md b/mods/don_loadout/README.md index 5b08c30c646e3..3b3c17d6666f1 100644 --- a/mods/don_loadout/README.md +++ b/mods/don_loadout/README.md @@ -2,6 +2,7 @@ #### Список PRов: - https://github.com/SierraBay/SierraBay12/pull/892 +- https://github.com/SierraBay/SierraBay12/pull/1738