Commit Graph

5932 Commits

Author SHA1 Message Date
Alex Evgrashin
2cb35fab3c Fix light replacer and move it to ECS (#5053)
* Fixed broken replacer prototype

* Light replacer ECS
2021-10-28 13:36:09 +11:00
Visne
a23a182946 MicrowaveMenu to XAML UI (#4988)
* Rename and create files

* MicrowaveMenu to XAML UI

* Improve code 😪

* Restart tests

* Restart tests

* Remove unused imports

* Remove duplicate localization string, set MinWidth so string fits

* Improve code and localization

* Update Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2021-10-27 14:59:53 -07:00
Flipp Syder
e29e058f8c Restores missing pronouns. Oops! (#5051) 2021-10-27 20:50:12 +02:00
Visne
c67160ae19 Disable warnings that would be refactored anyway (#5047) 2021-10-27 18:10:40 +02:00
PJBot
bd4ab219e3 Automatic changelog update 2021-10-27 11:45:33 -04:00
20kdc
bf48a42b6f Give the Engi-Vend insulated gloves (only one machine in engineering) (#5049)
This is because engineers end up not having enough insulated gloves to go around.
Kinda bad.
2021-10-27 17:44:31 +02:00
PJBot
16618fa186 Automatic changelog update 2021-10-27 06:55:16 -04:00
Julian Giebel
5b74811f28 Add high pressure machine frame rsi (#4950)
Implement Disposal machine construction graph and recepie
Restore eris disposal unit

Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-27 21:54:12 +11:00
metalgearsloth
a12eb29464 Convert sus events to eventbus (#5044) 2021-10-27 10:53:10 +02:00
metalgearsloth
3b508b041b Remove some unused fields again-ing 2021-10-27 19:43:57 +11:00
PJBot
3833389481 Automatic changelog update 2021-10-27 04:33:09 -04:00
20kdc
687427d324 Lower Saltern generator power to balance things out (#4749)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-27 10:32:06 +02:00
PJBot
ee05f64b4c Automatic changelog update 2021-10-27 04:28:28 -04:00
Pieter-Jan Briers
3e46b5f7b7 Update submodule 2021-10-27 10:27:31 +02:00
metalgearsloth
f320c6dd8f Fix storage closing bounds on rotated grids (#5033) 2021-10-27 10:27:25 +02:00
Ygg01
14b401f9b3 Puddle refactor 2: Spillastic boogaloo (#4784)
* Refactor PuddleComponent

* Move puddle effects into separate RSIs

Basically egg/tomato/powder puddle will be moved into separate
/Textures/Fluids RSIs

* Fix YAML for puddles

* Fix issues sloth pointed out.

* Ensure Puddle Component are properly added when spawned

* Remove unnecessary method init puddle with starting maxVolume

* Addressed ElectroSr comments

* Add Resolves

* Try fix error in ensureSolution

* Puddle unanchoring

* Address some issues with puddles

* Fix continue -> return
2021-10-27 19:24:18 +11:00
Ygg01
03b1fed47d Change ChemMaster 4000 UI to use XAML UI (#5025) 2021-10-27 09:22:02 +02:00
PJBot
0862e5ae5a Automatic changelog update 2021-10-27 03:13:40 -04:00
Saphire Lattice
0da8a5b9d0 Fix trashbags picking up atmos entities that are anchored (#5035) 2021-10-27 18:12:36 +11:00
Visne
ae2f9fb83a CrayonWindow to XAML UI (#4987)
* Create and rename files

* CrayonWindow to XAML
2021-10-26 20:35:46 -07:00
PJBot
4bef8d3dde Automatic changelog update 2021-10-26 21:32:25 -04:00
ShadowCommander
3d0881cefd Fix speech bubble (#5042)
* Fix speech bubble position when eye rotated

* Fix speech bubble size jitter when floating up
2021-10-27 12:31:22 +11:00
PJBot
acf5f178e5 Automatic changelog update 2021-10-26 21:24:46 -04:00
Alex Evgrashin
6e00104260 Powered light ECS (#5028)
* Brrrr ECS

* Create lit on powered system

* Light bulb ECS

* Finishing porting to ECS

* Minor touches

* Removed events

* Removed old comments

* Fixed test

* To popup system
2021-10-27 12:24:22 +11:00
20kdc
60b3ff59cf Fix morgue rotation by using more EntityCoordinates (#5041) 2021-10-27 12:23:44 +11:00
PJBot
fadb5818f6 Automatic changelog update 2021-10-26 19:30:17 -04:00
Vera Aguilera Puerto
d2ffabdfd4 Fix ChangeEntity collection modified exception. 2021-10-27 01:29:10 +02:00
PJBot
5e68020ada Automatic changelog update 2021-10-26 10:39:06 -04:00
Vera Aguilera Puerto
189a5c7847 ConstructionGL2 Part 1: ECSification, events and steps. (#5017)
- Completely rewrited the `ConstructionComponent` logic to be ECS, *without* looking too much at the original implementation.
    - The original implementation was dirty and unmaintainable, whereas this new implementation is much cleaner, well-organized and maintainable. I've made sure to leave many comments around, explaining what everything does.
- Construction now has a framework for handling events other than `InteractUsing`.
    - This means that you can now have CGL steps for things other than inserting items, using tools...
- Construction no longer uses `async` everywhere for `DoAfter`s. Instead it uses events.
- Construction event handling occurs in the `ConstructionSystem` update tick, instead of on event handlers.
    - This ensures we can delete/modify entities without worrying about "collection modified while enumerating" exceptions.
    - This also means the construction update tick is where all the fun happens, meaning it'll show up on our metrics and give us an idea of how expensive it is/how much tick time is spent in construction.
- `IGraphCondition` and `IGraphAction` have been refactored to take in `EntityUid`, `IEntityManager`, and to not be async.
- Removes nested steps, as they made maintainability significantly worse, and nothing used them yet.
- This fixes #4892 and fixes #4857

Please note, this leaves many things unchanged, as my idea is to split this into multiple PRs. Some unchanged things:
- Initial construction code is the same. In the future, it'll probably use dummy entities.
- Client-side guided steps are the same. In the future, the server will generate the guided steps and send them to clients as needed, caching these in both the server and client to save cycles and bandwidth.
- No new construction graph steps... Yet! 👀
2021-10-26 16:38:03 +02:00
PJBot
d70470b99b Automatic changelog update 2021-10-26 10:19:46 -04:00
metalgearsloth
27b50c9485 Sort construction graph recipes alphabetically (#5039) 2021-10-26 16:18:43 +02:00
PJBot
2fcb56f9be Automatic changelog update 2021-10-26 10:16:05 -04:00
metalgearsloth
c98d6fbc56 Add test for construction start and target nodes (#5037)
* Add test for construction start and target nodes

* Adjust names

* Adjust message slightly

* Also add path test
2021-10-26 16:15:26 +02:00
20kdc
632a4bcd95 Apc and light construction partial fix (#5030)
* Fix APC placement type

* Fix wall tags.

* Change wall light placement to match how it actually is now

* Change spawn-entity wall light snap mode

Separate commit so it can be nixed out for JREV

* Default switch placement mode to SnapgridCenter
2021-10-26 16:15:02 +02:00
metalgearsloth
9c3a603e7e Use ActionBlockerSystem as a dependency on CGSystem 2021-10-27 01:07:19 +11:00
Julian Giebel
d1a830cd74 Fix ApcPowerReceiverComponent deletion (#5031)
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-25 21:55:00 +02:00
PJBot
3bbe8f7652 Automatic changelog update 2021-10-25 10:59:19 -04:00
20kdc
c29b23eb64 Fix ChemMaster bottles not having contents (#5026) 2021-10-25 16:58:16 +02:00
PJBot
5fc101307d Automatic changelog update 2021-10-25 10:58:04 -04:00
Vera Aguilera Puerto
cb2309b094 Add insulated gloves to saltern and a few closets/vending machines. 2021-10-25 16:56:54 +02:00
PJBot
35d0a7539d Automatic changelog update 2021-10-25 10:37:07 -04:00
ike709
ec92f4eef2 Adds stack splitting (#4981)
* Adds stack splitting

* Apply suggestions from code review

Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-10-25 16:36:04 +02:00
moonheart08
debd22e19c Add select (#5003) 2021-10-25 16:23:44 +02:00
PJBot
17e0362e06 Automatic changelog update 2021-10-25 10:22:59 -04:00
Vera Aguilera Puerto
ed3bf94a3b Electrocution. (#4958)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2021-10-25 16:21:56 +02:00
PJBot
66a3d5bf29 Automatic changelog update 2021-10-25 10:15:24 -04:00
20kdc
7f4c9327e2 Fix construction to some extent on rotated grids (#5024)
* Fix things to some extent on rotated grids

* Use Box2Rotated overload of IEntityLookup in GetEntitiesInTile
2021-10-25 16:14:21 +02:00
Vera Aguilera Puerto
2f315c5576 Update submodule. 2021-10-25 16:12:09 +02:00
Leon Friedrich
6e84e23ba1 Remove some functions from HandsComponent (#4937)
* remove wrapper functions

* Remove InteractionSystem wrapper functions

* remove two more functions

* add missing `using`

* clean diff
2021-10-25 18:06:12 +11:00
StStevens
e621a82e65 Fire extinguisher safety (#4912)
* Moved safety into FireExtinguisherComponent.

* Fix errant find and replace

* Address reviews

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-25 18:04:24 +11:00