]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Gravity Generators cannot be unanchored while active (#41256)
authorJustin Pfeifler <jrpl101998@gmail.com>
Fri, 7 Nov 2025 00:53:27 +0000 (18:53 -0600)
committerGitHub <noreply@github.com>
Fri, 7 Nov 2025 00:53:27 +0000 (00:53 +0000)
commit4f0b1f377eeb8533488ebf0ecb2a0bc7eabc7609
treecdc2cbeb5ff819ba20776fdee7047ecf3a4407b6
parent2eab3ce2bb1a784164ef6d6a1d681cc5edde9bbe
Gravity Generators cannot be unanchored while active (#41256)

* Add unanchor attempt check

* Combine shared component and server component

- Combines SharedGravityGeneratorComponent and GravityGeneratorComponent
- AutoNetworked the GravityActiveBool

* Remove SharedGravityGeneratorComponent

* Update to SharedGravityGeneratorComponent

* Fix to be a complete sentence

* Dirty GravityActive whenever changed

* Rename component and remove view variables

* Update referenced component name

* Move unanchor attempt to shared system

* Add client system

* Revert popup to PopupEntity

* Fix popup to be PopupClient

* Set access restriction on GravityActive
Content.Client/Entry/EntryPoint.cs
Content.Client/Gravity/GravityGeneratorSystem.cs [new file with mode: 0644]
Content.Client/Gravity/GravitySystem.cs
Content.IntegrationTests/Tests/GravityGridTest.cs
Content.Server/Gravity/GravityGeneratorComponent.cs [deleted file]
Content.Server/Gravity/GravityGeneratorSystem.cs
Content.Shared/Gravity/GravityGeneratorComponent.cs [moved from Content.Shared/Gravity/SharedGravityGeneratorComponent.cs with 59% similarity]
Content.Shared/Gravity/SharedGravityGeneratorSystem.cs [new file with mode: 0644]
Resources/Locale/en-US/components/station-anchor-component.ftl
Resources/Locale/en-US/gravity/gravity-generator-component.ftl