Commit Graph

25259 Commits

Author SHA1 Message Date
Hannah Giovanna Dawson
ef42fb3806 Clown shoes make you waddle, as God intended (#26338)
* Clown shoes make you waddle, as God intended

* OOPS

* Toned down, client system name fix

* Tidy namespacing for @deltanedas

* Refactor to handle prediction better, etc.

* Resolve PR comments.
2024-04-14 08:12:54 -04:00
Froffy025
a7fad5d439 Wield recoil components (#26915)
* WieldRecoilComponents

* WieldRecoilComponents

* Update Content.Shared/Weapons/Ranged/Components/GunWieldBonusComponent.cs

Co-authored-by: Whisper <121047731+QuietlyWhisper@users.noreply.github.com>

* Update Content.Shared/Weapons/Ranged/Components/GunWieldBonusComponent.cs

---------

Co-authored-by: Whisper <121047731+QuietlyWhisper@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-04-14 20:16:23 +10:00
Pieter-Jan Briers
9d0dfcf2b9 Game server admin API (#26880)
* Reapply "Game server api" (#26871)

This reverts commit 3aee197923.

* Rewrite 75% of the code it's good now
2024-04-14 20:13:29 +10:00
PJBot
9752746775 Automatic changelog update 2024-04-14 08:55:46 +00:00
Tyzemol
7a86b1d097 Add character sheets to board game crate (#26926)
add character sheets to board game crate
2024-04-14 02:54:40 -06:00
PJBot
734b6f321d Automatic changelog update 2024-04-14 08:54:03 +00:00
Mr. 27
c6ef37cc5f make holoparasites actually holographic (#26862)
it's over
2024-04-14 02:52:57 -06:00
PJBot
e0ff7f7625 Automatic changelog update 2024-04-14 08:52:13 +00:00
BramvanZijp
7b0dd31b1f WT550 Buffs + Burst Mode for WT550 & C-20R (#26886)
* Slightly increased WT550 Firerate, drastically reduced recoil, and given it the option to fire in 5 round bursts.

* Given the C-20 a 5 round burst aswell
2024-04-14 02:51:07 -06:00
PJBot
7787a82d03 Automatic changelog update 2024-04-14 08:42:45 +00:00
Flareguy
2b8e26fa2e Greyscale color clothing (#26943)
* greyscales color gloves, color jumpsuits, and shoes

* remove popbob

* fix test fails
2024-04-14 02:41:39 -06:00
metalgearsloth
4cb344cc30 Fix options menu crashing in replays (#26911)
Not having the nullable set properly is annoying but fixing that would probably be a significant amount of work.
2024-04-14 09:10:37 +02:00
Pieter-Jan Briers
d3ac3d06bb Fix database round start date issues (#26838)
How can ONE DATABASE COLUMN have so many cursed issues I don't know, but it certainly pissed off the devil in its previous life.

The start_date column on round entities in the database was added by https://github.com/space-wizards/space-station-14/pull/21153. For some reason, this PR gave the column a nonsensical default value instead of making it nullable. This default value causes the code from #25280 to break. It actually trips an assert though that's not what the original issue report ran into.

This didn't get noticed on wizden servers because we at some point backfilled the start_date column based on the stored admin logs.

So I change the database model to make this column nullable, updated the C# code to match, and made the existing migration set the invalid values to be NULL instead. Cool.

Wait how's SQLite handle in this scenario anyways? Well actually turns out the column was *completely broken* in the first place!

The code for inserting into the round table was copy pasted between SQLite and PostgreSQL, with the only difference being that the SQLite key manually assigned the primary key instead of letting SQLite AUTOINCREMENT it. And then the code to give a start_date value was only added to the PostgreSQL version (which is actually in the base class already). So for SQLite that column's been filled up with the same invalid default the whole time.

Why was the code manually assigning a PK? I checked the SQLite docs for AUTOINCREMENT[1], and the behavior seems appropriate.

I removed the SQLite-specific code path and it just seems to work regardless. The migration just sets the old values to NULL too.

BUT WAIT, THERE'S MORE!

Turns out just doing the migration on SQLite is a pain in the ass! EF Core has to create a new table to apply the nullability change, because SQLite doesn't support proper ALTER COLUMN. This causes the generated SQL commands to be weird and the UPDATE for the migration goes BEFORE the nullability change... I ended up having to make TWO migrations for SQLite. Yay.

Fixes #26800

[1]: https://www.sqlite.org/autoinc.html
2024-04-14 07:39:43 +02:00
PJBot
dbf8a036ec Automatic changelog update 2024-04-14 05:36:41 +00:00
Terraspark4941
d2d62b97ac Autism pins! (#25597)
* hee hee he ha ha

* added gold varients, forgive me for my spritework

* maints loot, copying from past PRs

* Trying to fix RSI

* speedran these sprites in break time, pictures will be later

* Fixed/Tweaked glows

* consensus

* gregregation

* dam copiryte

* oops i forgot to delete 2 fields hope this works
2024-04-14 15:35:35 +10:00
metalgearsloth
54b3d7fe45 Update submodule to 218.0.0 (#26945) 2024-04-14 15:05:35 +10:00
Tayrtahn
9107d421bd Add two-message overload to PopupPredicted (#26907)
Added two-message overload to PopupPredicted
2024-04-14 13:42:45 +10:00
PJBot
f1d1e6c6fd Automatic changelog update 2024-04-14 03:40:08 +00:00
DrSmugleaf
c67948407e Make UtensilSystem and SharpSystem not run AfterInteract if it has already been handled (#25826)
* Make UtensilSystem and SharpSystem not run AfterInteract if it has already been handled

* merge conflicts

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-04-14 13:39:22 +10:00
Verm
96ad9002f1 You can now see paper on crates (with color!) (#26834)
* Implement changes on not-cooked branch

* Made it work

* Fix update appearance calls

* Fix extra indents, clean-up code, fix tests hopefully

* Fix hammy cagecrate

* Fix messing up the yml, add artifact crate specific labels back in

* Visual Studio hates yml, sad

* Seperate the colors for cargonia

* sorry json

* make label move with artifact door

* Apply suggestion changes

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

* Fix remaining crate offsets, add a few for livestock and graves (why are you labeling graves) and coffin label sprites (why are you labeling coffins??)

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
2024-04-14 13:39:02 +10:00
PJBot
cb4561fe96 Automatic changelog update 2024-04-14 03:18:23 +00:00
DrSmugleaf
13cef85a6e Fix rockets and lasers looking like they have nothing loaded (#26933) 2024-04-14 13:17:17 +10:00
PJBot
bbff00cd2a Automatic changelog update 2024-04-14 03:13:44 +00:00
GreaseMonk
da618d791a Add Ability to stop sound when MobState is Dead (#26905)
* Add stopsWhenEntityDead to sound components

* Convert component

* Review

* Fix dupe sub

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-04-14 13:12:38 +10:00
metalgearsloth
dc19964d84 Fix standart -> standard and dressfilled test fail (#26942)
Fix standart -> standard
2024-04-14 13:07:14 +10:00
chromiumboy
33e5e4e581 Bug fix: Force cancellation of RCD constructions if the construction type is changed (#26935)
Force cancellation of RCD constructions if the construction type is changed
2024-04-14 13:01:01 +10:00
PJBot
ba9091ff59 Automatic changelog update 2024-04-14 02:52:30 +00:00
superjj18
8272d7a345 Fixed Honkbot/jonkbot honking like crazy, gave honkbot/jonkbot standard idle ai. (#26939)
* Fixed Honkbot/jonkbot honking like crazy, gave honkbot/jonkbot standard idle ai.

* Update Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
2024-04-13 22:51:24 -04:00
PJBot
d44db87bfb Automatic changelog update 2024-04-14 02:20:49 +00:00
Tayrtahn
9b97a2e05d Fix cryostorage identifying unknown characters as captain (#26927)
Fixed cryostorage getting captain's record for unknown jobs.
Also localized Unknown job string.
2024-04-14 12:19:42 +10:00
github-actions[bot]
1f4a01aa38 Update Credits (#26938)
Co-authored-by: PJBot <pieterjan.briers+bot@gmail.com>
2024-04-13 21:46:55 -04:00
PJBot
ed065e8a3d Automatic changelog update 2024-04-13 20:50:08 +00:00
Boaz1111
1bf97c94ee Fix for the salvage ice labs map. (#26928)
* done

* more work
2024-04-13 23:49:02 +03:00
PJBot
154b8606f9 Automatic changelog update 2024-04-13 15:37:11 +00:00
TsjipTsjip
4833074514 Replace SetDamage call with TryChangeDamage in ImmovableRodSystem.cs (#26902) 2024-04-13 11:36:33 -04:00
ShadowCommander
037a7d7d3d Fix pulling a new entity when already pulling an entity (#26499)
Fix pulling when already pulling

The TryStopPull were failing due to wrong arguments provided.
Replacing the virtual item in hand with a different pull was failing due to the hand not being cleared.

Fix stop pulling checks that had the wrong variables provided.

VirtualItems are already queue deleted at the end of HandleEntityRemoved.
2024-04-13 11:36:05 -04:00
FungiFellow
eeb460fb29 Removed Salv Borg Crusher Dagger (#26865) 2024-04-13 11:35:10 -04:00
PJBot
b086779165 Automatic changelog update 2024-04-13 15:26:59 +00:00
keronshb
d4b7bc5aa3 Fixes polymorph cooldowns (#26914)
fixes polymorph cooldowns
2024-04-13 11:26:51 -04:00
DrSmugleaf
2d53cfeabc Fix guns that spawn without a magazine looking like they have one (#26922) 2024-04-13 11:26:25 -04:00
DrSmugleaf
b51482f51a Fix incorrect "Cycled" and "Bolted" popups when (un)wielding a gun (#26924) 2024-04-13 11:25:53 -04:00
PJBot
5d00305a22 Automatic changelog update 2024-04-13 02:37:34 +00:00
Vasilis
a49a576b03 Uncooked animal proteins is safe for animal stomachs only (#26906)
Uncooked animal proteins is safe for animal stomachs
2024-04-13 12:36:28 +10:00
PJBot
2360376b40 Automatic changelog update 2024-04-13 01:47:08 +00:00
osjarw
0a1ce9dd43 Fixed magboot activation distance (#26912) 2024-04-12 21:46:00 -04:00
DrSmugleaf
24b6456735 Fix the stripping menu being openable without StrippingComponent (#26908) 2024-04-12 16:22:07 -07:00
TsjipTsjip
998bf45368 Health analyzer UI unit correction (#26903)
Correct Kelvin displayed on health analyzer UI, use T0C constant.
2024-04-12 16:47:44 -04:00
PJBot
c8f75d9918 Automatic changelog update 2024-04-12 08:03:12 +00:00
Ko4ergaPunk
279e01c3d2 Strobes added (#26083)
* Done

* Adds new

* empty

* attributions

* empty

* strobe admin deleted
2024-04-12 11:02:06 +03:00
PJBot
2a5d23f3f1 Automatic changelog update 2024-04-12 07:16:10 +00:00