Commit Graph

3896 Commits

Author SHA1 Message Date
themias a83c773c3c
Grave digging and decomposition (#23646)
* Grave digging and decomposition

* fix

* update based on review comments

* code review

* remove unused field

(cherry picked from commit fd7ff690b1)
2024-01-26 22:50:50 +01:00
Psychpsyo e439d50479
Plates & Cash gridinv visuals (#24075)
(cherry picked from commit a747e6dda4)
2024-01-26 22:50:12 +01:00
AJCM-git 9a6fa17e72
Virtual items cleanup (#23912)
* Virtual items cleanup

* Detail

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 108f001731)
2024-01-26 22:49:14 +01:00
DrSmugleaf deea24e255
Fix error when the client gets an Eui state message before its open message (#23610)
* Fix error when the client gets an Eui state message before its open message

* Revert "Fix error when the client gets an Eui state message before its open message"

This reverts commit 440e2746ee8d77306f59ddea558eda32ec927f18.

* Make all Eui msgs reliable ordered

(cherry picked from commit 95ef20223c)
2024-01-26 22:49:13 +01:00
Dakamakat dfb3ff6836
Make throwable star damage stamina (#23527)
* feat(star.yml): make throwable star damage stamina

* feat(Components): add new StaminaTresholdDamageOnEmbedComponent

* feat(SharedProjectileSystem): update system with new events to change
stamins treshold on embeed projectile remove / add

* feat(StaminaSystem): update system with new subscriptions

* feat(throwing_stars): update yml with new component

* feat(StaminaDamageOnEmbed): add stamina damage on embeed

* cleanup unused / ajust numbers

* fix(StaminaSystem / OnEmbedComponent ) apply requested changes

* Rest of the review

* another warning

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit b80f7eed6e)
2024-01-26 22:49:12 +01:00
deltanedas 149ad77eb5
Add TryGetPrimaryDepartment to jobs system (#23317)
* add primary departments

* make command and station specific secondary

* add a unit test

* fixy

* compile

* webedit ops

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

(cherry picked from commit d1d11d09c7)
2024-01-26 22:48:20 +01:00
metalgearsloth 32216a1b03
Entitylookup method renames (#23519)
(cherry picked from commit 1f3a29c092)
2024-01-26 22:38:25 +01:00
Morb 781657f44d
Tail wagging (#19573)
* MVP

* Uncomment animated prototypes

* Disable wagging on death

* Move component to server

* Looped tail animation

* Apply front tail template

* Disable animated markings globally

* Add emote sending

* Update documentation

* Move locale

* Use static instantAction & remove action on comp del

* Use fluent POSS-ADJ

* Update docs

* Add copyright

* Update copyright

* Update license & copyright

* Move to main directory & format meta.json

* Fix path

* Change namespace

* Remove empty meta.json

* Update

* REMOVE unnecessary IsNullOrWhiteSpace check

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

* Move animated markings to main file

* Use emotes

* new

* fix

* fix

* Tests, pls

* fix dixel

* Remove networked from wagging comp

* Remove unused import

* Remove unused imports

* Move wagging comp to shared

* Revert the emotes

If we're getting it the action is better.

---------

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 9063cfe454)
2024-01-26 22:38:24 +01:00
Tayrtahn 87d60504e3
Hackable intercoms (#23984)
* Enable wire interface for intercom

* Implement BlockListening component and system

* Implement ListenWireAction

* Added cooldown/overload to mic wire pulse

* Properly persist voicemask settings when user already has one.

* Addressed requested changes

* Added wire panel open/closed visuals

(cherry picked from commit 2d6d2aba0b)
2024-01-26 22:37:41 +01:00
Vasilis d62eb3a2b8
Cvar to allow whitelisted players to bypass panic bunker (#23885)
Among us

(cherry picked from commit 22c0b4425d)
2024-01-26 22:37:39 +01:00
GreyMario 0fa31b334b
Pneumatic cannon accuracy buff (#23996)
make thrown item launchers stronger than hands more accurate

(cherry picked from commit 5962f6d6e9)
2024-01-26 22:35:07 +01:00
Nemanja 5a978c0430
Fix chem sources in guidebook (#23987)
* Fix chem sources in guidebook

* shabooya

(cherry picked from commit 0e45c63d22)
2024-01-26 22:35:05 +01:00
Pieter-Jan Briers ea0318b2e0
Fix solution editor UI (#24004)
Fixes #23645

The problem is that the solution editor UI is an EUI, so the UI updates before the game states are applied.

A correct fix would be to move it to a BUI in some way, but that's a little involved as we don't really have pre-existing code that uses BUIs in a manner good for this. I decided against this because I realized we'd want to have more tools similar to this and tbh I kinda figured integrating it with VV would be a better fix instead, so...

This is a bad workaround to manually synchronize the UI updates against game timing. It's not pretty but it works.

(cherry picked from commit 3a2cd95d7f)
2024-01-26 22:34:27 +01:00
keronshb 0c8d256d71
Moves ShootProjectile to shared (#24007)
(cherry picked from commit 2375a6cd1d)
2024-01-26 22:34:26 +01:00
Pieter-Jan Briers 0976f3ff12
Fix exception with gas overlay rendering (#24001)
I had to rewrite this code for #23745 and forgot to test it. Damnit.

(cherry picked from commit fa56750d30)
2024-01-26 22:34:21 +01:00
Pieter-Jan Briers 1c54b75da5
Dependency update / fixes / skrungle bungle (#23745)
* Give .props files 2-space indents.

* Move to Central Package Management.

Allows us to store NuGet package versions all in one place. Yay!

* Update NuGet packages and fix code for changes.

Notable:

Changes to ILVerify.
Npgsql doesn't need hacks for inet anymore, now we need hacks to make the old code work with this new reality.
NUnit's analyzers are already complaining and I didn't even update it to 4.x yet.
TerraFX changed to GetLastSystemError so error handling had to be changed.
Buncha APIs have more NRT annotations.

* Remove dotnet-eng NuGet package source.

I genuinely don't know what this was for, and Central Package Management starts throwing warnings about it, so YEET.

* Remove Robust.Physics project.

Never used.

* Remove erroneous NVorbis reference.

Should be VorbisPizza and otherwise wasn't used.

* Sandbox fixes

* Remove unused unit test package references.

Castle.Core and NUnit.ConsoleRunner.

* Update NUnit to 4.0.1

This requires replacing all the old assertion methods because they removed them 🥲

* Oh so that's what dotnet-eng was used for. Yeah ok that makes sense.

* Add Robust.Analyzers.Test

* Update submodule

* commit to re-run CI

(cherry picked from commit a6c9c36b68)
2024-01-26 22:33:46 +01:00
nikthechampiongr 1caa663bb1
Fix double sound for shutters (#23975)
Fix double sound

(cherry picked from commit d312d871c8)
2024-01-26 22:33:44 +01:00
Fahasor a764a4eb3b
Whistle for security (second try) (#23945)
* Move Exclamation entity

* Add Whistle Component and Whistle System

* Add BaseWhistle prototype

* Add sound to BaseWhistle

* Add SecurityWhistle prototype

* Add Sprite and Icon to SecurityWhistle

* Add whistleExclamation prototype

* Fix SecurityWhistle prototype

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>

* Add whistles to sec vendingMachine

* Revert "Add sound to BaseWhistle"

This reverts commit 0c2eeab1286fb778ed7a845e59c642f667582a4a.

* Add sounds for BaseWhistle

* Make atributions compact

* Remove unnecessary spaces

* Make WhistleSystem class sealed

* Remove possibility to exclamate one person from WhistleComponent

* Remove delay from WhistleSystem

Increase delay

* Remove unnecessary HashSet

* Try replace Resolve

* Refactor sound emmiting

* Rework spawn of exclamation

* Move WhistleComponent from Server to Shared

* Edit WhistleComponent because of moving

* Move WhistleSystem from Server to Client

* Edit WhistleSystem because of moving

* Add new event

* Add server part of WhistleSystem

* Modify system for prediction

* Add documentation to WhistleComponent

* Revert "Modify system for prediction"

This reverts commit 89abb290571ff47deb5491b0f720f6bde079110b.

* Revert "Add server part of WhistleSystem"

This reverts commit ca52ca081f30fb164f401c1818d08531f02af284.

* Revert "Add new event"

This reverts commit 5ca9694757c94c03ca72d5b2f56f5f23503a3263.

* Move system from client to shared

* Modify whistle system because of moving

* Separate checks and action

* Organize file folders according to conventions

* Make component Networked

* Change trigger component for WhistleSystem

* Put indents betwen methods

* Rework WhistleExclamation prototype

* Change variable name

* Add serializer to WhistleComponent

* Rename one variable

* add predict possibility to Shared

* add Client part of prediction

* Add Server part of prediction

* Increase whistle distance

* Prevent spawn for invisible entities

* WhistleComponent now use file-scoped namespace

* Delete unnecessary part from MakeLoudWhistle

* Add Resolve check

* Delete Server and Client part for prediction

* Make system prediction properly

* Change prediction behaviour

* Fix unexpected error occured

* Avoid using obsolete methods

* Add comments

* Update DataField to make it shorter

* Update size for new size system

* Prevent ping for invisible entities for real now

* Avoid triggering unnecessary debug asserts

---------

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>
(cherry picked from commit fa3da1ab82)
2024-01-26 22:33:18 +01:00
metalgearsloth 42643e8b94
NewsSystem fixes (#23969)
(cherry picked from commit abc5094a16)
2024-01-26 22:33:17 +01:00
Tayrtahn 35ba9eb50d
Cuttable speaker wire for vending machines (#23873)
Implement SpeechWireAction

(cherry picked from commit b8de514237)
2024-01-26 22:33:15 +01:00
Nemanja fa762bfa8e
Add doors to the station map (#23639)
* Add doors to the navmap

* tweaksies

* gah

* draw primitive

* draw primitive? at least take me out to dinner first!

* Update Content.Client/Pinpointer/UI/NavMapControl.cs

* casualties

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 1886941da6)
2024-01-26 22:27:10 +01:00
Arendian e36dd93b60
Fix borg becoming emag immune if emag attempted with panel closed. (#23729)
* Fix borg becoming emag immune if emag attempted with panel closed.

* new event

* removed code added in accessreader

* fix emag 1984

(cherry picked from commit 23e714e523)
2024-01-26 22:26:05 +01:00
Arendian 918c917052
Fix roller skates debug assert (#23876)
Networkedcomponent

(cherry picked from commit 464f24d040)
2024-01-26 22:25:49 +01:00
metalgearsloth 8a2f414ef2
Fix tiledef reloads AKA void planet (#23864)
(cherry picked from commit cd1ef71e31)
2024-01-26 22:25:33 +01:00
metalgearsloth 62c2728e38
Fix storage state (#23852)
slughands

(cherry picked from commit 24f8da8f0c)
2024-01-26 22:22:41 +01:00
metalgearsloth dcc2baa5a5
Fix objects tab not showing nents (#23837)
* Fix objects tab not showing nents

* Fix everything

(cherry picked from commit 1170121532)
2024-01-26 22:22:36 +01:00
themias 35a7ade997
Wheelchair users can bump open doors (#23806)
(cherry picked from commit 4cc3c91805)
2024-01-26 22:21:20 +01:00
nikthechampiongr 0e9b07db94
Doors will no longer be pried open once the doafter finishes if they shouldn't. (#23818)
* Fix bug where prying would succeed even a door could no longer be pried.

* Remove redundant call to Resolve

* Remove redundant comment

(cherry picked from commit 88045afcf0)
2024-01-26 22:21:17 +01:00
metalgearsloth 404ac576b8
Fix storagecomp serialization (#23780)
* Fix storagecomp serialization

* Fix state

(cherry picked from commit b22c9aa5e2)
2024-01-26 22:17:53 +01:00
Kara 8c3b51b23c
Don't predict mind examine (#23769)
(cherry picked from commit 05d42dce9e)
2024-01-26 22:17:10 +01:00
Nemanja 703b4cb7cc
Quantum Spin Inverter (#23756)
(cherry picked from commit fdd18c9ae4)
2024-01-26 22:17:00 +01:00
Nemanja cd97df761d
Autoattacking weapons (#23765)
auto attacks

(cherry picked from commit 5db615af54)
2024-01-26 22:16:34 +01:00
Kot b664c6d02b
Powered stasis bed prevents body decay (#23520)
* Powered stasis bed prevents body decay

* Update following CR comments

* Remove unused import

* Simplify if-statements

* Change implementation following CR suggestions

* Add comment & remove explicit get/set

(cherry picked from commit e97fd47a87)
2024-01-26 22:16:32 +01:00
Tayrtahn 879e8b2cb3
Reduce vendor thank you message spam and add variety (#23746)
* Moved vendor thank you messages into AdvertisementPack, making them vendor-specific.
Wrote a few example messages.

* Only display thank yous when closing the UI after a purchase.

* Tweaked a few messages

* More custom messages

* Missed one

(cherry picked from commit eb9770efb9)
2024-01-26 22:14:58 +01:00
AJCM-git 87bdedfccf
Fixes ninja not being able to use abilities (#23748)
* Fixes ninja not being able to use abilities

* This was for testing

(cherry picked from commit a3127748d1)
2024-01-26 22:14:56 +01:00
metalgearsloth a6a7514b0d
Fix gun cursor popup spam (#23732)
(cherry picked from commit cce9bde4cd)
2024-01-26 22:12:07 +01:00
I.K 11497a9d03
Improve visibility of gun bolts (#23711)
* add overlay

* ??????

(cherry picked from commit dc994f9c66)
2024-01-26 22:11:55 +01:00
Nemanja 7a8c81f71d
Grappling fixes (#23709)
(cherry picked from commit c9b700a2d4)
2024-01-26 22:10:57 +01:00
DoutorWhite b755a71815
Fix RoundStartTimeSpan not being networked on client-side after reconnecting (#23707)
Fix RoundStartTimeSpan state not being networked on reconnections

(cherry picked from commit 31133ef788)
2024-01-26 22:10:56 +01:00
Arendian c2e20e568c
Fix duplicate popups in ripley (#23692)
Fix duplicate popups on switching selected equipment

(cherry picked from commit e1e99e16c7)
2024-01-26 22:09:55 +01:00
Trevor Day e3a78e84b1
Update ChemicalReaction and ReagentEffect logs. (#23649)
* Update ChemicalReaction and ReagentEffect logs.

* Updated explosion log as well, and small cleanup.

(cherry picked from commit aa7fcb19ec)
2024-01-26 22:08:19 +01:00
DrSmugleaf 9f4fa43635
Revert "Game server api (#23129)" (#23672)
This reverts commit dfc8ea6aee.

(cherry picked from commit c05a458de2)
2024-01-26 22:07:25 +01:00
metalgearsloth b4e7da1f26
Fix asteroid UI determinism (#23661)
(cherry picked from commit d0f51def1a)
2024-01-26 22:05:11 +01:00
metalgearsloth e83344932e
Fix salvage magnet determinism (#23655)
Machine-specific moment, you'd think I'd remember from expeditions.

(cherry picked from commit fb24f9accf)
2024-01-26 22:05:09 +01:00
metalgearsloth df5c7a68b1
Fix master (#23656)
Proximity didn't pass CI.

(cherry picked from commit fed15b0330)
2024-01-26 22:05:08 +01:00
Simon 3259264602
Game server api (#23129)
* Stuff

* Fix RoundStatus Action

* Rename stuff

* Also needs to run on the main thread

* minor stuff

* Move to not be an EntitySystem

* Part 1 of making this less shit

* Make some more stuff run on main thread

* Actor check, logging and remove token from log.

* Better log

* Change ActionKick to use Guid instead of username

* Fix build

* Bandaid fix for test fails

(cherry picked from commit dfc8ea6aee)
2024-01-26 22:04:36 +01:00
Trevor Day bf70e24d5b
Update dice state handling (#23643)
* Auto generate dice component state handling, and update data field annotations

* Missed one.

(cherry picked from commit 39e59cb77f)
2024-01-26 22:04:22 +01:00
Jezithyr 09a489ecd3
Fixing performance issue with Proximity Detector (#23557)
* fixing access levels and removed strings from data defs

* Fixing proximity detector performance

- Re-added component filtering for the close entity search.
- Changed criteria functionality to only allow for searching for entities with all specified comps (matching any would be too unperformant)

(cherry picked from commit 3261962f8c)
2024-01-26 22:03:45 +01:00
deathride58 e7f53d8578
Limits the minimum base skin color brightness for species with Hue coloration (#23605)
adds a minimum skin tone for hue skin colors

(cherry picked from commit 43d1be51fb)
2024-01-26 21:51:32 +01:00
Ed dee31da6a4
Barber scissors fix (#22895)
* barber!

* 5% change to maintenance

* some fixes

* refactor some

* ElectroJR fix merge

* aoa

* remvoe humanoid

* Magic mirror cleanup

* Cleanup

* Bunch more fixes

* Fix nohair + range bugs

* Fixes

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit f0097d4963)
2024-01-26 21:50:20 +01:00