Commit Graph

7104 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
Magnus Larsen af095b6cb5
Remove bad Dirty call introduced by PR #20778 (#24076)
The HealOnBuckleHealingComponent is not in Shared/Client code, need not
be networked, and cannot be dirty.

(cherry picked from commit 29acc5e945)
2024-01-26 22:50:08 +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
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
Pieter-Jan Briers 56fb80ad34
BUI bugfixes / improvements (#23881)
* Fix ActivatableUIRequiresPowerCellComponent stopping power draw when one of two people closes the UI.

Also fixes it to check UiKey properly.

* Remove unnecessary CrewManifestViewer on PDAs

This is for a pop-up crew manifest UI, which the PDA doesn't use.

* Fix BoundUIClosedEvents that didn't check UI key/not correctly at least.

Uses the new helper method in engine.

* Fix drone (cargo shuttle) pilot console UI breaking if two people open it and one person closes it.

* Fixes for disposal router/tagger UI.

Code was badly copy pasted without changing identifiers, never worked.

Also cleaned up some of the logic (text trimming, sounds).

Also removed the "refuse to work if you have something in your active hand" check like why.

* Avoid running most ActivatableUIComponent logic when closing a UI via toggle

Activating the UI while it's already open closes it via toggle. Except it still ran 99% of the "attempting to open" logic which makes no sense.

This probably fixes a bug or some other dumb behavior somewhere.

* Bitch

(cherry picked from commit 123a4147de)
2024-01-26 22:38:21 +01:00
metalgearsloth a36f876422
Teleport fixes (#24064)
- Teleport to physics center not transform center.
- Fix NetEntity not being passed in.

(cherry picked from commit db175fd9ba)
2024-01-26 22:37:57 +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
Trevor Day 90c75efd9a
Add admin logs for thermomachines (#24056)
(cherry picked from commit 7a84f9e203)
2024-01-26 22:37:18 +01:00
deltanedas 0c4fd5785d
better deconversion (#23315)
* add deconverted window

* show deconverted window when deconverting + remove the role

* webedit ops

* antagonist -> revolutionary

* evil

* oh

* eui ops

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit a558b112a1)
2024-01-26 22:37:15 +01:00
lzk 34481158d3
Remove archaic accent (#24052)
(cherry picked from commit e47e359108)
2024-01-26 22:36:50 +01:00
Pieter-Jan Briers 17a6afb40b
Desk bells can be rung with activate (#24047)
* Desk bells can be rung with activate

Important

* Remove obsoletions too while I'm at it.

(cherry picked from commit f191c90999)
2024-01-26 22:36:39 +01:00
Tayrtahn 7ff87f4feb
Fix vending machine thank you flag timing (#24049)
Fix thank you flag timing

(cherry picked from commit 055d62f560)
2024-01-26 22:36:38 +01:00
degradka e449d0787d
Add a check for item size in the microwave system (#24026)
* Add a check for item size in the microwave system

* DataField suggestion

* Merge TryComp with HasComp

* Add datafield changeability for admins

(cherry picked from commit 562d7b4b82)
2024-01-26 22:36:24 +01:00
Ilya246 6df985f9d3
Fix oxyburn energy not accounting for heatscale (#24023)
(cherry picked from commit bd27b53ff0)
2024-01-26 22:35:48 +01:00
Arendian 57b4a41d60
Fix emergency flare not igniting through verb menu. (#24027)
Emergency flare ignites when activated through verb menu

(cherry picked from commit 98f0814c2b)
2024-01-26 22:35:14 +01:00
{Koks} a8cfadebee
Fixed shuttle movements on some systems (#24008)
* Vector2.Dot copied from system library

* Slightly clearer workaround

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
(cherry picked from commit cb6aafc8b5)
2024-01-26 22:35:11 +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 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
themias 5467965041
Limit hydraulic clamps to one DoAfter at a time (#23982)
Limit Ripleys to one DoAfter at a time

(cherry picked from commit f8f5524fd5)
2024-01-26 22:33:42 +01:00
deathride58 16faa3cf64
Fixes construction graphs proccing while being microwaved (#23835)
* Fixes construction graphs proccing while being microwaved

* git those indents in line

* We knew we were missing something!

(cherry picked from commit f5c40c3623)
2024-01-26 22:33:40 +01:00
GreyMario 9e4fb570bc
Pie tins returned from all pies in all situations, add lathe recipes for pie tin and some other basic kitchenwares (#23217)
* move pietin trash to FoodPieBase so all pies return their pie tin when eaten

* spawn trash from a SliceableFood if the Food has a trash

* add a limited selection of additional tablewares to the autolathe

* kitchenware material adjustments

* fix crash when slice pie in hand/inventory

* use system helpers + slices now go in parent container

(cherry picked from commit 1c3c596bae)
2024-01-26 22:33:39 +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 46f40662bb
Stop the inevitability of death from misgendering you (#23949)
Fix rotting messages and make them use pronouns

(cherry picked from commit 0126b9820d)
2024-01-26 22:27:36 +01:00
themias fde8491664
Fix clumsy defib debug assert (#23930)
* Fix clumsy defib debug assert

* don't need to specify null

(cherry picked from commit 25c477a642)
2024-01-26 22:27:16 +01:00
Trevor Day 2dbbd97720
Bluespace Anomaly Admin Logs (#23942)
Add bluespace anomaly teleportation logs.

(cherry picked from commit cc823e24e9)
2024-01-26 22:27:15 +01:00
metalgearsloth 2cd742f750
Split cargo shuttle to its own component (#23926)
* Split cargo shuttle to its own component

If mappers want 1 morbillion of them this is easier to manage.

* balls

(cherry picked from commit 55a60b0fca)
2024-01-26 22:27:13 +01:00
mr-bo-jangles 7075f5c37d
Optimise the puddle system to reach an equilibrium quickly. (#23776)
* Optimise the puddle system to reach an equilibrium quickly.

* Remove use of Linq
Try to be more efficient with Tuples

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 064d52db41)
2024-01-26 22:27:12 +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
metalgearsloth ef62280bf8
Only hide ruins labels (#23925)
(cherry picked from commit 801f141c6a)
2024-01-26 22:27:09 +01:00
Nemanja 9890ea542c
machine parts + power cell resprite (#23913)
* machine parts + power cell resprite

* logic fix

(cherry picked from commit b3014e6cb3)
2024-01-26 22:26:40 +01:00
metalgearsloth c720d5fd77
Throttle MagicMirror do_afters (#23867)
Doesn't fix the gross network spam but that's for later.

(cherry picked from commit 34d2330604)
2024-01-26 22:26:30 +01:00
nikthechampiongr 8b414701ca
Fix tranquiliser shells not working (#23886)
* Fix tranquiliser darts not working

Fixes a bug introduced by 9f47079d02 which
was made to stop the fly-by fixture from triggering the system. This was
done by checking whether the fixture was hard. Apparently the
projectile's fixture is never hard as well. The change just makes it so
that check only succeeds when the fixture is a fly-by fixture.

* Remove something that I think is redundant

* Remove random using directive that somehow appeared.

* Address Review

* Adress Review 2

* Put the appropriate fixture ids

(cherry picked from commit ef132c8a7b)
2024-01-26 22:26:12 +01:00
nikthechampiongr 98e9d86840
Aghosts and other powerful beings no longer burn their hands on lights. (#23879)
Make aghosts and other things that can't take burn damage not burn their
hand when changing lightbolbs

(cherry picked from commit 7aee192d52)
2024-01-26 22:25:50 +01:00
metalgearsloth 73a7c2affc
Fix ruins being added to station grid (#23865)
(cherry picked from commit a46f6f3f85)
2024-01-26 22:25:34 +01:00
Guillaume E 75e6237060
Show how close bodies are to rotting (#23530)
* Show how close bodies are to rotting

When examining a dead body, you will be able to see of close
it is to rotting.

 - "It still looks fresh.", in the first third of the pre-rot period
 - "It looks ripe.", in the second third
 - "It's starting to look bad.", in the last third

This could help players prioritize medical care.

* Alter the wording of the pre-rot indicator

* Use numeric rotting stages in FTL

---------

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
(cherry picked from commit af7327e59f)
2024-01-26 22:25:32 +01:00
metalgearsloth 2cb342bb80
Hide ruins spawns (#23857)
* Hide ruins spawns

* Update count

* Add naming

(cherry picked from commit b30afb357c)
2024-01-26 22:23:23 +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
Emisse d245390612
ruins (#23767)
* ruins

* code-side

* round-robin instead

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 59e989a810)
2024-01-26 22:21:42 +01:00
Tayrtahn 95f71103e8
Fix fatal error when closing vending machine wire UI (#23815)
That's a whoops on my part

(cherry picked from commit be118013a9)
2024-01-26 22:21:18 +01:00
themias a626bb6754
fix mice eating (#23801)
* fix mice eating

* actually just ignore utensils

(cherry picked from commit 3fb0bd9d4b)
2024-01-26 22:19:31 +01:00
DrSmugleaf bf936c7a88
Fix TrashOnSolutionEmptySystem modifying uninitialized entities (#23798)
(cherry picked from commit 2fe861e87d)
2024-01-26 22:19:27 +01:00
metalgearsloth 4c7ca09c9b
Biome marker layer tweaks (#23663)
* Biome marker layer tweaks

- Ensure veins get spawned at great perf cost (it's time-sliced anyway).
- Bump asteroids from 6 nodes to 10 nodes.

* Fixes

* magnet

* Magnet dictates wreck spawn

* Update Content.Shared/Procedural/PostGeneration/BiomeMarkerLayerPostGen.cs

* mraow

(cherry picked from commit d7eb7b700c)
2024-01-26 22:19:17 +01:00
GreyMario 22ea3e1656
Checking for used utensils actually happens now (#23766)
checking for utensils actually happens now

(cherry picked from commit f2647ac8d4)
2024-01-26 22:16:35 +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
ike709 fcebd56e8e
Appraisal tools check for cargo bounty completion (#23760)
Co-authored-by: ike709 <ike709@github.com>
(cherry picked from commit b8e8e6141a)
2024-01-26 22:15:02 +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