Commit Graph

379 Commits

Author SHA1 Message Date
Menshin
76903dd145 Cached barotrauma resistance and immunity values instead of computing them each Update() (#15055) 2023-05-01 03:58:26 +10:00
Leon Friedrich
a36a64e6c5 Implicit gas tile & decal states (#15146) 2023-04-05 17:43:12 -06:00
Leon Friedrich
7f524f6751 Fix high pressure protection (#14968) 2023-03-29 16:45:56 -07:00
Leon Friedrich
56ef88a913 Prevent possible future game state bugs (#14323) 2023-03-01 09:26:37 -06:00
Leon Friedrich
e9fd16f8f6 Fix lung test (#14325) 2023-03-01 13:57:48 +11:00
Chief-Engineer
017fb28ce3 Add atmos ignition logs (#14216) 2023-02-28 16:43:24 -04:00
Leon Friedrich
210677ba4e Fix bug in GasTileOverlay state logic (#14071) 2023-02-13 02:39:21 +00:00
Visne
5a5a3afbb1 Remove some obsolete AppearanceComponent method usages (#13726) 2023-02-02 12:34:53 -04:00
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
metalgearsloth
bf79d76666 Content update for ECS physics (#13291) 2023-01-15 15:38:59 +11:00
Jezithyr
eeb5b17b34 Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
metalgearsloth
8900409956 Optimise spreadersystem (#13329)
* Optimise spreadersystem

It makes entity spawning slower.

* Remove redundant airtightchangedevent

* oop
2023-01-11 02:18:26 -06:00
metalgearsloth
243fd73db4 Update tilechangedevent to ref structs (#13383) 2023-01-09 13:45:21 +11:00
Kara
572b762f2c Tile prying removes decals (#13363) 2023-01-07 02:24:50 -08:00
metalgearsloth
1769807366 Remove some explosion resolves (#13330) 2023-01-04 17:52:38 -08:00
metalgearsloth
ab07944af8 Remove IPhysBody (#13297) 2023-01-03 17:45:18 +11:00
keronshb
f6e1dc15ac Adds delay to internals alert (#13195)
closes https://github.com/space-wizards/space-station-14/issues/12721
2023-01-01 16:03:19 -08:00
Pieter-Jan Briers
a323671984 Changes for prototype load parallelization (#13066)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-12-20 14:25:34 -08:00
Pieter-Jan Briers
4fa2920472 Remove IoCManager.InitThread calls from parallel code. (#13070) 2022-12-20 22:52:39 +11:00
Leon Friedrich
881a2b2ece PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
Leon Friedrich
2759ef009e Gas tile overlay state handling changes (#12691) 2022-12-19 06:25:27 +11:00
metalgearsloth
3b3963083b Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
Leon Friedrich
77683a95df Add point light to burning entities (#12959) 2022-12-12 14:35:33 +11:00
Leon Friedrich
154aea05a0 Fix decal IoC exception (#12789) 2022-12-02 10:42:47 +11:00
Leon Friedrich
186b8e00da Fix NoAirWhenFullyAirBlocked (#12709) 2022-11-24 12:45:08 +11:00
metalgearsloth
6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
Leon Friedrich
6917b0fe17 Misc audio and related changes for replays (#12578) 2022-11-22 11:49:48 +11:00
Leon Friedrich
8ab849aec9 Fix gas overlay (#12692) 2022-11-20 20:50:01 -06:00
DrSmugleaf
f92f288047 Remove byte[] allocations for GasTileOverlaySystem.UpdateChunkTile (#12617) 2022-11-16 08:27:49 +01:00
Vera Aguilera Puerto
3fbe85416e Rebuild excited groups if blocked airflow direction of tile has changed. (#12548) 2022-11-11 09:44:45 +01:00
Leon Friedrich
3a0c3b02b3 Firelock fixes (#12542)
* Firelock fixes

* review
2022-11-10 22:21:01 -06:00
metalgearsloth
fb3f6fa80f Predicted stamina (#12413)
* Predicted stamina

Needed to do some semblence of predicted melee.

* Okay now done.

* Pause support

* Comment
2022-11-08 14:34:07 -06:00
corentt
37997d4dda Stop reducing output pressure of gastank when low pressure (#11818)
* stop reducing output of gastank when low pressure

* fix display internal alert

* rephrase moles quantity check
2022-11-08 14:23:41 -06:00
Leon Friedrich
8620899a4a Fix firelock danger indicators (#12327)
* Fix firelock danger indicators

* remove unused arg
2022-11-08 13:55:45 -06:00
Alex Evgrashin
6913c77ab1 Quick fix for holofan and tiny fan (#12420)
Fixes https://github.com/space-wizards/space-station-14/issues/12411
2022-11-07 06:34:06 +11:00
metalgearsloth
c0abea8047 Content side for removing IMap / IMapGrid comps (#12357) 2022-11-04 10:12:25 +11:00
Paul Ritter
c5e5729bd4 removes beforeserialization hook (#12319) 2022-11-03 12:41:12 +11:00
Leon Friedrich
237b842d65 Parallelize gas and decal systems. (#12349) 2022-11-02 18:23:26 +11:00
metalgearsloth
c9a2ab1cee Remove transform methods from mapgrid (#12233) 2022-11-01 11:27:18 +11:00
Leon Friedrich
8c73cfb06d Stop unnecessary airtight updates (#12310) 2022-10-31 16:07:00 +11:00
Leon Friedrich
20f68d156e Add some atmos logs for debugging (#11970) 2022-10-17 02:50:11 +11:00
Kognise
aba2462a97 Internals improvements (#11677) 2022-10-03 18:01:20 -07:00
metalgearsloth
f51248ecaa Melee refactor (#10897)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-29 15:51:59 +10:00
Vordenburg
636694e73d Allow gas analyzers to continue operation after the user moves without a target. (#11555) 2022-09-28 09:55:44 +13:00
Leon Friedrich
e5f968a7fb Content changes for engine RotateEvent removal PR (#11448) 2022-09-23 13:57:30 +10:00
Leon Friedrich
42f080d665 Fix gas analyser error. (#11386) 2022-09-18 09:10:10 +10:00
metalgearsloth
bb0229e391 Add gas selling to tanks too (#11304) 2022-09-16 07:04:25 -07:00
Visne
356a6b8d2e Event-ify Rejuvenate (#11145) 2022-09-15 03:30:56 +10:00
metalgearsloth
78a4ab6eb2 Update for collision events by-ref (#10933) 2022-09-14 17:26:26 +10:00
Kevin Zheng
45349e3c0d Add gas recyclers (#9934)
* Add RemoveVolume()

RemoveVolume(vol) captures the common pattern of:

    air.RemoveRatio(vol / air.Volume)

Change existing code to use this method where appropriate.

* Add gas recyclers

Gas recyclers catalyze the conversion of CO2 and N2O to O2 and N2. The
gas recycler component takes waste gas from the input net and releases
the result into the output net.

To make things more fun, the input net must be pressurized to 3 MPa and
heated to at least 300 C; otherwise, no reaction will occur.

Game-mechanic wise, gas recyclers contain the catalyst for the
conversion reaction, and therefore, requires no external power. However,
the external pumps and heaters required to make the reaction happen
still do.

* Fix gas recyclers

Fix negative sqrt, fix pressure check after remove.
2022-09-11 18:02:01 -05:00