86 Commits
Author SHA1 Message Date
84b2f07157 The IMapManager is dead (#44002)
* Axes the easy IMapManager references

* Axes the references to unported (obsolete) IMapManager methods

* Converts salvageruler command to a LocalizedEntityCommand so it can use SharedMapSystem

* Removes IMapManager from GameTicker
This required axing the map nuke during restart, but that should be fine?
Maps are entities so EntityManager.FlushEntities should delete them all and that's the preceding line

* submodule update(?)

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-07-01 20:44:54 -07:00
6f38eed9d9 Splits temperature damage processing into its own component (#30515)
* Creates TemperatureDamageThresholdsComponent

* Obsolete TemperatureComponent fields

* Use TemperatureDamageThresholdsComponent
Moves all the uses of the relocated TemperatureComponent fields to use the TDTC versions

* Removes the obsolete TemperatureComponent fields

* Update YAML definitions

* Update doc comments

* Split TemperatureSystem
Creates TemperatureDamageSystem and moves the damage handling from TemperatureSystem

* Cull unused using statements

* Use component-based damage tick scheduling

* Fix temperature damage processing
Check was inverted resulting in things never starting to take temperature damage

* Poke tests

* Add TemperatureDamageThresholds to new prototypes

* Move TemperatureDamageThresholdsComponent to Shared
Parity with TemperatureComponent

* While I'm here
Fixes warning regarding obsolete ProtoId validator attribute

* Fix YAML errors

* Fix merge errors

* Rename TemperatureDamageThresholdsComponent -> TemperatureDamageComponent

* Use ContentHelpers.RoundToLevels for temperature alerts

* Fix YML

* A fuckton of cleanup

* working cleanup

* fix

* misc additions

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2025-12-24 06:37:11 +00:00
12cd8100ec Purges uses of TransformComponent.Coordinates.set (#34937)
* ECS-TransformComponent-Coordinates
Moves over all uses of the setter to use SharedTransformSystem.SetCoordinates instead

* revert unrelated change

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-10-25 16:54:12 +00:00
TemporalOroborosandGitHub d4876be6f0 Kills TurfHelpers (#37939)
* Create TurfSystem equivalent for and obsolete TurfHelpers.GetTileRef

* Fix EntitySystem uses of TurfHelpers.GetTileRef

* Fix EntitySystem uses of TurfHelpers.TryGetTileRef

* Fix construction condition uses of TurfHelpers.GetTileRef

* Fix last use of TurfHelpers.IsBlockedTurf

* Create TurfSystem equivalent to and obsolete TurfHelpers.GetContentTileDefinition

* Fix uses of TurfHelpers.GetContentTileDefinition(TileRef)

* Fix uses of TurfHelpers.GetContentTileDefinition(Tile)

* Create TurfSystem equivalent to and obsolete TurfHelpers.IsSpace

* Fix EntitySystem uses of TurfHelpers.IsSpace(Tile)

* Fix EntitySystem uses of TurfHelpers.IsSpace(TileRef)

* Fix remaining uses of TurfHelpers.IsSpace

* Fix uses of TurfHelpers.GetEntitiesInTile

* Delete TurfHelpers.cs

* Add GetEntitiesInTile lookup methods

* Convert some GetEntitiesInTile methods to LookupSystem extension methods

* Use new GetEntitiesInTile methods

* Recycle spiderweb hashset

* Recycle floor tile hashset
2025-06-21 11:23:19 -04:00
TemporalOroborosandGitHub f81d216630 Fix obsolete MapGridComponent warning in SpawnAfterInteractSystem (#37911) 2025-05-29 00:34:40 +02:00
TemporalOroborosandGitHub 29ccce134b Fix obsolete method warning in SimpleFloorPlanPopulatorSystem (#37910)
Fix obsolete method warning
2025-05-28 23:44:24 +02:00
TemporalOroborosandGitHub 10dee14893 Fix radiation system warnings (#37892)
* Use SharedMapSystem for GetTileIndices

* Fix formatting errors in Server

* Fix formatting errors in Client
2025-05-28 11:34:58 +02:00
TemporalOroborosandGitHub 5f5f6765ce Use SharedMapSystem for GridTileToLocal (#37894) 2025-05-28 11:31:32 +02:00
TemporalOroborosandGitHub f99d00cf5f Fix for obsolete method warning in AtmosphericsSystem (#37897)
* Make PryTile use Entity<T>
Converts the old parameters into an obsolete overload

* Make HandleDecompressionFloorRip use Entity<T>
Converts the old parameters into an obsolete overload

* Convert the one use to use Entity<T>

* Delete obsolete private methods
2025-05-28 11:16:54 +02:00
TemporalOroborosandGitHub a4001fba1b Purge uses of TransformComponent.Anchored.set. Also adds parentheses. (#34938) 2025-02-20 23:06:39 +11:00
TemporalOroborosandGitHub dc67a5a0ba Purges uses of TransformComponent.WorldMatrix and TransformComponent.InvWorldMatrix (#34944) 2025-02-11 21:06:43 +11:00
TemporalOroborosandGitHub 66ff1aa37d Fix references to obsolete TryGetContainingContainer override (#34912) 2025-02-11 06:08:17 +01:00
TemporalOroborosandGitHub a30fe603c3 Purge uses of TransformComponent.GetWorldPositionRotation... variants (#34942) 2025-02-11 14:22:41 +11:00
TemporalOroborosandGitHub 08e5362f43 Purges uses of TransformComponent.WorldRotation (#34946) 2025-02-11 14:16:20 +11:00
TemporalOroborosandGitHub e4fe9c4638 Purge the one remaining use of TransformComponent.AttachParent (#34941) 2025-02-10 22:46:27 +11:00
TemporalOroborosandGitHub 3b3c286669 Purges the one remaining use of TransformComponent.WorldPosition in content. (#34943) 2025-02-10 22:40:25 +11:00
TemporalOroborosandGitHub f37d5c9f0f Purge uses of TransformComponent.AttachToGridOrMap (#34940)
Switches over all extant uses of TransformComponent.AttachToGridOrMap to use SharedTransformSystem.AttachToGridOrMap
2025-02-07 12:49:22 +01:00
TemporalOroborosandGitHub 3091893055 Fix msCompile problem matcher on VScode on Windows (#31068)
Either VSCode's integrated shell or dotnet has a default behaviour where it inserts newlines into stdout/stderr to make the lines wrap at the console width. Since msCompile works based on lines this makes it fail to detect build warnings correctly. Depending on where the line break occurs this can result in a truncated error message, a correct error message with a truncated filepath for the error, or the errror just straight up missing.
Adding 'ForceNoAlign' to the logging parameters for dotnet build disables this behaviour and gives msCompile actually useful input to sift for errors. End result is all the errors are detected and listed with the correct error messages and filepaths.
2024-08-16 23:33:16 -07:00
TemporalOroborosandGitHub bea8c1a0b8 Relocate TemperatureProtectionComponent (#30437)
Moves it from the atmos module to the temperature module where it is actually used.
2024-07-30 12:31:55 -07:00
TemporalOroborosandGitHub f284b43ff6 Fixes obsolete Transform warnings in Content. (#25256)
* Fix TransformComponent.MapPosition warnings in Content.Client

* Fix TransformComponent.MapPosition warnings in Content.IntegrationTests

* Fix TransformComponent.MapPosition warnings in Content.Shared

* Fix TransformComponent.MapPosition warnings in Content.Server

* Fix TransformComponent.WorldPosition warnings in Content.Shared

* Fix TransformComponent.WorldPosition warnings in Content.Client
Excepts ClickableComponent b/c that needs to be ECS'd entirely later

* Fix TransformComponent.WorldPosition warnings in Content.Server

* Fix TransformComponent.WorldRotation warnings in Content.*

* Fix TransformComponent.MapPosition warnings I missed

* Fix TransformComponent.WorldMatrix warnings in Content.*

* Fix TransformComponent.InvWorldMatrix warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotationMatrixWithInv warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotationMatrix warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotation warnings in Content.*

* Fix TransformComponent.Anchored.set warnings in Content.*

* Fix TransformComponent.Coordinates.set warnings in Content.*

* Fix TransformComponent.LocalPosition.set warnings in Content.*

* Fix TransformComponent.AttachToGridOrMap warnings in Content.*

* Fix TransformComponent.AttachParent warnings in Content.*

* Preempt TransformComponent.LocalRotation.set warnings in Content.Shared

* Preempt TransformComponent.LocalRotation.set warnings in Content.Client

* Preempt TransformComponent.LocalRotation.set warnings in Content.IntegrationTests

* Preempt TransformComponent.LocalRotation.set warnings in Content.Server

* Fix/Preempt the remaining obsolete TransformComponent properties/methods in Content.*

* ECS ClickableComponent

* Fix obsolete SharedTransformSystem methods in Content.*

* Fix ExplosionOverlay `SharedTransformSystem` dependency

* Maybe fix null eye position breaking tests

* MGS requested changes
2024-02-27 12:06:20 +11:00
TemporalOroborosandGitHub d23c8d5c19 Revert 'Revert 'Solution Entities'' (#23168) 2023-12-29 08:47:43 -04:00
d75e743dd7 Solution Entities (#21916)
* Creates Content.Shared.Chemistry.Solutions
Copies Solution class to new namespace
Obsoletes old Solution class

* Switches over to the Solutions.Solution Solution

* Creates Content.Shared.Chemistry.Containers
Copies relevant components/systems to the new namespace
Obsoletes old versions

* Switches over to the Containers.XYZ namespace

* Creates SolutionSystem and obsoletes old SolutionContainerSystem methods

* Start using SolutionSystem for Solution manipulation

* EnumerateSolutions

* Move TryGetMixableSolution

* Move EnsureSolution to Server

* Create Solution Entities

* Stop using obsolete solution system methods

* Fix prototype component tests

* Add using ..Audio.Systems; back

* Wrap solution container slots in ContainerSlots

* Actually add the slot to the solution container map

* Dirty SolutionContainerComponent when ensuring solutions

* Revert namespace changes

* Remerge SolutionSystem and SolutionContainerSystem

* SolutionContainerManagerComponent refactor

* Avoid wrapping necessary code in DebugTools.Assert as it is removed when compiling for release

* Readd examine reagent sorting

* Fix errors

* Poke tests

* Fix solution names not being applied

* Fix WoolyComponent including statement

* Fix merge skew

* Fix compile errors

* Make reactions use solntities

* Reindent solution class namespace

* Field attribute changes

* AutoGenerateComponentState for SolutionContainerComponent

* SolutionContainerComponent -> ContainedSolutionComponent

* ref ReactionAttemptEvent

* Denetwork preinit solutions

* Misc 1

* Nullable TryGetSolution out vars

* Cache associated solutions

* Fix merge skew

* Use explicit regions in SharedSolutionContainerSystem.Capabilities

* Add debug assert

* Use explicit regions in SharedSolutionContainerSystem.Relay + ref SolutionContainerChangedEvent

* ContainedSolutionComponent.Name -> ContainedSolutionComponent.ContainerName

* SolutionComponent doc comments

* Implicit DataField names and property purge

* ReagentEffect DataField names

* Local variables for readability

* Sort using statements + Entity<T> event handlers

* Fix compile erros

* Fix compile errors

---------

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2023-12-28 17:58:14 -08:00
TemporalOroborosandGitHub 7a77d6d5dd Content ecs containers (#22484) 2023-12-28 01:30:03 -04:00
TemporalOroborosandGitHub 0c63f2ee57 Make test EntitySpecifiers ignore entities with null prototypes (#22174) 2023-12-06 20:09:44 -05:00
TemporalOroborosandGitHub f98322ad5d T shaped pickaxe and grid UI fix (#22197) 2023-12-06 19:52:57 -05:00
TemporalOroborosandGitHub 19614453d9 Makes thieving gloves sneakier (#21398)
* Hidden DoAfters

* Fix formatting warnings

* Hide progress bar and pickup animation

* Copy Hidden field in copy constructor
2023-11-02 22:10:58 -04:00
TemporalOroborosandGitHub b223e7d6ed Generalizes solution overflow & slightly increases space lube yield (#21094)
* generalize SolutionSpikeOverflowEvent

* let reactions overflow

* spacelube: 3 -> 5

* restore TryMixAndOverflow threshold cap
2023-10-28 12:46:59 -04:00
TemporalOroborosandGitHub 3007200832 Adds AttemptEntity(Uns|S)tickEvent. (#20728)
* try-stick

* convert spider charge to attempt-stick-events
2023-10-24 21:45:42 -04:00
TemporalOroborosandGitHub 4df2f91f54 Fix anomaly locators frantically beeping when entering detection range. (#21178)
* reset beep timer when out of range

* prevent deficit from impacting beep timing
2023-10-24 17:00:22 -04:00
TemporalOroborosandGitHub 414701dd3b Swaps HV/MV/LV scaling to supply power scaling (#20880) 2023-10-18 14:04:47 -07:00
TemporalOroborosandGitHub 0775ab6a14 Moves SolutionContainerManagerComponent to Shared. (#20944) 2023-10-15 03:45:28 +11:00
TemporalOroborosandGitHub 3b02d461a2 Corrects for singularity distortion. (#13925) 2023-08-13 09:43:07 +10:00
TemporalOroborosandGitHub 7cdc7ab972 Fix warnings in MapRenderer module (#17865) 2023-08-08 11:07:08 +10:00
df1dcb74ac Dewarns access (#16666)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-07-23 14:19:51 +10:00
6313164368 Fixes singularity collision and consume range (#13424)
Co-authored-by: keronshb <keronshb@live.com>
2023-07-19 18:01:27 +10:00
TemporalOroborosandGitHub 7ec8bea20f Fix warnings in Content.Tools module (#17862) 2023-07-10 17:39:21 +10:00
TemporalOroborosandGitHub 4cc771f539 Fix warnings in YAMLLinter module (#17863) 2023-07-10 17:38:45 +10:00
TemporalOroborosandGitHub 3ac4cf85db Cleaner BoundUserInterfaces (#17736) 2023-07-09 02:02:17 +10:00
ba91023a85 Fix content.integration tests warnings (#17817)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-07-06 14:54:25 +10:00
TemporalOroborosandGitHub 6f75b18731 Fix Content.Benchmark warnings (#17771) 2023-07-02 01:11:01 +10:00
TemporalOroborosandGitHub 2fb23755cd 2 (#17754) 2023-06-30 19:24:23 -04:00
TemporalOroborosandGitHub d9de405859 ECS AME (#16779) 2023-06-28 08:02:06 -04:00
TemporalOroborosandGitHub 9849737e5a Cleans up warnings in disposals (#17419) 2023-06-22 00:31:19 +10:00
TemporalOroborosandGitHub bc3f42d822 ECS Arcade Machines (#16791) 2023-06-15 21:25:25 +10:00
d71b6c84e5 Converts the particle accelerator over to ECS + misc (#17075)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-08 16:25:59 +10:00
TemporalOroborosandGitHub fdbf5b86f2 Removes linter warnings from the PDA module (#17097) 2023-06-08 00:22:19 +10:00
TemporalOroborosandGitHub e349712f70 Fixes warnings in Abilities module (#16573) 2023-05-19 09:47:29 +10:00
TemporalOroborosandGitHub ed1b9bde83 Resolves RadiationCollectorVisualizer is Obsolete (#13905) 2023-05-18 14:03:30 -04:00
TemporalOroborosandGitHub f43683e3b9 Resolves StorageVisualizer is Obsolete (#13910) 2023-05-18 14:03:20 -04:00
TemporalOroborosandGitHub a1715666f0 Resolves StackVisualizer is Obsolete (#13908) 2023-05-18 16:16:53 +10:00
TemporalOroborosandGitHub 8094965285 Resolves BagOpenCloseVisualizer is Obsolete v2 Uncooked Edition (#16399) 2023-05-15 16:37:45 -04:00
TemporalOroborosandGitHub a71d9c8eff Resolves GenericEnumVisualizer is Obsolete (#13914) 2023-05-15 14:55:36 -04:00
TemporalOroborosandGitHub 7687264e24 Makes the orb roll (#16448) 2023-05-15 01:32:16 -04:00
TemporalOroborosandGitHub 88063ab2be Resolves TimerTriggerVisualizer is Obsolete (#13912) 2023-05-13 17:18:33 -04:00
TemporalOroborosandGitHub 0658acd7cb Resolves ApcVisualizer is Obsolete (#13898) 2023-05-07 22:17:29 -04:00
8536756db5 Resolves ThrusterVisualizer is Obsolete (#13904)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-05-07 23:37:28 +10:00
6ff63a6ee7 Resolves SmesVisualizer is Obsolete (#13899)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-05-07 13:43:41 +10:00
TemporalOroborosandGitHub 750032b002 Resolves ExpendableLightVisualizer is Obsolete (#13888) 2023-05-01 11:03:26 -04:00
73980ad095 Resolves PowerChargerVisualizer is Obsolete (#13901)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-04-29 14:34:48 +10:00
TemporalOroborosandGitHub 0e6e338093 Resolves ParticleAcceleratorPartVisualizer is Obsolete (#13897) 2023-04-22 19:39:04 +10:00
TemporalOroborosandGitHub d78110bebd Resolves PowerDeviceVisualizer is Obsolete (#13900) 2023-04-22 19:37:40 +10:00
TemporalOroborosandGitHub 7523ed4c17 Resolves AirlockVisualizer is Obsolete (#13884) 2023-04-22 19:18:16 +10:00
TemporalOroborosandGitHub 2d45d97266 Resolves DeployableBarrierVisualizer is Obsolete (#13903) 2023-04-22 18:48:45 +10:00
TemporalOroborosandGitHub 76212b877e Resolves GravityGeneratorVisualizer is Obsolete (#13885) 2023-03-31 16:04:53 +11:00
TemporalOroborosandGitHub c6c8fa2075 Resolves MedicalScannerVisualizer is Obsolete (#13893) 2023-03-26 15:26:00 -04:00
93ec824d57 MotD (#13655)
* MOTD

* Message of the Day

* Pretty sure the tests aren't me. Let's check.

* Update Content.Shared/CCVar/CCVars.cs

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>

* command dependencies and moving MOTD to its own system

* Some doc comments

* Let's try those tests again

* More doc comments, most of the github reviews, and aliases for get-motd and set-motd

* Clear test MOTD

* Localized motd commands and completion hints

* Makes set-motd only show up in the alias command if the player has access to it.

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2023-02-28 08:15:48 -08:00
TemporalOroborosandGitHub 6b381f7304 Resolve PoweredLightVisualizer is Obsolete (#13891) 2023-02-16 00:10:41 -04:00
TemporalOroborosandGitHub 5b23048497 Resolves LightBulbVisualizer is Obsolete (#13889) 2023-02-13 23:43:51 -04:00
69ba0ce120 Resolves EmergencyLightVisualizer is Obsolete (#13887)
* Split EmergencyLightVisualizer into Component/System pair

* Server ignore EmergencyLightVisualizer

* Update YAML

* Reviews

* small

---------

Co-authored-by: AJCM <AJCM@tutanota.com>
2023-02-13 01:45:51 +00:00
TemporalOroborosandGitHub 00b310d83f Resolves ReagentGrinderVisualizer is Obsolete (#13886)
* Split ReagentGrinderVisualizer into Component/System pair

* Update YAML

* Generic visualizer

* Update YAML

* Swap visuals

* Removes duplicate
2023-02-13 00:54:34 +00:00
TemporalOroborosandGitHub 23f1dc4643 Resolves SingularityVisualizer is Obsolete (#13906)
* Split SingularityVisualizer into Component/System pair

* Server ignore SingularityVisualizer

* Update YAML

* Move to SingularityComponent
2023-02-11 11:41:16 +00:00
TemporalOroborosandGitHub 57275d97d3 Resolves RollerbedVisualizer is Obsolete (#13915)
* Split RollerbedVisualizer into Component/System pair

* Server ignore RollerbedVisualizer

* Update YAML

* GenericVisualizer

* Switch to unfolded layer

* Use visibility
2023-02-10 22:05:22 +00:00
TemporalOroborosandGitHub bfedfd0abb Resolves VaporVisualizer is Obsolete (#13882) 2023-02-07 16:46:49 -04:00
TemporalOroborosandGitHub eb388a3090 Resolves FoldableVisualizer is Obsolete (#13913) 2023-02-06 15:53:07 -04:00
TemporalOroborosandGitHub b95f4f474b Resolves PDAVisualizer is Obsolete (#13896) 2023-02-05 14:34:54 -04:00
TemporalOroborosandGitHub c398076620 Resolve ClustergrenadeVisualizer is Obsolete (#13890) 2023-02-05 14:33:29 -04:00
TemporalOroborosandGitHub c7d674733d Resolves DrinkCanVisualizer is Obsolete (#13895) 2023-02-04 22:09:46 -04:00
TemporalOroborosandGitHub 8e18d1f41f Resolves CreamPiedVisualizer is Obsolete (#13894) 2023-02-04 22:06:02 -04:00
TemporalOroborosandGitHub 5c4f52ece1 Resolves SignalSwitchVisualizer is Obsolete (#13892) 2023-02-04 18:16:04 -04:00
TemporalOroborosandGitHub efd689d98e Resolves FoamVisualizer is Obsolete (#13880) 2023-02-03 15:59:17 -04:00
TemporalOroborosandGitHub a8fd975edd Resolves SmokeVisualizer is Obsolete (#13881) 2023-02-03 15:43:53 -04:00
TemporalOroborosandGitHub 0edbc21ce8 Resolves TabletopItemVisualizer is Obsolete (#13911) 2023-02-03 15:47:29 +01:00
TemporalOroborosandGitHub e5274542b9 This should fix the singularity generator. (#13121) 2022-12-20 15:54:56 -08:00
TemporalOroborosandGitHub 9a72b05a50 Splits the singularity into its component parts + ECS singularity + Support for singularities in containers. (#12132)
* InitialCommit (Broken)

* Fixes compile errors

* PR comments. More doc comments. Fixes

* Makes a singularity/event horizon without radiation/physics a valid state to be in

* VV 'fake' setters, fixes the visualizer, fixes the singularity trying to eat itself instead of nearby things.

* Removes unused dependency from Content.Client.GravityWellSystem

* Testing containment and fake VV setters for SingularityGeneratorComponent

* Fixes gravity wells (broken due to LookupFlags.None). Adds recursive Event Horizon consumption

* Fix merge skew

* Fixes for the master merge

* Fix engine commit

* Dirty is obsolete

* Switch over dirty

* Fix requested changes

* ambiant -> ambient

* Moves EventHorionComponent to Shared

* Proper container handling

* Fixes master merge. Fixes post insertion assertions for singularities. Extends proper container handling to gravity wells and the distortion shader.

* Better support for admemes throwing singularities.

* Moves update timing from accumulators to target times

* Update doc comments
2022-12-19 20:47:15 -06:00
TemporalOroborosandGitHub 201952e618 Adds temperature to solutions (#5834) 2021-12-24 02:22:34 -07:00
TemporalOroborosandGitHub f346a11940 Caches reactions based on their reactants (#5589) 2021-11-29 02:32:33 +11:00