Commit Graph

22900 Commits

Author SHA1 Message Date
Aexxie
467e983ba9 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>
2024-02-02 00:29:01 +11:00
lunarcomets
4520ac8c9b 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)
2024-02-02 00:24:17 +11:00
nikthechampiongr
8b19b7fab9 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>
2024-02-02 00:08:03 +11:00
Rondalph Diggs
c989340c52 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.
2024-02-02 00:05:13 +11:00
PJBot
3f4ddebef3 Automatic changelog update 2024-02-01 13:04:55 +00:00
Repo
0084121706 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>
2024-02-02 00:03:49 +11:00
PJBot
45dff4b47d Automatic changelog update 2024-02-01 13:00:48 +00:00
Tayrtahn
5dc1481e03 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>
2024-02-01 23:59:41 +11:00
Emisse
870661f856 box update (#24813) 2024-02-01 05:56:48 -07:00
deltanedas
6b03aaaec7 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>
2024-02-01 23:56:40 +11:00
PJBot
b932d94ded Automatic changelog update 2024-02-01 12:50:54 +00:00
Kara
e212b10ca2 Open some windows non-centered to avoid covering the player (#24767) 2024-02-01 23:49:48 +11:00
PJBot
1fc237a84e Automatic changelog update 2024-02-01 12:42:10 +00:00
mac6na6na
8b292671f4 Remove tiered part crates from expeditions (#24810)
Remove part crates
2024-02-01 23:41:03 +11:00
SlamBamActionman
d520198f13 Make paper edible (#24755)
* Edible paper

* Added Paper tag
2024-02-01 23:40:54 +11:00
AJCM-git
b8f0ed3975 Cleanups PolymorphSystem/Components/Prototypes (#23721)
* Cleanups PolymorphSystem

* forgot this

* Nah

* Fix test

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-02-01 23:17:02 +11:00
metalgearsloth
c0227bcb3b Fix tests (#24809)
* Fix tests

PJB don't look no shed

* weh
2024-02-01 23:04:52 +11:00
PJBot
8385e936f3 Automatic changelog update 2024-02-01 11:55:30 +00:00
Varen
cdfff3c4bd 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.
2024-02-01 12:54:24 +01:00
metalgearsloth
bd86447f99 Fix item toggles where no sound exists (#24807)
Oop
2024-02-01 22:43:06 +11:00
lzk
628e22ba02 Newton cradle (#22914)
* comit

* comit2

* little more range

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-02-01 22:41:19 +11:00
PJBot
1f1809d6ed Automatic changelog update 2024-02-01 11:07:57 +00:00
Pieter-Jan Briers
879b4d171e 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.
2024-02-01 12:06:52 +01:00
Arendian
ecea561e44 Paraplegicn't zombies (#24169)
* The zombie virus now cures paraplegia.

* no wheelchairbound anymore
2024-02-01 22:06:05 +11:00
PJBot
bbab394482 Automatic changelog update 2024-02-01 10:43:18 +00:00
FungiFellow
3c8882696a 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
2024-02-01 21:42:12 +11:00
PJBot
4177e64712 Automatic changelog update 2024-02-01 10:40:15 +00:00
Arendian
4f3b8d740c Spacelube slide (#24801)
* Space lube now makes you slide

* review

* oh lord he slippin

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-02-01 21:39:10 +11:00
PJBot
c4f275bc53 Automatic changelog update 2024-02-01 10:14:50 +00:00
SlamBamActionman
1862f8aa17 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
2024-02-01 21:13:44 +11:00
Krunklehorn
ed0f2aa221 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>
2024-02-01 21:12:09 +11:00
Flareguy
d76121d470 Airlock assembly prototypes (#23821)
* adds prototypes for airlock assemblies for other doors

* fix tests
2024-02-01 20:49:47 +11:00
PJBot
5669c412a5 Automatic changelog update 2024-02-01 09:02:57 +00:00
Pieter-Jan Briers
dfef9dd0d5 Remove starvation damage (#24790)
Bottom text
2024-02-01 20:01:52 +11:00
PJBot
3054328d0f Automatic changelog update 2024-02-01 08:46:30 +00:00
Ed
498ad2d5d7 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>
2024-02-01 19:45:24 +11:00
Sergey Dikiy
f3ff35dcfa Added Warning state for AME (#24699)
added warning state for AME
2024-02-01 19:40:57 +11:00
metalgearsloth
ca54709186 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.
2024-02-01 19:36:08 +11:00
Skarletto
48f5bfb74a Ghost Role description clarity (#24333)
* clarity?

* h

* bleeeurgh

* review ass

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-02-01 19:33:23 +11:00
PJBot
4ee95501dc Automatic changelog update 2024-02-01 08:31:14 +00:00
Kot
fed43f05d0 Fix SSD indicator (#24589)
Fix ssd indicator
2024-02-01 19:30:07 +11:00
deltanedas
ed48bd415b saltern update (#24776)
* saltern update

* name

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-02-01 01:28:51 -07:00
deltanedas
6b1edc77bb atlas update (#24777)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-02-01 01:28:40 -07:00
Emisse
b0fa4f8486 marathon update (#24800)
* marathon update

* forgor cameras
2024-02-01 01:28:25 -07:00
Wertan
507c39d445 Adds emote "Buzz" for moth (#24556)
* Buzzing moth

* Update speech_emotes.yml
2024-02-01 19:20:53 +11:00
PJBot
1bbe1aba33 Automatic changelog update 2024-02-01 06:54:39 +00:00
lzk
e5bf4979ae Remove yellow oxygen tank (#24374)
* Remove yellow oxygen tank

* forgor

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-02-01 17:53:33 +11:00
RumiTiger
b80b6c04b2 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>
2024-02-01 17:41:23 +11:00
PJBot
50e58ca805 Automatic changelog update 2024-02-01 06:37:49 +00:00
PixelTK
08a31eae19 New sprite for the arachnid plushie. (#24747)
* New sprite

* Contrast is key.
2024-02-01 17:36:43 +11:00