Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework grab system and some changes #306

Merged
merged 35 commits into from
Apr 5, 2025
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9aeb0c7
увеличение
Erkilana Mar 24, 2025
9071fbc
Изменения количества тайлов блобов для победы
Mar 25, 2025
b6c01de
изменил голос диктора на НАШ.
Mar 25, 2025
d19aaef
Изменил новые звуки. С таусети. Переправил оутбрек в корвакс некст миск
Mar 25, 2025
24f00e9
oggC -> ogg
ksen0morph Mar 25, 2025
e05f4b7
изменение мехаинки захвата и навыков захвата. + фикс бага с коллектив…
Mar 26, 2025
822a1b3
Merge branch 'blob-balance' of https://github.com/Erkilana/space-stat…
Mar 26, 2025
78fee27
бафф чуток
Mar 26, 2025
6499639
Merge branch 'master' into blob-balance
ksen0morph Mar 26, 2025
fbf58f5
удаление BinaryMind
Mar 26, 2025
74e61c5
Merge branch 'blob-balance' of https://github.com/Erkilana/space-stat…
Mar 26, 2025
92c22d9
разрезание без скила занимает на 80 процентов больше времени, а не на…
Mar 26, 2025
9cb0ae9
Срочный баг фикс. я точку вместо запятой поставил
Mar 26, 2025
8e86c54
я сонный дуралей. забыл все
Mar 26, 2025
2fba90d
блоб фикс опять. и чуток бафф.
Mar 26, 2025
6041866
фикс бага и откат изменений
Mar 27, 2025
54061a3
исправлен баг с разделкойи кидалка дана гсб
Mar 29, 2025
4010826
не сигма код
Mar 30, 2025
4296776
Update Content.Server/Kitchen/EntitySystems/SharpSystem.cs
Erkilana Mar 30, 2025
a6cfba3
багфикс
Mar 30, 2025
b1afee6
Merge branch 'blob-balance' of https://github.com/Erkilana/space-stat…
Mar 30, 2025
de163d7
фикс
Mar 30, 2025
86f1a2b
комментарии
Apr 3, 2025
6472e86
убрал лишнюю строчку
Apr 3, 2025
a15f8a0
Update Content.Shared/Movement/Pulling/Systems/PullingSystem.cs
Erkilana Apr 4, 2025
f4c7503
modified: Content.Server/Kitchen/EntitySystems/SharpSystem.cs
Apr 4, 2025
3ed6ba0
убрал строченьку
Apr 4, 2025
4d2515d
Update Resources/Prototypes/_Goobstation/CollectiveMind/collective_mi…
Erkilana Apr 5, 2025
c1e59fc
Update Content.Shared/Movement/Pulling/Components/CanChokeGrabCompone…
Erkilana Apr 5, 2025
6f87a60
Update Content.Shared/Movement/Pulling/Components/CanChokeGrabCompone…
Erkilana Apr 5, 2025
91feedf
Update Resources/Prototypes/_Goobstation/CollectiveMind/tags.yml
Erkilana Apr 5, 2025
e776873
modified: Resources/Prototypes/Maps/Relic.yml
Apr 5, 2025
1ba95a0
modified: Resources/Prototypes/Maps/Relic.yml
Apr 5, 2025
66ac0bf
Merge branch 'master' of https://github.com/space-syndicate/space-sta…
Apr 5, 2025
d50bcb4
Антигиб система
Apr 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Server/Kitchen/EntitySystems/KitchenSpikeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public sealed class KitchenSpikeSystem : SharedKitchenSpikeSystem
[Dependency] private readonly SharedSuicideSystem _suicide = default!;
[Dependency] private readonly SharedSkillsSystem _skills = default!;

private const float ButcherDelayModifierWithoutSkill = 5;
private const float ButcherDelayModifierWithoutSkill = 1.8f;

public override void Initialize()
{
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Kitchen/EntitySystems/SharpSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Server.Body.Systems;
using Content.Server.Body.Systems;
using Content.Server.Kitchen.Components;
using Content.Server.Nutrition.EntitySystems;
using Content.Shared.Body.Components;
Expand Down Expand Up @@ -36,7 +36,7 @@ public sealed class SharpSystem : EntitySystem
[Dependency] private readonly ISharedAdminLogManager _adminLogger = default!;
[Dependency] private readonly SharedSkillsSystem _skills = default!;

private const float ButcherDelayModifierWithoutSkill = 5;
private const float ButcherDelayModifierWithoutSkill = 1.8f;

public override void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace Content.Server._Goobstation.Blob.Components;
[RegisterComponent]
public sealed partial class StationBlobConfigComponent : Component
{
public const int DefaultStageBegin = 30;
public const int DefaultStageCritical = 400;
public const int DefaultStageEnd = 800;
public const int DefaultStageBegin = 40;
public const int DefaultStageCritical = 1000;
public const int DefaultStageEnd = 1600;

[DataField]
public int StageBegin { get; set; } = DefaultStageBegin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed class BlobRuleSystem : GameRuleSystem<BlobRuleComponent>
[Dependency] private readonly AlertLevelSystem _alertLevelSystem = default!;
[Dependency] private readonly IChatManager _chatManager = default!;

private static readonly SoundPathSpecifier BlobDetectAudio = new ("/Audio/Announcements/outbreak5.ogg");
private static readonly SoundPathSpecifier BlobDetectAudio = new ("/Audio/_CorvaxNext/Misc/outbreak5.ogg");
public override void Initialize()
{
base.Initialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Content.Server.GameTicking.Rules.Components;
public sealed partial class BlobRuleComponent : Component
{
[DataField]
public SoundSpecifier? AlertAudio = new SoundPathSpecifier("/Audio/Announcements/outbreak5.ogg");
public SoundSpecifier? AlertAudio = new SoundPathSpecifier("/Audio/_CorvaxNext/Misc/blob_critical.ogg");

[ViewVariables]
public List<(EntityUid mindId, MindComponent mind)> Blobs = new(); //BlobRoleComponent
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

using Robust.Shared.GameStates;
namespace Content.Shared.Movement.Pulling.Components;

[RegisterComponent, NetworkedComponent]
public sealed partial class CanChokeGrabComponent : Component { }
14 changes: 7 additions & 7 deletions Content.Shared/Movement/Pulling/Components/PullerComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ public sealed partial class PullerComponent : Component
public Dictionary<GrabStage, float> EscapeChances = new()
{
{ GrabStage.No, 1f },
{ GrabStage.Soft, 0.7f },
{ GrabStage.Hard, 0.4f },
{ GrabStage.Suffocate, 0.1f },
{ GrabStage.Soft, 0.3f },
{ GrabStage.Hard, 0.2f },
{ GrabStage.Suffocate, 0.01f },
};

[DataField]
public float SuffocateGrabStaminaDamage = 10f;
public float SuffocateGrabStaminaDamage = 30f;

[DataField]
public float GrabThrowDamageModifier = 2f;
Expand All @@ -94,7 +94,7 @@ public sealed partial class PullerComponent : Component
};

[DataField]
public float StaminaDamageOnThrown = 120f;
public float StaminaDamageOnThrown = 210f;

[DataField]
public float GrabThrownSpeed = 7f;
Expand All @@ -106,10 +106,10 @@ public sealed partial class PullerComponent : Component
public float SoftGrabSpeedModifier = 0.9f;

[DataField]
public float HardGrabSpeedModifier = 0.7f;
public float HardGrabSpeedModifier = 0.5f;

[DataField]
public float ChokeGrabSpeedModifier = 0.4f;
public float ChokeGrabSpeedModifier = 0.2f;
// Goobstation end
}

Expand Down
3 changes: 2 additions & 1 deletion Content.Shared/Movement/Pulling/Systems/PullingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
using Robust.Shared.Player;
using Robust.Shared.Random; // Goobstation
using Robust.Shared.Timing;

namespace Content.Shared.Movement.Pulling.Systems;

/// <summary>
Expand Down Expand Up @@ -823,6 +822,8 @@ public bool TryGrab(Entity<PullableComponent?> pullable, Entity<PullerComponent?
if (!ignoreCombatMode)
if (!_combatMode.IsInCombatMode(puller))
return false;
if (!HasComp<CanChokeGrabComponent>(puller))
return false;

// It's blocking stage update, maybe better UX?
if (puller.Comp.GrabStage == GrabStage.Suffocate)
Expand Down
4 changes: 2 additions & 2 deletions Content.Shared/_CorvaxNext/NextVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public sealed class NextVars
CVarDef.Create("mood.enabled", false, CVar.SERVER);

public static readonly CVarDef<bool> MoodIncreasesSpeed =
CVarDef.Create("mood.increases_speed", true, CVar.SERVER);
CVarDef.Create("mood.increases_speed", false, CVar.SERVER);

public static readonly CVarDef<bool> MoodDecreasesSpeed =
CVarDef.Create("mood.decreases_speed", true, CVar.SERVER);
CVarDef.Create("mood.decreases_speed", false, CVar.SERVER);

public static readonly CVarDef<bool> MoodModifiesThresholds =
CVarDef.Create("mood.modify_thresholds", false, CVar.SERVER);
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_Goobstation/blob/blob.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ blob-description = Показатели биобезопасности стан
ghost-role-information-blobbernaut-name = блоббернаут
ghost-role-information-blobbernaut-description = Вы массивный блоббернаут, защищайте ядро блоба или следуйте его приказам.

ghost-role-information-blobpod-name = блобик
ghost-role-information-blobpod-description = Вы мерзкая сущность, что зомбирует людей. Служите Блобу!
ghost-role-information-blob-name = блоб
ghost-role-information-blob-description = Ты блоб, вы должны захватить эту станцию.

Expand Down
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/Ishimura.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
Reporter: [ 1, 1 ]
# silicon
Borg: [ 2, 3 ]
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/amber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 2 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
- VirusologyAmbusol
- AstraRepair
- BluespaceHarvest
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/avrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
StationAi: [ 1, 1 ]
Borg: [ 2, 3 ]

# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/awesome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 2 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/bagel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
#silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 2 ]
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 3 ]
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/cute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 1, 1 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/delta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@
- XenobiologyRepair
- VirusologyAmbusol
- BluespaceHarvest
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 1000
stageTheEnd: 1600
# Corvax-next blob-config-end
8 changes: 4 additions & 4 deletions Resources/Prototypes/Corvax/Maps/Next/glacier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
- Botany
- Bunker
- BluespaceHarvest
# Goobstation blob-config-start HUGEs
# Corvax-next blob-config-start HUGEs
- type: StationBlobConfig
stageBegin: 40
stageCritical: 450
stageTheEnd: 900
# Goobstation blob-config-end
stageCritical: 700
stageTheEnd: 1200
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/marathon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 2 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/maus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 1, 1 ]
# Goobstation blob-config-start LOW
# Corvax-next blob-config-start LOW
- type: StationBlobConfig
stageBegin: 15
stageCritical: 200
stageTheEnd: 400
# Goobstation blob-config-end
stageBegin: 20
stageCritical: 300
stageTheEnd: 600
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/omega.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 2, 2 ]
# Goobstation blob-config-start LOW
# Corvax-next blob-config-start LOW
- type: StationBlobConfig
stageBegin: 15
stageCritical: 200
stageTheEnd: 400
# Goobstation blob-config-end
stageBegin: 20
stageCritical: 300
stageTheEnd: 600
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/outpost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
# silicon
Borg: [ 1, 1 ]
StationAi: [ 1, 1 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/packed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
# silicon
StationAi: [ 1, 1 ]
Borg: [ 1, 1 ]
# Goobstation blob-config-start LOW
# Corvax-next blob-config-start LOW
- type: StationBlobConfig
stageBegin: 15
stageCritical: 200
stageTheEnd: 400
# Goobstation blob-config-end
stageBegin: 20
stageCritical: 300
stageTheEnd: 600
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
#silicon
StationAi: [ 1, 1 ]
Borg: [ 3, 3 ]
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
10 changes: 5 additions & 5 deletions Resources/Prototypes/Corvax/Maps/Next/pearl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
- Bunker
- Survive
- BluespaceHarvest
# Goobstation blob-config-start SMALL+
# Corvax-next blob-config-start SMALL+
- type: StationBlobConfig
stageBegin: 25
stageCritical: 350
stageTheEnd: 700
# Goobstation blob-config-end
stageBegin: 40
stageCritical: 500
stageTheEnd: 900
# Corvax-next blob-config-end
Loading
Loading