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
🆑 BurgerBB
balance: All items with limited stock or discount limited stock have
their discount limited stock set to 1.
/🆑
This commit is contained in:
BurgerLUA
2025-12-09 11:11:46 -08:00
committed by GitHub
parent f5baac7a8e
commit 3b2a019c7f
2 changed files with 5 additions and 0 deletions
@@ -0,0 +1,4 @@
/datum/uplink_item/New()
. = ..()
if(limited_stock > 0 || limited_discount_stock > 1)
limited_discount_stock = 1
+1
View File
@@ -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"