From 6dd5e2d31a2ea7e81670361bad76c21853eedba8 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Tue, 5 Mar 2024 02:02:14 -0500 Subject: [PATCH] [MIRROR] Makes the Omen coupon only trigger bad luck once, like it used to (#1280) * Makes the Omen coupon only trigger bad luck once, like it used to (#81814) ## About The Pull Request Tin ## Why It's Good For The Game Idk when it happened, but someone managed to not input an `incidents_left` for the coupon's component addition, which made it default to `INFINITE`. As such, this would actually leave you with a **_worse_** curse than the quirk itself, since EVERYTHING would be more likely to hit you. ## Changelog :cl: Wallem fix: The cursed coupon now only triggers a cursed event once, rather than infinite times. /:cl: * Makes the Omen coupon only trigger bad luck once, like it used to --------- Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com> --- code/modules/cargo/coupon.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/cargo/coupon.dm b/code/modules/cargo/coupon.dm index f654db44887..4c5e56a7d41 100644 --- a/code/modules/cargo/coupon.dm +++ b/code/modules/cargo/coupon.dm @@ -84,7 +84,7 @@ to_chat(cursed, span_warning("The coupon reads 'fuck you' in large, bold text... is- is that a prize, or?")) if(!cursed.GetComponent(/datum/component/omen)) - cursed.AddComponent(/datum/component/omen) + cursed.AddComponent(/datum/component/omen, 1) return TRUE if(HAS_TRAIT(cursed, TRAIT_CURSED)) to_chat(cursed, span_warning("What a horrible night... To have a curse!"))