Commit Graph

23270 Commits

Author SHA1 Message Date
Magnus Larsen e0a3cfacea
Fix clientside storage Whitelists (#24063)
* Fix outdated component name in assaultbelt whitelist

RangedMagazine was replaced with BallisticAmmoProvider in the Gun
refactor (#8301)

* Move FlashOnTrigger, SmokeOnTrigger, Flash components to Shared

* Move LightReplacerComponent to Shared

* Move Utensil, Mousetrap components to Shared

* Move SprayPainterComponent to Shared

The PaintableAirlock tag has also been removed, as it was unused &
unnecessary, likely a vestige of spray painter development when the
PaintableAirlock component wasn't in Content.Shared.

* Add trivial Produce and Seed components to Client

This allows the plant bag and botanical belt whitelists to correctly
match produce and seeds on the client, fixing the extraneous "Can't
insert" message that previously appeared.

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 9cd6e4dccdfaa7e273417e3c94d66b5171c7d841)
2024-02-08 12:22:58 +01:00
Aexxie 16d77d483e
Move grenade components to shared (#22691)
* Moves FlashComponent.cs, FlashOnTriggerComponent.cs, and SmokeOnTriggerComponent.cs to Shared

* Moves ExplodeOnTriggerComponent.cs, OnUseTimerTriggerComponent.cs, ActiveTimerTriggerComponent.cs, and SmokeOnTriggerComponent.cs to Shared

* Delete .run/Content Server+Client.run.xml

HOW DID THIS GET IN HERE ITS NOT AHHHH

* Update Content.Client/Explosion/SmokeOnTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/ActiveTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/OnUseTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/OnUseTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/EntitySystems/SharedTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/EntitySystems/SharedSmokeOnTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update ExplodeOnTriggerComponent.cs

* Revert "Delete .run/Content Server+Client.run.xml"

This reverts commit 29ee05f57de60eab5c92158d8eba5e3acba483c2.

* Fix?

* cannot figure out how to get this to go back please forgive

* Fixes a network issue

* leftovers

* Fixes

---------

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 467e983ba972a7ae749c95448febd19c7c285514)
2024-02-08 12:22:56 +01:00
lunarcomets a08f6f4888
add lizard speech bubble (#23365)
* add bubble sprites and yaml changes

* fixed issues

* lizardified names

* more fixes, got rid of error

* add indicator to kobolds

* updated sprites (removed notch, brightened colours)

(cherry picked from commit 4520ac8c9ba8030f7b25b39a6f04a89e6106b0b1)
2024-02-08 12:22:55 +01:00
nikthechampiongr 639d3af97a
Rev Components are no longer leaked + Rev and Zombie icon visibility to ghosts is now controlled by a cvar (#22194)
* Initial work on having the Rev icons not be visible to ghosts depending on a Cvar and a component.

This commit just makes it so that the revcomponent and headrev component
are not shared with clients that shouldn't know about them. This is due
to the concern that clients having access to those components, even if
no image was displayed could allow modified clients to have meta
knowledge of revs.

Currently this has the issue that if a player later
for example becomes a rev, none of the existing rev components get
networked to them. I am not sure there is currently an effecient
solution to this.

This is probably in an issue for a lot more stuff. I might just make it
so all the logic just moves to the client on whether to put the icon
again.

Also this commit adds the ShowRevIconsComponent to allow anyone with it to just
view rev icons.

* Rev components now get communicated to clients that didn't have them previously and the AntagIconSystem is now properly checking whether to give the icons.

We now dirty all the rev/headrev components when someone gets converted
or gets the ViewRevIcons component. The AntagIconSystem now checks
whether it should draw the icons mostly based on an event, this is still done
client side.

This is not a full proof solution to make it so clients can't know
someone is an antag when they shouldn't because:
1. There are other components that need similar treatment, to my
   knowledge not to for revs but for other antags. Maybe even the mind
   component. This could be addressed in future PRs.
2. We cannot ensure that clients forget about these components if the
   client gets deconverted for example. We can of course have code that
   does this, but it will necessarily need to be done on the client and
   if the client is modified then there is no way to ensure this.
   Of course at that point they should already know who their fellow
   revs are so this might not be an issue.

I now need to do the same thing for zombies in a future commit.
A similar system for nukies also needs to be looked at but I will not be
doing that in the PR this commit ends up in.

* Misc name changes and cleaning up the ZombieSystem

Changed some names around and decoupled the ZombieSystem from the
AntagStatusIconsystem. Now there is a cvar for ghost visibility for them
as well. The Zombie Component was not made SessionSpecific because:
1. Zombies are pretty visible anyways
2. The Component is needed to change the appearance of zombie players.

* Misc name changes and cleaning up the ZombieSystem

Changed some names around and decoupled the ZombieSystem from the
AntagStatusIconsystem. Now there is a cvar for ghost visibility for them
as well. The Zombie Component was not made SessionSpecific because:
1. Zombies are pretty visible anyways
2. The Component is needed to change the appearance of zombie players.

* Merged 2 if statements into 1 on the Zombiesystem.

* Cut down on code duplication in AntagStatusIconSystem

Now instead of having a seperate function for each component, there is 1 generic function. Functions for special cases
like the Rev/Headrev comp can have a separate function that does the special check and then calls the generic one.
This is done through the IAntagStatusIconComponent interface which provides a common interface to get the Icon.

* Removed some duplication from the SharedRevolutionarySystem with generics.

I have no idea why I didn't think of this sooner.

* Addressed Reviews I think

I think events get unsubbed automatically but I am probably missing something that I have not understood.
Either way this is a requested change.

* Replace war crimes with actual fixes for reviews

It was not clear to me what the reviews meant

* Addressed reviews by removing need for cvars.

Whether icons are visible to ghosts is now determined by a bool in IAntagStatusIcon which all antag components
with status icons should implement.

* Update Content.Shared/Revolutionary/SharedRevolutionarySystem.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 8b19b7fab9dd8fb115f65794d97a26ebb9aa1142)
2024-02-08 12:22:54 +01:00
Rondalph Diggs 2befc023c5
Minor bizzaresoft_flipped visual issues. (#24498)
Fix gamebreaking bizzaresoft_flipped issue.

* Icon now shows same detail, just from different perspective.
* Cap now displays correct perspective when equipped.
* Cap now displays correct perspective in hand.
* Cap now appears in the same hand it's held in.

(cherry picked from commit c989340c521f4d647c06942bb64ca2ac3e6099d4)
2024-02-08 12:22:53 +01:00
PJBot 713b9d07f3
Automatic changelog update
(cherry picked from commit 3f4ddebef396f781682ec3eb5a2a6daae01b256f)
2024-02-08 12:22:52 +01:00
Repo f016a076c2
Fix aHelp relay to detect AFK Admins (#24482)
* Add AFK detection for aHelp relay and admin specific afk time.

* Correct query to new refactor

* Change AFK timeout to 10min or else Pancake closes my PR 😭

* It wasnt a bug it was a feature, way less aHelps that way.

* aHelp Colors arn't real!

* Update Content.Shared/CCVar/CCVars.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 00841217062ba60d38320dfd2b93288548bb4201)
2024-02-08 12:22:51 +01:00
PJBot dd000c92ec
Automatic changelog update
(cherry picked from commit 45dff4b47d4273378526434d363880d822c27f76)
2024-02-08 12:22:51 +01:00
Tayrtahn e10eb321d4
Make plushies, whoopie cushions, and some toys usable as modular grenade payloads (#24306)
* Toot

* Hm, but why stop there?

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

(cherry picked from commit 5dc1481e0380289943936af1f36a72949a86d219)
2024-02-08 12:22:36 +01:00
deltanedas 215d861bb8
make dialog window not evil (#24677)
* add Placeholder and make default buttons flags consistent w old behaviour

* DialogWindow ops

* make QuickDialog use DialogWindow

* Update Content.Client/UserInterface/Controls/DialogWindow.xaml

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 6b03aaaec78bd50c8f4730c9aa7d0f5cea76e782)
2024-02-08 12:21:02 +01:00
PJBot 1e90480635
Automatic changelog update
(cherry picked from commit b932d94ded2ff4f8e6e563e55231263ee01389e3)
2024-02-08 12:21:01 +01:00
Kara 27895cd4d9
Open some windows non-centered to avoid covering the player (#24767)
(cherry picked from commit e212b10ca205b5a76c20a3daca4a13af435611c5)
2024-02-08 12:21:00 +01:00
PJBot 2c1c62fd60
Automatic changelog update
(cherry picked from commit 1fc237a84ec6086095089f3a4e6b89513114697c)
2024-02-08 12:20:59 +01:00
mac6na6na db8726cd0d
Remove tiered part crates from expeditions (#24810)
Remove part crates

(cherry picked from commit 8b292671f498db9b7f9f4db8cb7b569440259782)
2024-02-08 12:20:58 +01:00
SlamBamActionman abcc75df5b
Make paper edible (#24755)
* Edible paper

* Added Paper tag

(cherry picked from commit d520198f1357487940d2de12fa567b5461b20ba2)
2024-02-08 12:20:46 +01:00
AJCM-git 8081242009
Cleanups PolymorphSystem/Components/Prototypes (#23721)
* Cleanups PolymorphSystem

* forgot this

* Nah

* Fix test

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit b8f0ed3975a4b887ca8dd75dcc07e0ac5ee11646)
2024-02-08 12:20:24 +01:00
metalgearsloth 74e5b79926
Fix tests (#24809)
* Fix tests

PJB don't look no shed

* weh

(cherry picked from commit c0227bcb3b123fa2228fb114e5c67b985a5fcdaf)
2024-02-08 12:20:24 +01:00
PJBot ca364e54b6
Automatic changelog update
(cherry picked from commit 8385e936f30dce4c84a2a34a1823fd2d20a1318e)
2024-02-08 12:20:05 +01:00
Varen b828d35d76
Fixes Electrocutions to use available power, not consumed power (#24554)
-Electrocutions now happen using how much power there is rather than how much is being used.

(cherry picked from commit cdfff3c4bd49f77d9711d590eb649e365c3bca91)
2024-02-08 12:20:04 +01:00
metalgearsloth adddd74cff
Fix item toggles where no sound exists (#24807)
Oop

(cherry picked from commit bd86447f996e10a1befda16404f0155209efa0e1)
2024-02-08 12:20:04 +01:00
lzk b0dcdcb504
Newton cradle (#22914)
* comit

* comit2

* little more range

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 628e22ba026724b444d8cfc900e0a6ef3cbd9c6f)
2024-02-08 12:20:03 +01:00
PJBot c77c6d3332
Automatic changelog update
(cherry picked from commit 1f1809d6ed7b6694485d7a4286a8d8ad579db092)
2024-02-08 12:20:02 +01:00
Pieter-Jan Briers 3120f9da68
Buff the AME until somebody fixes engineering (#24806)
All the engineering numbers are complete unusable garbage and it's apparently completely impossible to properly set up power on some maps.

This is a band-aid fix (and apology to all engineering players) until somebody fixes this shit properly.

(cherry picked from commit 879b4d171efd9ae9907369d6dd856afafb381b06)
2024-02-08 12:20:01 +01:00
Arendian fa09ecd847
Paraplegicn't zombies (#24169)
* The zombie virus now cures paraplegia.

* no wheelchairbound anymore

(cherry picked from commit ecea561e44f51d2c2bbf17af46db84d3ee1a5cae)
2024-02-08 12:19:33 +01:00
PJBot 85e4e82c7d
Automatic changelog update
(cherry picked from commit bbab3944825a75be10184b6d083eb4422c6f071f)
2024-02-08 12:18:43 +01:00
FungiFellow dc459723a6
RD Locker Binary Comms Key and Binary Key Price decrease (#24778)
* Binary Key 4-2 TC

* Added Binary Key into RD Locker

* Change from ID to Entity

* Reverts back to ID

* Found the Actual ID

(cherry picked from commit 3c8882696a690a302c783de4351d5c89ec9820c1)
2024-02-08 12:18:32 +01:00
PJBot 10dc18fa9a
Automatic changelog update
(cherry picked from commit 4177e647126a1093fac46b483af9e6c23e3cb915)
2024-02-08 12:17:50 +01:00
Arendian b98e16ff53
Spacelube slide (#24801)
* Space lube now makes you slide

* review

* oh lord he slippin

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 4f3b8d740cecfb736b018fd78a2be71f5397644d)
2024-02-08 12:17:49 +01:00
PJBot dc152978e6
Automatic changelog update
(cherry picked from commit c4f275bc5378ebabff85b0b0e5dc9d3c30cf1ade)
2024-02-08 12:17:48 +01:00
SlamBamActionman 69b3d47a60
Visitor job (#23972)
* Adds Visitor role and ShowInIdCardConsole property

* Add visitor to Agent ID card

* Fixes yaml test

* Fixes based on feedback

* Fixes based on feedback

(cherry picked from commit 1862f8aa1745f147fa54428179e568c9298a9fda)
2024-02-08 12:17:35 +01:00
Krunklehorn 922407e2e8
Client customization late-join spawner priority for arrivals/cryostorage (#24586)
* Initial commit, requires server restart to take effect

* Exposes callbacks directly instead, takes effect immediately

* Cleaned up control flow, swapped cvar for client customization

* Switched to int, dictionary of callbacks, migration

* Update Content.Shared/Preferences/SpawnPriorityPreference.cs

* krunkle stan

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

(cherry picked from commit ed0f2aa2213cc47b817476206a2dd0b4e7c176b1)
2024-02-08 12:16:20 +01:00
Flareguy b9804a6126
Airlock assembly prototypes (#23821)
* adds prototypes for airlock assemblies for other doors

* fix tests

(cherry picked from commit d76121d470c1e159787a6b991c0599068bd06a5f)
2024-02-08 12:13:23 +01:00
PJBot 41c05546bc
Automatic changelog update
(cherry picked from commit 5669c412a5178eece310c2516d747d84a149baae)
2024-02-08 12:13:22 +01:00
Pieter-Jan Briers 4bbeb66f84
Remove starvation damage (#24790)
Bottom text

(cherry picked from commit dfef9dd0d510b7490a336e9ba800667218ce7a2a)
2024-02-08 12:12:59 +01:00
PJBot 60bb97ca95
Automatic changelog update
(cherry picked from commit 3054328d0fbe4454fb8eb64ded1381e5f09f8c3c)
2024-02-08 12:11:08 +01:00
Ed 25dbae8f9c
Lock Anomaly generator to research access (#24464)
* small patch

* fix

* remove garbage

* fix

* moved to shared events

* fix

* LocId

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 498ad2d5d714c73d9212bda9d3d89d53b2001e04)
2024-02-08 12:11:07 +01:00
Sergey Dikiy f6f08bdc55
Added Warning state for AME (#24699)
added warning state for AME

(cherry picked from commit f3ff35dcfa5afb417c24ba9f21cfc2bc414d0c4f)
2024-02-08 12:11:05 +01:00
metalgearsloth 3d3bd4f4e0
Remove EntityUid from debug context menu (#24660)
- Probably confusing if you're not familiar with nentities
- if I need the clientside uid for debugging I can just open VV and it's immediately there on first page.

(cherry picked from commit ca5470918679d73a95404b08fc76d2be088a6876)
2024-02-08 12:10:55 +01:00
Skarletto 0f483e31dd
Ghost Role description clarity (#24333)
* clarity?

* h

* bleeeurgh

* review ass

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 48f5bfb74ab4a2a39c7a72bcecf422dd015471a6)
2024-02-08 12:10:36 +01:00
PJBot b900fd9910
Automatic changelog update
(cherry picked from commit 4ee95501dc7934e97c3cc867e7d54a2f74bb945e)
2024-02-08 12:10:35 +01:00
Kot 08840a5539
Fix SSD indicator (#24589)
Fix ssd indicator

(cherry picked from commit fed43f05d0e95d51e2426a80c7e8963d585c5521)
2024-02-08 12:10:34 +01:00
Wertan 1d944e4381
Adds emote "Buzz" for moth (#24556)
* Buzzing moth

* Update speech_emotes.yml

(cherry picked from commit 507c39d4456df7536d13a91fd77074d436955624)
2024-02-08 12:10:20 +01:00
PJBot c15e02825a
Automatic changelog update
(cherry picked from commit 1bbe1aba330f485cae7c2d24d52bdcfe148476e2)
2024-02-08 12:10:19 +01:00
lzk 9c7adf8290
Remove yellow oxygen tank (#24374)
* Remove yellow oxygen tank

* forgor

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

(cherry picked from commit e5bf4979ae432266cd6e2e9ef1d91cb40dd99264)
2024-02-08 12:10:11 +01:00
RumiTiger 226295b7c4
A beer can and a wine can (#24365)
* A beer can and a wine can

* fix wrong file locations

Signed-off-by: c4llv07e <kseandi@gmail.com>

* Update drinks_cans.yml

* A beer can and a wine can

* Update drinks_cans.yml

* A beer can and a wine can

* replace sprites

Signed-off-by: c4llv07e <kseandi@gmail.com>

* Update meta.json

* Update meta.json

* Update Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/meta.json

* Update Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/meta.json

---------

Signed-off-by: c4llv07e <kseandi@gmail.com>
Co-authored-by: c4llv07e <kseandi@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

(cherry picked from commit b80b6c04b248002c8febddf8fa961a2f95451510)
2024-02-08 12:09:07 +01:00
PJBot f26e119cfa
Automatic changelog update
(cherry picked from commit 50e58ca8055a1837e258eff8e0d803f08ae104d7)
2024-02-08 12:08:48 +01:00
PixelTK c5050d00c6
New sprite for the arachnid plushie. (#24747)
* New sprite

* Contrast is key.

(cherry picked from commit 08a31eae197860f7cd177808729857173c55b77c)
2024-02-08 12:08:47 +01:00
PJBot 3bd11f2c31
Automatic changelog update
(cherry picked from commit 5f44cd92e15fa33405c4a58c2842b42799594142)
2024-02-08 12:08:46 +01:00
Pieter-Jan Briers 0d4eb24b26
Health analyzers now show if somebody is starving (#24789)
"why are they getting cold damage" THERE YOU GO

(cherry picked from commit c25ddfd638e2c50b541e5ebf8c2eda85778f3711)
2024-02-08 12:08:31 +01:00
PJBot 106e2e0c01
Automatic changelog update
(cherry picked from commit d061c164fa06b7b4af497771de1ee5685e5a3a38)
2024-02-08 12:08:14 +01:00