]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Adds option to whitelist or blacklist store entries based on buyer objectives (#41493)
authoralexalexmax <149889301+alexalexmax@users.noreply.github.com>
Fri, 28 Nov 2025 10:43:47 +0000 (02:43 -0800)
committerGitHub <noreply@github.com>
Fri, 28 Nov 2025 10:43:47 +0000 (10:43 +0000)
commit73c8ad018370a8d8c1e89776d36da26e3a5d17d6
tree77699af7beb67a6c172d3129762fe7c9fda1ddca
parent8db29b4e87fdee8ee595117b7fc89be1a7743adf
Adds option to whitelist or blacklist store entries based on buyer objectives (#41493)

* BuyerObjectiveWhitelistCondition done

* fix to check every buyer objective for a blacklisted objective before checking whitelisted objectives

* resolved requested changes

* forgot a line

* Update Content.Server/Store/Conditions/BuyerObjectiveWhitelistCondition.cs

* Replaced IsBlacklistPass with IsWhitelistPass

* cleaning up

* placed whitelist == null check above objective loop

* Moved empty whitelist check below foreach loop

* final cleanup i pray

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Server/Store/Conditions/BuyerObjectiveWhitelistCondition.cs [new file with mode: 0644]