From 782f195069d1cddec13e05822d37279c5c47f6db Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:14:39 +0300 Subject: [PATCH 01/15] Update anomalouslab.yml --- Resources/Maps/_NF/POI/anomalouslab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/anomalouslab.yml b/Resources/Maps/_NF/POI/anomalouslab.yml index bdfb9c67dd7..f021dfb2d94 100644 --- a/Resources/Maps/_NF/POI/anomalouslab.yml +++ b/Resources/Maps/_NF/POI/anomalouslab.yml @@ -81,7 +81,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From e8ef38f9ad5abed1aa15a496bc25598dc3b1bea8 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:14:59 +0300 Subject: [PATCH 02/15] Update arena.yml --- Resources/Maps/_NF/POI/arena.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/arena.yml b/Resources/Maps/_NF/POI/arena.yml index dd766269233..bd0a2f5b9c4 100644 --- a/Resources/Maps/_NF/POI/arena.yml +++ b/Resources/Maps/_NF/POI/arena.yml @@ -125,7 +125,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 5d683fd4ffdf98b668b79c1b5768820e24710aa4 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:15:18 +0300 Subject: [PATCH 03/15] Update beacon.yml --- Resources/Maps/_NF/POI/beacon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/beacon.yml b/Resources/Maps/_NF/POI/beacon.yml index e0de1831924..4a57f8d86ac 100644 --- a/Resources/Maps/_NF/POI/beacon.yml +++ b/Resources/Maps/_NF/POI/beacon.yml @@ -74,7 +74,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From c9f4be40eb363ab9b8b6eec8ebe4c00fe3ddd05d Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:15:35 +0300 Subject: [PATCH 04/15] Update cargodepot.yml --- Resources/Maps/_NF/POI/cargodepot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/cargodepot.yml b/Resources/Maps/_NF/POI/cargodepot.yml index 60f55812f82..e172aa4b31f 100644 --- a/Resources/Maps/_NF/POI/cargodepot.yml +++ b/Resources/Maps/_NF/POI/cargodepot.yml @@ -49,7 +49,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 2c47ad117e7bee4aa2a5989c8e6585c1185e59bd Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:16:52 +0300 Subject: [PATCH 05/15] Update caseyscasino.yml --- Resources/Maps/_NF/POI/caseyscasino.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/caseyscasino.yml b/Resources/Maps/_NF/POI/caseyscasino.yml index 74cdb76fd7e..bb12cbacdd0 100644 --- a/Resources/Maps/_NF/POI/caseyscasino.yml +++ b/Resources/Maps/_NF/POI/caseyscasino.yml @@ -46,7 +46,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 1a55fff937cf9374115e56685ac9aae855e69f21 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:18:14 +0300 Subject: [PATCH 06/15] Update courthouse.yml --- Resources/Maps/_NF/POI/courthouse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/courthouse.yml b/Resources/Maps/_NF/POI/courthouse.yml index a6306ec8e35..81ad3900f80 100644 --- a/Resources/Maps/_NF/POI/courthouse.yml +++ b/Resources/Maps/_NF/POI/courthouse.yml @@ -76,7 +76,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 80095cf8e3d2f5f7bc16221b62af5c166515b254 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:18:34 +0300 Subject: [PATCH 07/15] Update cove.yml --- Resources/Maps/_NF/POI/cove.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/cove.yml b/Resources/Maps/_NF/POI/cove.yml index 00654063fa1..ab5b49d6201 100644 --- a/Resources/Maps/_NF/POI/cove.yml +++ b/Resources/Maps/_NF/POI/cove.yml @@ -88,7 +88,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 6ba46bb5f465d19be7ef304215177caecf5111ad Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:21:59 +0300 Subject: [PATCH 08/15] Update grifty.yml --- Resources/Maps/_NF/POI/grifty.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/grifty.yml b/Resources/Maps/_NF/POI/grifty.yml index 30fa6025378..012b9b6e35b 100644 --- a/Resources/Maps/_NF/POI/grifty.yml +++ b/Resources/Maps/_NF/POI/grifty.yml @@ -40,7 +40,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 585c069ccd76aee769511918efa76bb6a6a553f1 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:22:20 +0300 Subject: [PATCH 09/15] Update lodge.yml --- Resources/Maps/_NF/POI/lodge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/lodge.yml b/Resources/Maps/_NF/POI/lodge.yml index b7d23484907..fdaf55ea2ba 100644 --- a/Resources/Maps/_NF/POI/lodge.yml +++ b/Resources/Maps/_NF/POI/lodge.yml @@ -93,7 +93,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From c76a48f600534a4e73aa414772ca1e8a06ff036a Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:22:40 +0300 Subject: [PATCH 10/15] Update lpbravo.yml --- Resources/Maps/_NF/POI/lpbravo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/lpbravo.yml b/Resources/Maps/_NF/POI/lpbravo.yml index f8923bf3237..1165b397d55 100644 --- a/Resources/Maps/_NF/POI/lpbravo.yml +++ b/Resources/Maps/_NF/POI/lpbravo.yml @@ -47,7 +47,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 8543e0243b231e7f2ea85f4f9d2d4996dd788d21 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:24:39 +0300 Subject: [PATCH 11/15] Update nfsd.yml --- Resources/Maps/_NF/POI/nfsd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/nfsd.yml b/Resources/Maps/_NF/POI/nfsd.yml index 3974f8072b0..1dd5c1220bc 100644 --- a/Resources/Maps/_NF/POI/nfsd.yml +++ b/Resources/Maps/_NF/POI/nfsd.yml @@ -90,7 +90,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From 9e57093c76c847cc927ed75f519d8ba9b7f4683d Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:25:02 +0300 Subject: [PATCH 12/15] Update tinnia.yml --- Resources/Maps/_NF/POI/tinnia.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/tinnia.yml b/Resources/Maps/_NF/POI/tinnia.yml index 92151d416a5..5b24b3d4912 100644 --- a/Resources/Maps/_NF/POI/tinnia.yml +++ b/Resources/Maps/_NF/POI/tinnia.yml @@ -69,7 +69,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 999999 linearDamping: 999999 fixedRotation: False From b6ac28f8ef76da977dd2877319226879ce3a3f9a Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:25:21 +0300 Subject: [PATCH 13/15] Update trade.yml --- Resources/Maps/_NF/POI/trade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Maps/_NF/POI/trade.yml b/Resources/Maps/_NF/POI/trade.yml index 730b908429a..d525031cadc 100644 --- a/Resources/Maps/_NF/POI/trade.yml +++ b/Resources/Maps/_NF/POI/trade.yml @@ -163,7 +163,7 @@ entities: version: 6 - type: Broadphase - type: Physics - bodyStatus: InAir + bodyStatus: OnGround angularDamping: 0.05 linearDamping: 0.05 fixedRotation: False From cf0ac95e3cd28f67ba8c5bc8c087dbb692eed5e2 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:26:34 +0300 Subject: [PATCH 14/15] Update FrictionRemoverSystem.cs --- .../Corvax/Physics/FrictionRemoverSystem.cs | 37 +++++++++---------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/Content.Shared/Corvax/Physics/FrictionRemoverSystem.cs b/Content.Shared/Corvax/Physics/FrictionRemoverSystem.cs index 7b02f290f99..983fb987d63 100644 --- a/Content.Shared/Corvax/Physics/FrictionRemoverSystem.cs +++ b/Content.Shared/Corvax/Physics/FrictionRemoverSystem.cs @@ -1,26 +1,25 @@ -//using Robust.Shared.Physics; -//using Robust.Shared.Physics.Components; -//using Robust.Shared.Physics.Systems; +using Robust.Shared.Physics; +using Robust.Shared.Physics.Components; +using Robust.Shared.Physics.Systems; -//namespace Content.Shared.SimpleStation14.Physics; +namespace Content.Shared.SimpleStation14.Physics; -//public sealed class FrictionRemoverSystem : EntitySystem -//{ -// [Dependency] private readonly SharedPhysicsSystem _physics = default!; +public sealed class FrictionRemoverSystem : EntitySystem +{ + [Dependency] private readonly SharedPhysicsSystem _physics = default!; -// public override void Initialize() -// { -// base.Initialize(); + public override void Initialize() + { + base.Initialize(); -// SubscribeLocalEvent(RemoveDampening); -// } + SubscribeLocalEvent(RemoveDampening); + } -// private void RemoveDampening(EntityUid uid, PhysicsComponent component, PhysicsSleepEvent args) -// { -// _physics.SetAngularDamping(component, 0, false); -// _physics.SetLinearDamping(component, 0); -// } -//} -// Пока не придумаем как закрепить станцию - не работает. + private void RemoveDampening(EntityUid uid, PhysicsComponent component, PhysicsSleepEvent args) + { + _physics.SetAngularDamping(component, 0, false); + _physics.SetLinearDamping(component, 0); + } +} From f87e4b4c27b37d1c9ba00383d06907cf3113327c Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Sat, 15 Jun 2024 02:27:37 +0300 Subject: [PATCH 15/15] Update MovementSpeedModifierComponent.cs --- .../Movement/Components/MovementSpeedModifierComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs b/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs index e85199dcc49..425fbd7510c 100644 --- a/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs +++ b/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs @@ -14,7 +14,7 @@ public sealed partial class MovementSpeedModifierComponent : Component // Weightless public const float DefaultMinimumFrictionSpeed = 0.005f; public const float DefaultWeightlessFriction = 1f; - public const float DefaultWeightlessFrictionNoInput = 0.2f; + public const float DefaultWeightlessFrictionNoInput = 0f; // Frontier public const float DefaultWeightlessModifier = 0.7f; public const float DefaultWeightlessAcceleration = 1f;