From 3b2a019c7f63977514aaf2cbbbc74a4f7e2c2993 Mon Sep 17 00:00:00 2001 From: BurgerLUA <8602857+BurgerLUA@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:11:46 -0800 Subject: [PATCH] All items with limited stock or discount limited stock have their discount limited stock set to 1. (#4993) Remake of #4764 ## About The Pull Request All items with limited stock or discount limited stock have their discount limited stock set to 1. This mostly affects spammy items, like explosives. ## Why It's Good For The Game Prevents players from buying a ton of explosives and using them for the sake of them being on a cheap discount. Discounts presented in this way encourages them to do nothing until they time-unlock the item, and also encourages mass purchases of it. ## Proof Of Testing Tested extensively to the point where I discovered a funny tgui bug because I had to give and remove myself traitor so many times until I got a syndicate bomb. ## Changelog :cl: BurgerBB balance: All items with limited stock or discount limited stock have their discount limited stock set to 1. /:cl: --- modular_zubbers/code/modules/uplink/uplink_items.dm | 4 ++++ tgstation.dme | 1 + 2 files changed, 5 insertions(+) create mode 100644 modular_zubbers/code/modules/uplink/uplink_items.dm diff --git a/modular_zubbers/code/modules/uplink/uplink_items.dm b/modular_zubbers/code/modules/uplink/uplink_items.dm new file mode 100644 index 00000000000..0e2ebdff3b9 --- /dev/null +++ b/modular_zubbers/code/modules/uplink/uplink_items.dm @@ -0,0 +1,4 @@ +/datum/uplink_item/New() + . = ..() + if(limited_stock > 0 || limited_discount_stock > 1) + limited_discount_stock = 1 diff --git a/tgstation.dme b/tgstation.dme index 8668b53cea3..6e775ba518b 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -9783,6 +9783,7 @@ #include "modular_zubbers\code\modules\title_screen\code\title_screen_subsystem.dm" #include "modular_zubbers\code\modules\uplink\one_shot_emag.dm" #include "modular_zubbers\code\modules\uplink\uplink_devices.dm" +#include "modular_zubbers\code\modules\uplink\uplink_items.dm" #include "modular_zubbers\code\modules\uplink\uplink_items\badass.dm" #include "modular_zubbers\code\modules\uplink\uplink_items\bundle.dm" #include "modular_zubbers\code\modules\uplink\uplink_items\dangerous.dm"