Commit Graph

3705 Commits

Author SHA1 Message Date
Nemanja 59b820aeff
make lathe visuals not required (#24757)
(cherry picked from commit bd46d7cc8a)
2024-02-08 12:02:20 +01:00
Kara 609b0b7421
Throwing item scaling animation + recoil (#24724)
(cherry picked from commit ef55039560)
2024-02-08 11:57:27 +01:00
Tayrtahn c9a22474bc
Fix welder status always being "not lit" (#24705)
* Fix not finding ItemToggleComponent

* Simplified

(cherry picked from commit e101d078fe)
2024-02-08 11:56:57 +01:00
SpeltIncorrectyl e390fd34bf
Adds signal control to portable generators (#24157)
* added signal control to portable generators

* added documentation

* Discard changes to Content.Server/Radio/EntitySystems/HeadsetSystem.cs

* added DeviceNetworkComponent and WirelessNetworkConnectionComponent to generator prototype

* made GeneratorSignalControlComponent nicer

* implemented auto-revving

* added back necessary dependency

* can't send do-after event manually

* repeat now works with auto revving

* fixed

* removed vv

* stopping generating when it is revving now makes it stop revving

* Update Content.Shared/Power/Generator/ActiveGeneratorRevvingComponent.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* used resolve instead of TryComp

---------

Co-authored-by: Julian Giebel <juliangiebel@live.de>
Co-authored-by: Kara <lunarautomaton6@gmail.com>
(cherry picked from commit 5d2ddc0d8b)
2024-02-08 11:56:22 +01:00
Julian Giebel d805b82848
Implement basic emoji support (#24039)
* Implement basic font support

Add NotoEmoji font
Add emoji font to default font stacks

* Remove unneded change

* L

* Remove emoji font from default font stacks

(cherry picked from commit 94b43423b4)
2024-02-08 11:55:27 +01:00
themias cd03dbac2b
Add inhand fill visuals (#24495)
* Add inhand fill visuals

* oops

* remove unused import

(cherry picked from commit bd100344a2)
2024-02-08 11:54:38 +01:00
Krunklehorn 9b50c87557
Health analyzers and cryopods also show temperature in Kelvin (#24643)
Health analyzers and cryopods also show temperature in kelvin

(cherry picked from commit f9c43567ea)
2024-02-08 11:52:36 +01:00
DrSmugleaf 5329280378
Add events for GunComponent values, muzzle flashes and cartridge spread (#24077)
* Add a modifier event for GunComponent values

* Add docs

* Add VV readwrite to modified values

* Add more docs

* More docs

* Add Gun parameter to GunRefreshModifiersEvent

* Add another event for handling cartridge spread

* Fix pneumatic speed

(cherry picked from commit 4e8b1fb0d3)
2024-02-08 11:52:29 +01:00
Kara 169a7cae2b
Powered light sprite glows with color of their pointlight (#24612)
(cherry picked from commit 4ab69709fe)
2024-01-28 00:33:54 +01:00
avery 1075c2e999
Hallway textscreens (#24189)
* hallway screen refactor pending comms console support

* comms console broadcasts

* screen and timer localization

(cherry picked from commit 7e16ee0b55)
2024-01-28 00:33:40 +01:00
Kara fca53c48d2
Default navmap to show departments (#24613)
(cherry picked from commit 34eb691448)
2024-01-28 00:33:35 +01:00
Guillaume E 1e519836da
Keep reagent dispenser inventory ordered (#24304)
* Keep reagent dispenser inventory ordered

This way, reagents wont be "moving around" in the UI when juggling
jugs.

The reagent dispensers will also show what reagents their storage
slots contain if jugs are not labelled.

* Move sorting client-side

* Revert "Keep reagent dispenser inventory ordered"

This reverts commit 3a1fc2e36d593937d4ecc581ae5a617a273a9d1c.

(cherry picked from commit 4ee7349514)
2024-01-28 00:33:34 +01:00
Pieter-Jan Briers 942563e582
Make PACMANs a little better (#24604)
* PACMAN generators show network load/supply.

This gives more feedback to players that their PACMAN is properly connected and what the network status is (i.e. you don't have enough generators).

* Buff JRPACMAN to 8 kW.

Shifted all power values up by +3 kW.

They're frequently too weak to power even single rooms so they deserve a buff.

* Change unit format helpers number format.

Always displays one digit of precision. This avoids jumping around when a value is changing live.

(cherry picked from commit f855cb2b00)
2024-01-28 00:32:20 +01:00
Nemanja fea640584d
make newchat box more opaque (#24555)
(cherry picked from commit 6605b7ba50)
2024-01-28 00:27:31 +01:00
Tayrtahn 4d5b3ba435
Holding the walk button no longer activates sprite movement state (#24455)
* Dancing is forbidden

* Suggested changes

(cherry picked from commit c1fd42202f)
2024-01-27 23:51:45 +01:00
themias a345a5a613
Fix bolt lights on open airlock (#24414)
(cherry picked from commit 79624b8c60)
2024-01-27 23:43:01 +01:00
metalgearsloth 95f72fdc1b
Fix dock highlighting (#24369)
Nentity casualty

(cherry picked from commit 6ae64929ba)
2024-01-27 23:40:30 +01:00
metalgearsloth 69d6935846
Bunch of revolver fixes (#19649)
* Bunch of revolver fixes

Some stuff wasn't working with prediction so this should fix all of it.

* a

* fix weh

* Also usedelay

(cherry picked from commit 9bb2781bfc)
2024-01-27 23:40:28 +01:00
Kot 937989ca35
Add chat.max_announcement_length cvar (#23571)
* Add announce message length to UI and make a cvar for it

* Update comm console server-side trim to use the cvar

* Rely on the new OnTextChanged event

Because OnKeyBindUp only works for keys that have binds

* Add a similar indicator to nukies' war declaration UI

* Remove message length indicators for now cuz it requires the engine update

* Rename cvar slightly

* Refactor duplicated code to a helper method

* Remove message trimming from *Window class as it's better to live in the BoundUserInterface where the other message handling happens

* Rename to chat.max_announcement_length

(cherry picked from commit 8c5898b006)
2024-01-27 23:40:23 +01:00
metalgearsloth 2c40401765
Make radarcontrol use approx grids (#24360)
(cherry picked from commit fda8035a5e)
2024-01-27 23:36:15 +01:00
Kot f82d17ab3b
Fix issue where round could reset all job priorities to high (#24340)
* Update job priorities when job requirements are getting updated

* Sort jobs by weight and then by the name

* Sort departments too

(cherry picked from commit 4f307a49be)
2024-01-27 23:35:53 +01:00
metalgearsloth 3254acd8e7
Fix some test warnings (#24324)
Extracted from smug's pr.

(cherry picked from commit 4a13dbea76)
2024-01-26 23:16:18 +01:00
metalgearsloth d14497fcd7
Cargo fixes (#24318)
Wrong button.

(cherry picked from commit 87f324b648)
2024-01-26 23:14:03 +01:00
Nemanja 47d24fc3e5
Fix cargo product groups (#24212)
(cherry picked from commit 21e77dffb0)
2024-01-26 23:13:54 +01:00
Hannah Giovanna Dawson 0ce2cb5b29
Fixes round restart audio clipping (#24044)
* Fix round end audio clipping

* weh

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 5af1d0ea8b)
2024-01-26 23:13:43 +01:00
Nemanja 40f7e0b53e
Lathe Categories (#24247)
* Lathe Categories

* serilog my beloathed

(cherry picked from commit 73e94dfa92)
2024-01-26 23:12:38 +01:00
iacore 2cd501fc6f
Change the station map dot color to cyan (#24082)
Change the station map tracking dot color to cyan

Co-authored-by: iacore <noreply+gpg-stub@1a-insec.net>
(cherry picked from commit c35b9964c7)
2024-01-26 23:07:49 +01:00
Kevin Zheng 1ab0ed77f6
Wrap objective briefing text (#24244)
(cherry picked from commit 0d53dad58a)
2024-01-26 23:05:38 +01:00
Kot efcaea8153
Fix entity menu grouping and sorting (#24243)
* Group entity menu by the displayed name instead of by the prototype

* Sort entity menu by the displayed name (with label) in current culture

(cherry picked from commit 9b97c7f2f2)
2024-01-26 23:05:35 +01:00
Kevin Zheng 9cc361921b
Add limited-reagent dispensers (#23907)
* Add limited-reagent dispensers

* Add empty versions for all dispensers

* Fix lint

* Set initial window size so all buttons are visible

* Simplify logic, add parenthesis

* Use localized name for initial labels

* Adjust button style

* Avoid touching items before MapInit

* Remove pre-labeling

* Reduce diff

* Clean up YAML

* Fix test

* Really fix test

* Document

* Adjust based on review

* Add labels for obnoxiously long bottles

---------

Co-authored-by: AWF <you@example.com>
(cherry picked from commit 9394a26245)
2024-01-26 23:03:30 +01:00
Kara e1c1bbab39
Reagent grinder jittering (#24190)
* Reagent grinder jittering

* Fix jittering for offset sprites

(cherry picked from commit 1f92376579)
2024-01-26 23:01:11 +01:00
DrSmugleaf 85352289aa
Move rotting stages and examine to shared (#24183)
(cherry picked from commit 8902701271)
2024-01-26 23:01:03 +01:00
LankLTE ab5cc6b25e
Follow command and ahelp menu follow (#24142)
* Command & ahelp rename

* Reviews

* remove tpto

(cherry picked from commit 44abe3e54d)
2024-01-26 22:58:09 +01:00
Kot 4ef6d936e5
Fix DragDropHelper not respecting the control.drag_dead_zone cvar (#24166)
Fix regression with the drag_dead_zone cvar not being used

(cherry picked from commit ef70629702)
2024-01-26 22:56:51 +01:00
Nemanja c5658249cb
fix medhud bounds with 64x64 inhands (#24102)
(cherry picked from commit be8d0e69b6)
2024-01-26 22:51:49 +01:00
Nemanja e624317d37
Cryogenic Sleep Units (#24096)
* Cryogenic sleep units

* pause map support

* no more body deletion

* Cryogenic Storage Units

* boowomp

* no more emag, no more dropping present people

(cherry picked from commit 736b9dd7df)
2024-01-26 22:51:41 +01:00
Psychpsyo e439d50479
Plates & Cash gridinv visuals (#24075)
(cherry picked from commit a747e6dda4)
2024-01-26 22:50:12 +01:00
Kot df3e231c16
Fix admins unable to hide the coordinates debug monitor (#24084)
Allow admins to hide the coords monitor

(cherry picked from commit 620074ab0a)
2024-01-26 22:50:09 +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
Errant a468bba629
Navmap UI enhancements (#23777)
* label scaling wip

* beacon toggle, cleanup

* weh

* caw

* Smooth scaling, almost-selectable font size, Magnification count, zoom scale accuracy change, opacity

* never asked for individual font sizes

* zoom

* format

* Fixes CrewMonitor and PowerMonitor using the default tile color as text background instead of their custom tile colors

* font customisation, needs UI elements

* Station map rightclick now works

* UI scale will keep the local systems in line

* adjusting font size to UI scale

* typo

* fix RT version

* putting cache back in its place

* toggle labels moved to Examine

(cherry picked from commit 40db236b82)
2024-01-26 22:37:34 +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
DrSmugleaf c0edcf330c
Fix error when switching to a screen without an inventory gui widget (#24059)
(cherry picked from commit 6a7f1b2f1f)
2024-01-26 22:37:14 +01:00
Pieter-Jan Briers 7d019f0418
Quick dialog fixes (#24046)
Pressing "enter" on the last dialog box now confirms the dialog.

Localize.

(cherry picked from commit 8416fc746b)
2024-01-26 22:37:12 +01:00
Errant 4a80cc086f
Station Map window edges (#24024)
(cherry picked from commit bda89918ff)
2024-01-26 22:35:12 +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
themias fbb8e5e61e
Fix mass-media console (#23994)
(cherry picked from commit 023d541063)
2024-01-26 22:33:48 +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
Crotalus 43de08bff3
Added search bar to warp points (#23978)
(cherry picked from commit 668d0eca22)
2024-01-26 22:33:43 +01:00
metalgearsloth 42643e8b94
NewsSystem fixes (#23969)
(cherry picked from commit abc5094a16)
2024-01-26 22:33:17 +01:00
Pieter-Jan Briers 973d06aea5
Use item status extension method (#23884)
Just removes some lines of code.

(cherry picked from commit e665c2487e)
2024-01-26 22:30:27 +01:00