Commit Graph

7307 Commits

Author SHA1 Message Date
deltanedas 1d24249d49
make midround antag spawn code better (#919)
* kill shitcode

* give each midround antag its own spawn rule

* using

* break test real

* typographical error

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-03-02 23:27:13 +01:00
Guess-My-Name da049f789d
Psionic insulation and invisibility fix (#887)
* fix

* invis people can no longer see other invis people
2024-02-23 19:36:40 +01:00
VMSolidus 0f9414b5ea
Fix deep fryer divide by zero (#886)
Update DeepFryerSystem.cs
2024-02-22 04:55:58 +00:00
Guess-My-Name b9dd5eddb1
oracle wrong item message cooldown (#885)
no more oracle spam
2024-02-22 05:32:37 +01:00
Debug a0511fcfc0
Merge pull request #878 from DebugOk/25394
Early merge
2024-02-21 04:28:15 +01:00
Vasilis 0c95a1db1a
Add roundid to replay_final.yml (#25398)
oopsy i forgor

(cherry picked from commit 5170593e85)
2024-02-21 04:08:52 +01:00
Pieter-Jan Briers 837272c745
Fix admin notes and database time nonsense. (#25280)
God bloody christ. There's like three layers of shit here.

So firstly, apparently we were still using Npgsql.EnableLegacyTimestampBehavior. This means that time values (which are stored UTC in the database) were converted to local time when read out. This meant they were passed around as kind Local to clients (instead of UTC in the case of SQLite). That's easy enough to fix just turn off the flag and fix the couple spots we're passing a local DateTime ez.

Oh but it turns out there's a DIFFERENT problem with SQLite: See SQLite we definitely store the DateTimes as UTC, but when Microsoft.Data.Sqlite reads them it reads them as Kind Unspecified instead of Utc.

Why are these so bad? Because the admin notes system passes DateTime instances from EF Core straight to the rest of the game code. And that means it's a PAIN IN THE ASS to run the necessary conversions to fix the DateTime instances. GOD DAMNIT now I have to make a whole new set of "Record" entities so we avoid leaking the EF Core model entities. WAAAAAAA.

Fixes #19897

(cherry picked from commit 2e6eaa45c5)
2024-02-21 04:03:44 +01:00
Vasilis f1bacc31d2
Hotfix: Set round end information for replays back to null on round start instead of round end (#25394)
* Hotfix

* I dont think i need this now

(cherry picked from commit 2548b13abf)
2024-02-21 04:03:40 +01:00
Debug 9af8726a1e
Wait no it was correct
Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>
2024-02-21 00:41:06 +01:00
Debug 4e080593aa
Incorrect math resulting in false negative
Webedit ops

Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>
2024-02-21 00:34:36 +01:00
Debug bc0baa6797
Make periapsis only have 10 non-whitelisted slots, and make whitelist not shit (#874)
Whitelist
2024-02-20 20:46:17 +01:00
ArchPigeon 783284ab0f
Stop wagging tails on crit (#25323)
* Add Flammable Touch Reaction for liquid tritium

* Stop tail wagging action on crit

* Revert "Add Flammable Touch Reaction for liquid tritium"

This reverts commit 41be57b058a0cdee0cecfc51eb1c4a25631e62f3.

(cherry picked from commit e8eddf57f6)
2024-02-18 23:39:38 +01:00
Pieter-Jan Briers 5da6086a02
Add new "OptionsVisualizer" (#25128)
This is a visualizer somewhat similar to the Generic. It allows configuring appearance info based on specific CVars the user has set. This allows YAML to easily configure alternatives for accessibility CVars like reduced motion.

(cherry picked from commit 1ce2155315)
2024-02-18 23:39:23 +01:00
Vasilis df79ac49b9
Save round information into replay_final.yml (#23013)
* Save round information into the replay

* Add round end text too

* This is way better

* Get actual job

* oop

* OK THERE

* Fake line endings to make life easier

* I was told this yaml is legal

* I just realised this will make my life easier

* REVIEWS BABY IM A PROGRAMMER MOMMY

* Live pjb reaction

* Live pjb reaction 2

* Reviews 2

* Dont need this

* Please no more have mercy on my soul

* Oh frick

(cherry picked from commit cb999d23f4)
2024-02-18 23:36:10 +01:00
Flesh 194c9d7755
fixed the specific if statement called when plant age is under 0 (#25346)
(cherry picked from commit 5b485fedbd)
2024-02-18 23:36:02 +01:00
Plykiya afcae40a0a
Fix: Grenades don't make trigger sound (#25321)
* Fix: Grenades don't make trigger sound

* transform instead of trycomp transform

---------

Co-authored-by: Plykiya <plykiya@protonmail.com>
(cherry picked from commit 7d94cc719c)
2024-02-18 23:36:01 +01:00
Arendian c9a6019f97
Fix nymphs being deleted immediatly after spawning (#25344)
* nymphs now don't get deleted together with the body of the diona

* moved nymph system to server

(cherry picked from commit 9969bd2584)
2024-02-18 23:35:48 +01:00
Flesh e44942d341
Change plant clipping mechanics (#25326)
Make seeds from clipped plants inherit the decreased health from parents.
Also require one growth stage before clipping.

(cherry picked from commit dab2c48849)
2024-02-18 23:35:46 +01:00
LankLTE e7d8f5e080
Diona Nymphs & Splitting (#24630)
* Porting & implementation

* Fix two stupid errors

* Human not humans

* fix audio path

* Fix test fails & update cooldown

* Work on reviews & test fail

* Rework nymph organ system.

* Make the nymph organs nospawn.

* IsDeadIC

(cherry picked from commit 407d4aed58)
2024-02-18 23:34:45 +01:00
Debug 93503d9fd1
WebP lobby images (#25184) 2024-02-18 23:32:45 +01:00
MilenVolf cb0fdb47d1
LockVisualizer (#25224)
* LockVisualizer

* Fix state

* Clean some code

* Make it component, fix tests fail

* Fix for StateUnlocked

Now it is possible to manually set the unlocked state and it will work!

* Optimize LockVisualizer, add check for unlocked state

* No todo I guess

(cherry picked from commit c7870882f6)
2024-02-18 23:27:28 +01:00
Krunklehorn b1e1ec66ea
Add sfx for writing on paper (#25257)
* Initial commit

* Moved params to sound

* Removed type tag

* Removed null check

* Forced default

(cherry picked from commit 1de3f24f16)
2024-02-18 23:25:50 +01:00
Łukasz Mędrek dd92fe8786
Fix spawning glass shard for each glass sheet in stack (#25308)
* fix: SpawnEntitiesBehavior now works with stacks

Fixed the issue of SpawnEntitiesBehavior not executing multiple times on
entities with stack conponent.

Fixes #25287

* fix: reduced dictionary iterations

(cherry picked from commit 53270be66c)
2024-02-18 23:17:54 +01:00
Pieter-Jan Briers e9975e23e8
Nuke fancification (#25297)
Actually use more icon states for deployed/armed/about to explode

Also unlit layer.

Also examine text

(cherry picked from commit 3a45d519dc)
2024-02-18 23:17:22 +01:00
Pieter-Jan Briers 8cdd3d1cb7
Fix disposals bins not automatically flushing after an object is inserted (#25233)
Fix disposals bins not automatically flushing after an object is inserted.

Because of Spaghetti Code™️, AfterInsert() in DisposalUnitSystem still handles insertion itself. Except in all cases except drag/drop insert, the object is already inserted so this check fails and the remaining logic doesn't happen anymore. Fixed now.

(cherry picked from commit 571d4f7358)
2024-02-18 23:13:35 +01:00
nikthechampiongr a37bd5b2a7
Clarify stripping logs (#25190)
* Indicate whether pickpocketing is stealthy in logs, change :user to :actor, and clean up messages.

* Remove ugly whitespace

* Do the thing I should have done but didn't because I didn't want to think

* Fix spacing

(cherry picked from commit 82f5bf8121)
2024-02-18 23:13:34 +01:00
Jezithyr 53bd523984
Death acidifier fix (#25251)
(cherry picked from commit be29a054de)
2024-02-18 23:13:32 +01:00
Plykiya 15d22b8315
Fix: Holosigns can be stored again (#25249)
* Holosigns can be stored again

* TryComp to HasComp

---------

Co-authored-by: Plykiya <plykiya@protonmail.com>
(cherry picked from commit d6139429ad)
2024-02-18 23:13:18 +01:00
Menshin 7e6a8ef6e5
Allow thermomachines to exchange with air instead of inlet (#25247)
Add purely atmospheric heat exchange to the gas thermomachine component (in preparation for space heaters).

(cherry picked from commit ce4bd8568c)
2024-02-18 23:13:12 +01:00
brainfood1183 0b848034e9
Add French accent beret (#21430)
(cherry picked from commit e1805e04d4)
2024-02-18 23:12:00 +01:00
Krunklehorn 5a315ab91a
Fix spawn priority persistence on reconnect and restart (#25246)
Because of course I would forget one line

(cherry picked from commit 2f0c837816)
2024-02-18 23:11:51 +01:00
Pieter-Jan Briers 1031a93942
Predict Injector (syringes), cleanup (#25235)
At least the mode/transfer amount logic. Actual transfer logic needs Bloodstream which I didn't wanna move into shared.

(cherry picked from commit 6d8be538c9)
2024-02-18 23:11:33 +01:00
Jessica M f5a0ac1688
Makes clumsy not delete guns (#25243)
clumsy no longer deletes guns

Co-authored-by: Jessica M <jessica@maybe.sh>
(cherry picked from commit d0c24f9aff)
2024-02-18 23:11:19 +01:00
Nemanja c3f420815f
Add events for TemperatureProtection and PressureProtection (#25165)
(cherry picked from commit 8ed32a1e42)
2024-02-18 23:11:15 +01:00
Plykiya e6628cfadc
Ranged Holosigns (#25120)
* Changed holo signs to be ranged and used on click rather than Z.

* Updated comments

* Failed attempt at ignoring walls

* Getting rid of unused libraries

---------

Co-authored-by: Plykiya <plykiya@protonmail.com>
(cherry picked from commit e6c21d66fa)
2024-02-18 23:10:58 +01:00
Guilherme Ornel 88f4ca25a2
Fax machines can print from text file (#23262)
* added

* checks tweaking

* fixed what sloth wanted

* fixed?

* dialog diposing fix

* checks tweaking

* more changes

* dispose streamreader

* Update Content.Client/Fax/UI/FaxBoundUi.cs

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

* Update Content.Server/Fax/FaxSystem.cs

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

* fix minor typo

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit ff92025026)
2024-02-18 23:03:53 +01:00
Ed b74146831d
Anomaly Synchronizer + Signallers tweaks (#24461)
* content

* nerf

* fix rsi

(cherry picked from commit 4d7fd1cace)
2024-02-18 23:03:09 +01:00
James Simonson 1083aeb8e1
Microwave UX enhancements (#24547)
* Facelift Microwave UI

Includes new background light in UI, Uses predictive input, UI now properly disables buttons when microwave is active

* Microwave now shows Elapsed time

* Fixed bad formatting

* Added new term for "BottomMargin"

* Change yellow color

* Update StyleNano.cs

just spacing fixed

* Cook time countdown now detached from server

Instead of the server constantly sending out messages for the cook countdown, it is now predicted client side using TimeSpan

* Update MicrowaveMenu.xaml

forgot to re-add item space

(cherry picked from commit 25f73f6406)
2024-02-18 23:03:05 +01:00
Ed 9dcdbea279
Shadow anomaly returns (#24629)
* content

* add cat

* ambient

* I FORGOT HEARTS!

* fix ambient

* some fixes

* canCollide: false

* connect to damageable

* pi

* remove fx

* some fixes

* *sad bruh*

* hazed

* Update base_shadow.yml

(cherry picked from commit ae321151ca)
2024-02-18 23:03:02 +01:00
Tayrtahn b39407bae3
Add verbs to Open/Close Openable containers, and add optional seals (#24780)
* Implement closing; add open/close verbs

* Add breakable seals

* Allow custom verb names; make condiment bottles closeable

* Remove pointless VV annotations and false defaults

* Split Sealable off into a new component

* Should have a Closed event too

* Oh hey, there are icons I could use

* Ternary operator

* Add support for seal visualizers

* Moved Sealable to Shared, added networking

* Replaced bottle_close1.ogg

(cherry picked from commit 75e47fff9e)
2024-02-18 23:02:49 +01:00
Kevin Zheng 78c9dc6160
Require plants to be harvestable before sampling (#24851)
(cherry picked from commit 52f74fa39d)
2024-02-18 23:02:48 +01:00
Pieter-Jan Briers ccea85136b
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17)
2024-02-18 23:02:29 +01:00
James Simonson 5fd80ac7a8
Added "wink" and "tearfully smiles" emotes + more cry emote variations (#25129)
Added wink and tearfully smiles emote + more cries  variations

(cherry picked from commit 44ae7d234c)
2024-02-18 23:01:33 +01:00
deltanedas 76129f4349
make linking logic gates 1000% better (#25041)
* make door status use SendSignal

* LastSignals and logic, add ClearSignal api too

* make everything outputting a logic signal default to false

* refactor ops

* :trollface:

* :trollface:

* protoid for LastSignals

* oop

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit f41ece37c3)
2024-02-18 22:55:58 +01:00
Plykiya 4f434db79c
Added display for amount of hits left in stun batons/stun prods. (#25141)
Added display for amount of hits left in stun batons/stunprods.

Co-authored-by: Plykiya <plykiya@protonmail.com>
(cherry picked from commit 5f2cc18be7)
2024-02-18 22:55:52 +01:00
SlamBamActionman 6991618a45
Add option for character name colors in chat & move coloration to clientside (#24625)
* Adds option to disable character names in chat/speechbubbles

* Moved the coloring of names to clientside

* Move string functions to SharedChatSystem to avoid duplicate code in SpeechBubble.cs

* Changed to be put under Accessibility section

* Cache CVar

(cherry picked from commit 247be5b5c7)
2024-02-18 22:52:19 +01:00
metalgearsloth 9e366f3119
Predict two-way levers (#25043)
* Predict two-way levers

Annoys me the rare occasions I touch cargo. Doesn't predict the signal but at least the lever responds immediately.

* space

* a

(cherry picked from commit 05a2ddff1c)
2024-02-18 22:46:26 +01:00
Jezithyr 6737912059
Gibbing refactor (Per-part gibbing and giblet throwing!) (#24989)
* Moving Gibbing rework out from medrefactor into it's own PR

* Re-enabled warning for missing gibbable on TryGibEntity

* Implemented better logic for gibbing failover and better logging

* Allowing audio params and drop scattering customization per component. Created UnGibbable organ base types and made brains ungibbable.
Removed delete brain from gibBody function. Artifact crusher does not destroy brains anymore. It only destroyed brains before not other organs which was wierd.

* Update Content.Shared/Body/Systems/SharedBodySystem.Body.cs

Fixing space for multiplication

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

* Added event raised when attempting to gib contained entities to allow modification of allowed and excluded container ids

* removing audioParams var from component (sound specifier includes it)

* Fixing signature

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 541d8f8715)
2024-02-18 22:46:02 +01:00
Plykiya 9d9d86dda4
Changed door remote to trigger based on vision occlusion(#25093)
Changed door remote to trigger based on vision occlusion rather than opaque collision targeting check. Ian's butt will no longer absorb your 5G signals.

Co-authored-by: Plykiya <plykiya@protonmail.com>
(cherry picked from commit 7a04acc851)
2024-02-18 22:43:26 +01:00
themias d899831a23
Fix crew manifest department bugs (#24975)
(cherry picked from commit 543cd6a236)
2024-02-18 22:43:16 +01:00