Commit Graph

5619 Commits

Author SHA1 Message Date
Paul Ritter
4c7670fe82 conveyor & recycler ecs (#4537)
* conveyor done, recycler still todo

* done, just need to suss out the physics part. pinged sloth about it

* ship it
2021-09-10 17:26:05 +10:00
PJBot
32d25431c0 Automatic changelog update 2021-09-09 21:32:57 -04:00
Swept
c00e82462b Tweaks ambient sound values and improves some existing sounds (#4576)
* Updates singularity to use AmbientSound

* Removed hum from light tubes and tweaked vending/bulb ambience

* Adds more explosion sound effects

* Moves closet open/close.ogg and adds wooden closet sound effect

* Updates flashlight on/off sound

* Adds HL Scientist scream collection

* Tweaks APC Ambience

* Minor oversight on det locker

* Addressed reviews
2021-09-10 11:31:54 +10:00
PJBot
2f7af99f97 Automatic changelog update 2021-09-09 10:21:44 -04:00
Vera Aguilera Puerto
77fe21eb0d Refactors flashes to ECS, sunglasses protect you from being flashed. (#4579)
* Refactors flashes to ECS, sunglasses protect you from being flashed.

* VV ReadWrite for FlashImmunity Enabled.

* Use cached IEntityLookup.

* Consistent formatting.

* Fix flashbang duration.
Flash duration is a mess.

* Small area flash code cleanup.

* Flashable state is only sent to attached player.
2021-09-10 00:20:41 +10:00
PJBot
e8f769d189 Automatic changelog update 2021-09-09 02:38:22 -04:00
20kdc
646cb5861d Some Saltern wiring fixes: remove some overlapping wires & two bridged APCs (#4568) 2021-09-08 23:37:19 -07:00
Leon Friedrich
c19b32d2ee fix stomach bug (#4571) 2021-09-08 00:19:19 -07:00
metalgearsloth
b47bba83c8 Update submodule 2021-09-08 10:56:31 +10:00
PJBot
174e33168f Automatic changelog update 2021-09-07 04:48:26 -04:00
metalgearsloth
569f01ee3e Update submodule 2021-09-07 18:47:43 +10:00
metalgearsloth
ff40a7665d Ambient sound system (#4552)
* Ambient sound system

Client-side system that plays audio from nearby objects that are randomly sampled.

* Decent

* Tweaks

* Tweaks

* Comment this out for now

* reduce VM sound

* Fix rolloff

* Fixes

* Volume tweak
2021-09-07 18:47:23 +10:00
Pieter-Jan Briers
97af34f70a Update submodule 2021-09-07 08:29:18 +02:00
Pieter-Jan Briers
dbd6704fef Remove unnecessary attenuation set.
Guess I'm fixing content after all.
2021-09-07 08:06:39 +02:00
Pieter-Jan Briers
5fa16579d4 Update submodule 2021-09-07 07:51:04 +02:00
Pieter-Jan Briers
ca50a5f993 Clean up the escape menu XAML a bit. 2021-09-07 00:30:08 +02:00
Vera Aguilera Puerto
68a78e94b7 Slight explosively depressurize cleanup. 2021-09-06 17:30:38 +02:00
Vera Aguilera Puerto
9f4ea1e5a9 Fix rare atmos crash when explosively depressurizing too many tiles. 2021-09-06 17:16:27 +02:00
Vera Aguilera Puerto
a8e7fb4977 Optimize atmos debug assert.
Seems I missed this one.
2021-09-06 16:55:05 +02:00
Ygg01
c209e3f29b Solution refactor (#4407)
* Rename SolutionContainerCaps -> Capability

* Move IExamine event to Chemistry System.

* ECS the ISolutionChange into SolutionChangeEvent

* Unify SolutionContainer into a single shared component

* Replace ISolutionInteraction with SolutionContainerComponent

* Move all methods from SolutionContainer to ChemistrySystem

* Refactor EntitySystem calls to Dependencies

* Refactor SolutionContainer to SolutionManager

* Fix yamls

* Fix test fails

* Fix post merge issues

* Fix various issues with SolutionManager

* More fixes

* Fix more components

* Fix events not being directed

* Fixes for Hypospray

* Separate removal and iteration on Metabolism

* Fix creampie problems

* Address some of sloth's issues

* Refactors for Systems

* Refactored solution location

* Fix tests

* Address more sloth issues

* Fix dependency

* Fix merge conflicts

* Add xmldocs for Capabilities components

* Remove HasSolution/TryGetDefaultSolution and Add/Remove Drainable/Refillable

* Replace Grindable/Juiceable with Extractable

* Refactor field names

* Fix Drainable

* Fix some issues with spillable and injector

* Fix issues with Grinder

* Fix Beaker having duplicate solutions

* Fix foaming

* Address some MGS issues

* Fix Uid issues

* Fix errors in solution Tranfer

* Fixed some extra values constant values

* Cola is drinkable now
2021-09-06 23:49:44 +10:00
metalgearsloth
b8911d58ac Optimise slipperysystem (#4566)
* Optimise slipperysystem

That ToArray call no longer showing up on a profiler

* Woops
2021-09-06 15:49:05 +02:00
metalgearsloth
f35ea5418d Pass in EntityManager to Mover
Saves 5% of mover code
2021-09-06 18:20:44 +10:00
metalgearsloth
8c5aaafee3 Stop atmos spamming physics bodies awake
ApplyLinearImpulse already wakes it up so there's no point for this besides slammin physics.
2021-09-06 02:22:23 +10:00
metalgearsloth
e752775a7c Update submodule 2021-09-06 01:29:51 +10:00
metalgearsloth
c5a0b18be1 Fix icon smoothing on rotated grid 2021-09-05 17:23:47 +10:00
Ygg01
53b53c3e0e Cigarette ecs (#4495)
* Reorganized Shared.Storage folder

* Replace StorageCounter with Item Counter

* Change stack visuals setting data

* Fix mirrorcult suggestions

* Fix items from upstream

* Fix type formatting
2021-09-04 10:42:32 -07:00
Leon Friedrich
fc1ddb00cb Fix Tests (#4561) 2021-09-03 21:13:34 -07:00
PJBot
0dfa847b2e Automatic changelog update 2021-09-03 16:46:05 -04:00
metalgearsloth
6648972818 Add some SoundOnLand components to engineering (#4556)
From tg
2021-09-03 13:45:02 -07:00
Leon Friedrich
c7cfc8a90c fix dead alert (#4558) 2021-09-02 21:11:12 -07:00
PJBot
e3cf87a106 Automatic changelog update 2021-09-01 22:36:18 -04:00
metalgearsloth
5ade8c2695 Fix pulling lerping (#4550) 2021-09-01 19:35:16 -07:00
metalgearsloth
744b4e5ce6 Remove empty changelog entry 2021-09-02 12:16:18 +10:00
PJBot
fee5fef219 Automatic changelog update 2021-09-01 19:40:21 -04:00
metalgearsloth
03d1df8190 Fix lobby exception (#4544)
From what I could tell whenever LobbyState is entered it makes a new Lobby + CharacterSetup GUI via Startup. These events are never disposed of under Shutdown + the lobby should be null whenever we're not in LobbyState (as the control ends up disposed).

The lobby == null checks could probably also be null asserts as they shouldn't be null when those methods are being called.
2021-09-01 16:39:19 -07:00
Pieter-Jan Briers
85c7cea457 Update submodule 2021-09-01 18:32:08 +02:00
Pieter-Jan Briers
3ee36350cb More IoC constructor removal 2021-09-01 13:29:52 +02:00
Pieter-Jan Briers
a3fc00dc29 Change some data definitions to not do IoC resolve in their constructors. 2021-09-01 13:23:52 +02:00
Pieter-Jan Briers
bf9d60ae0f Update submodule
Has engine fixes for compat mode.
2021-09-01 01:25:48 +02:00
PJBot
64a620f2aa Automatic changelog update 2021-08-31 08:47:14 -04:00
metalgearsloth
0f5b84c560 Don't call LandEvent if the item is caught (#4512)
* Don't call LandEvent if the item is caught

Or more specifically if it's inserted into a container.

* Soft hands check
2021-08-31 22:46:11 +10:00
metalgearsloth
df7d6c4d90 PoweredLight uses PointLights for appearance (#4540)
* PoweredLight uses PointLights for appearance

Previously this just set PointLightComponent data via the visualizer which lead to desyncs in the data between client and server. If the server pointlight was dirtied at any point then the pointlight data set via appearance visualizers was bulldozed.

* Address review
2021-08-31 18:45:02 +10:00
PJBot
09ff15da1f Automatic changelog update 2021-08-31 04:34:58 -04:00
Alex Evgrashin
4c873e53f2 Refactor ghost boo to ECS (#4511)
* Moved ghost boo to ecs

* Fixed small light exception

* No need to inject EM

* Moved cooldown and time to fields

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-08-31 18:33:55 +10:00
PJBot
4b4c8a41d7 Automatic changelog update 2021-08-30 18:26:10 -04:00
Swept
66a9bb9487 Adds unique sprite for NTBlockGame screen (#4539)
* Separates arcade.rsi from computers.rsi

* Changes NTBlockGame screen

* Added better blockgame sprite

* Fixes minute issue with sprite
2021-08-31 00:25:08 +02:00
Vera Aguilera Puerto
fa48e2abae Move StackSystem Use method to SharedStackSystem 2021-08-30 12:31:28 +02:00
Vera Aguilera Puerto
d1fe278afc Stack components are now entirely logicless.
- GetState is handled in SharedStackSystem
- Adds friend attributes to the stack components
2021-08-30 11:49:09 +02:00
Vera Aguilera Puerto
f15ed2ba50 Updates ComponentHandleState usages to be by-ref (#4535) 2021-08-30 11:33:48 +02:00
Pieter-Jan Briers
9cf37b6e68 Fix event handler leaks in LauncherConnecting 2021-08-30 01:50:54 +02:00