Commit Graph
174 Commits
Author SHA1 Message Date
Pieter-Jan Briersand0x6273 68ce53ae17 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>
2024-02-13 16:48:39 -05:00
metalgearsloth 042feae2e9 Predicted movement opening lockers (#24937)
Relay wasn't really networked properly and this annoys me.

EntityStorage is still pretty skrunkly but this fixes the main issue I think.
2024-02-04 13:23:16 +11:00
Nemanja 724312bdf5 fix storage open sounds playing when they shouldn't (#24752) 2024-01-30 16:20:00 -07:00
themias a304e8eda2 Fix notice board storage fill visuals (#24569) 2024-01-25 18:03:01 -07:00
Errant 2737c80169 Suffocation alerts for nitrogen breathers (#24373)
* Respiratorsystem namespace

* WIP gas alert update, does not work

* Finally
2024-01-23 15:17:40 -05:00
Pieter-Jan Briers 123a4147de 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
2024-01-14 18:18:39 +11:00
AJCM-git 9c522c8b19 UseDelay + ItemCooldown merge (#22502) 2024-01-03 21:33:09 -04:00
TemporalOroboros 7a77d6d5dd Content ecs containers (#22484) 2023-12-28 01:30:03 -04:00
deltanedasanddeltanedas e85ca6a4f6 make syndie bag and rigs explosion resistant (#22088)
* remove empty file real

* support explosion resistance for non-worn things

* remove redundant entitystorage resistance

* port entitystorage optimisation to apply for everything with 100% resistance

* add explosion resistance for bag contents

* make thing reusable

* add resistance to chest rig too

* medical chest rig too

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-12-11 02:43:00 -07:00
Nemanja 736300d505 keybinds for opening bag/belt & context logic for opening storage window (#22238)
* keybinds for opening bag/belt & context logic for opening storage window

* no error por favor
2023-12-08 12:43:37 -06:00
Nemanja cc8984d096 Grid Inventory (#21931)
* Grid Inventory

* oh boy we keep cracking on

* auto insertion is kinda working? gross, too!

* pieces and proper layouts

* fix the sprites

* mousing over grid pieces... finally

* dragging deez nuts all over the screen

* eek!

* dragging is 90% less horrendous

* auto-rotating

* flatten

* Rotation at last

* fix rotation and change keybind for removing items.

* rebinding and keybinding

* wow! look at that! configurable with a button! cool!

* dragging is a bit cooler, eh?

* hover insert, my beloved

* add some grids for storage, fix 1x1 storages, fix multiple inputs at once

* el navigation

* oh yeah some stuff i forgor

* more fixes and QOL stuff

* the griddening

* the last of it (yippee)

* sloth review :)
2023-12-04 16:04:39 -07:00
metalgearslothandPieter-Jan Briers 269c93245d Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
deltanedas f25773ffec explosion minor rework + fix (#21718) 2023-11-20 04:44:42 +11:00
Leon Friedrich eb0c86f803 Storage CanInsert() tweaks (#21623) 2023-11-13 23:43:03 +11:00
Nemanja 4729024d3e Convert ItemSize to prototypes (#21481)
* item sizes are prototypes

* eek
2023-11-06 00:20:50 -07:00
Nemanja 0c329ed661 Storage Standardization [Take 2] (#21270) 2023-10-30 20:55:55 -07:00
metalgearsloth 5b8f3c48c4 Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth 9b1b3e03ed Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon Friedrich e685cb626b Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
metalgearsloth c08349a947 Revert "Storage TEST MERGE" (#21258) 2023-10-26 00:46:22 -07:00
Nemanja 41795720da [TEST MERGE] Slot-based Storage (#21212) 2023-10-25 18:53:38 -04:00
metalgearsloth a2bbda43cc Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich 7ba0ea2926 IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
DrSmugleaf f560f88eb5 Remove 700 usages of Component.Owner (#21100) 2023-10-19 12:34:31 -07:00
Leon Friedrich 00e274ea38 Add new entity spawn test & fix misc bugs (#19953) 2023-10-16 16:54:10 +11:00
Nemanja 90605212fc caninsert entitystorage tweaks (#20589) 2023-09-28 22:55:29 -05:00
metalgearsloth 7064f262b4 Add ore bag area pickups (#19358) 2023-09-12 22:34:04 +10:00
metalgearsloth d5bd1c6f86 Predict StorageComponent (#19682) 2023-09-11 21:20:46 +10:00
metalgearsloth 5a0fc68be2 Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
metalgearsloth db1ff07821 Weldable cleanup (#19809) 2023-09-05 00:07:01 +10:00
Nemanja f5d961e7be Fix foldables (#19717) 2023-09-01 12:30:40 +10:00
metalgearsloth ef5a4ec306 More ent storage ref (#19693) 2023-08-31 22:29:11 +10:00
metalgearsloth 609bf63893 Remove entity storage compref (#19557) 2023-08-31 18:32:03 +10:00
DrSmugleaf 3f3ba6ac62 Move minds, roles, jobs and objectives to shared (#19679) 2023-08-30 21:46:11 -07:00
Kevin Zheng ccd0e8b7c4 Support number of uses starting at zero (#19452)
This allows peelable bananas without replicating the entire YAML
structure to remove this one component.
2023-08-26 09:29:15 -07:00
metalgearsloth 0b542098db Remove ghost compref (#19478) 2023-08-25 18:50:46 +10:00
Leon Friedrich 9b478a9f22 Fix tooltips for non-disabled verbs (#19009) 2023-08-11 23:18:22 -07:00
metalgearsloth fcf01cc6ef Trashbag stuff (#18096) 2023-07-18 21:44:00 +10:00
TemporalOroboros 3ac4cf85db Cleaner BoundUserInterfaces (#17736) 2023-07-09 02:02:17 +10:00
metalgearsloth 3eb93988e5 Disposals refactor (#17803) 2023-07-06 13:39:34 +10:00
Nemanja 6fb7879041 Stack storage fixes (#17651) 2023-06-27 20:30:03 -04:00
ShadowCommander dd7032a860 Mind ECS (#16826) 2023-06-19 04:33:19 +10:00
Pieter-Jan Briers ee784ac17c Use THE() for SecretStash (#17049) 2023-06-03 12:10:07 -07:00
Pieter-Jan Briers 4be515b8e2 Storage bugfixes. (#17011) 2023-06-02 11:13:56 +10:00
metalgearsloth cd487b66e4 Content mapmanager query changes (#16894) 2023-05-28 23:22:44 +10:00
TemporalOroboros f43683e3b9 Resolves StorageVisualizer is Obsolete (#13910) 2023-05-18 14:03:20 -04:00
metalgearsloth a9c0007c77 Stack and storage enhancements (#16405) 2023-05-14 22:24:45 -04:00
deltanedasanddeltanedas db28073530 Add pick random system (#15409)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-04-29 21:39:08 +10:00
metalgearsloth ae01618874 Revert "Revert "Replace ResourcePath with ResPath (#15308)" (#155… (#15566) 2023-04-20 20:16:01 +10:00
metalgearsloth acf79a8209 Revert "Replace ResourcePath with ResPath (#15308)" (#15551) 2023-04-20 11:43:54 +10:00