ну чето вроде пофиксилось
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using Content.Shared.Eye;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Content.Shared.Physics;
|
||||
@@ -16,13 +16,13 @@ public sealed class IncorporealSystem : EntitySystem
|
||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private readonly VisibilitySystem _visibilitySystem = default!;
|
||||
[Dependency] private readonly SharedStealthSystem _stealth = default!;
|
||||
[Dependency] private readonly TransformSystem _transform = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<IncorporealComponent, ComponentStartup>(OnComponentInit);
|
||||
SubscribeLocalEvent<IncorporealComponent, ComponentShutdown>(OnComponentRemoved);
|
||||
SubscribeLocalEvent<IncorporealComponent, RefreshMovementSpeedModifiersEvent>(OnRefresh);
|
||||
|
||||
}
|
||||
|
||||
private void OnComponentInit(EntityUid uid, IncorporealComponent component, ComponentStartup args)
|
||||
@@ -37,8 +37,8 @@ public sealed class IncorporealSystem : EntitySystem
|
||||
|
||||
if (TryComp<VisibilityComponent>(uid, out var visibility))
|
||||
{
|
||||
_visibilitySystem.AddLayer(uid, visibility, (int) VisibilityFlags.Ghost, false);
|
||||
_visibilitySystem.RemoveLayer(uid, visibility, (int) VisibilityFlags.Normal, false);
|
||||
_visibilitySystem.AddLayer((uid, visibility), (int) VisibilityFlags.Ghost, false);
|
||||
_visibilitySystem.RemoveLayer((uid, visibility), (int) VisibilityFlags.Normal, false);
|
||||
_visibilitySystem.RefreshVisibility(uid);
|
||||
}
|
||||
|
||||
@@ -60,14 +60,13 @@ public sealed class IncorporealSystem : EntitySystem
|
||||
|
||||
if (TryComp<VisibilityComponent>(uid, out var visibility))
|
||||
{
|
||||
_visibilitySystem.RemoveLayer(uid, visibility, (int) VisibilityFlags.Ghost, false);
|
||||
_visibilitySystem.AddLayer(uid, visibility, (int) VisibilityFlags.Normal, false);
|
||||
_visibilitySystem.RemoveLayer((uid, visibility), (int) VisibilityFlags.Ghost, false);
|
||||
_visibilitySystem.AddLayer((uid, visibility), (int) VisibilityFlags.Normal, false);
|
||||
_visibilitySystem.RefreshVisibility(uid);
|
||||
}
|
||||
|
||||
component.MovementSpeedBuff = 1;
|
||||
|
||||
Spawn("EffectEmpPulse", Transform(uid).Coordinates);
|
||||
Spawn("EffectEmpPulse", _transform.GetMapCoordinates(uid));
|
||||
_stealth.SetVisibility(uid, 1);
|
||||
RemComp<StealthComponent>(uid);
|
||||
_movement.RefreshMovementSpeedModifiers(uid);
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Content.Shared.Atmos
|
||||
/// <summary>
|
||||
/// This is calculated to help prevent singlecap bombs (Overpowered tritium/oxygen single tank bombs)
|
||||
/// </summary>
|
||||
public const float MinimumTritiumOxyburnEnergy = 430000f;
|
||||
public const float MinimumTritiumOxyburnEnergy = 143000f;
|
||||
|
||||
public const float TritiumBurnOxyFactor = 100f;
|
||||
public const float TritiumBurnTritFactor = 10f;
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
sprite: Structures/Storage/canister.rsi
|
||||
state: redws
|
||||
product: NitrousOxideCanister
|
||||
cost: 1300
|
||||
cost: 3000
|
||||
category: Atmospherics
|
||||
group: market
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
sprite: Structures/Storage/canister.rsi
|
||||
state: purple
|
||||
product: BZCanister
|
||||
cost: 3500
|
||||
cost: 7000
|
||||
category: Atmospherics
|
||||
group: market
|
||||
|
||||
@@ -138,6 +138,6 @@
|
||||
sprite: Structures/Storage/canister.rsi
|
||||
state: darkblue
|
||||
product: PluoxiumCanister
|
||||
cost: 3500
|
||||
cost: 10500
|
||||
category: Atmospherics
|
||||
group: market
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
sprite: Clothing/OuterClothing/Armor/security.rsi
|
||||
state: icon
|
||||
product: CrateSecurityArmor
|
||||
cost: 700
|
||||
cost: 750
|
||||
category: cargoproduct-category-name-security
|
||||
group: market
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockClothesFilled
|
||||
cost: 6000
|
||||
cost: 130000
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockCondimentStationFilled
|
||||
cost: 300
|
||||
cost: 400
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockMedicalFilled
|
||||
cost: 1750
|
||||
cost: 2200
|
||||
category: cargoproduct-category-name-medical
|
||||
group: market
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockRobustSoftdrinksFilled
|
||||
cost: 1200
|
||||
cost: 1700
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockSeedsFilled
|
||||
cost: 3375
|
||||
cost: 3600
|
||||
category: cargoproduct-category-name-hydroponics
|
||||
group: market
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockRoboticsFilled
|
||||
cost: 1600
|
||||
cost: 1800
|
||||
category: cargoproduct-category-name-science
|
||||
group: market
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockGetmoreChocolateCorpFilled
|
||||
cost: 1200
|
||||
cost: 1450
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
sprite: Objects/Specific/Service/vending_machine_restock.rsi
|
||||
state: base
|
||||
product: CrateVendingMachineRestockDiscountDansFilled
|
||||
cost: 1200
|
||||
cost: 1300
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
- id: ClothingUniformJumpsuitLawyerBlack
|
||||
- id: ClothingShoesBootsLaceup
|
||||
- id: ClothingHandsGlovesCombat # WD edit
|
||||
- id: BarberScissors
|
||||
|
||||
- type: entity
|
||||
id: BriefcaseSyndieLobbyingBundleFilled
|
||||
|
||||
@@ -73,7 +73,6 @@
|
||||
- id: ClothingUniformJumpsuitHoSAlt
|
||||
- id: ClothingUniformJumpskirtHosFormal
|
||||
- id: ClothingUniformJumpsuitHosFormal
|
||||
- id: ClothingMaskNeckGaiter
|
||||
- id: ClothingHandsGlovesCombat
|
||||
- id: ClothingOuterWinterHoS
|
||||
|
||||
|
||||
@@ -602,7 +602,7 @@
|
||||
suffix: Agent
|
||||
components:
|
||||
- type: PresetIdCard
|
||||
job: ассистент
|
||||
job: Passenger
|
||||
- type: Access
|
||||
tags:
|
||||
- Maintenance
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
acts: [ "Destruction" ]
|
||||
- type: Storage
|
||||
grid:
|
||||
- 0,0,6,3
|
||||
- 0,0,6,4
|
||||
maxItemSize: Normal
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
|
||||
@@ -176,19 +176,6 @@
|
||||
sprite: Objects/Misc/rifle_stock.rsi
|
||||
state: icon
|
||||
|
||||
- type: construction
|
||||
name: improvised explosive device
|
||||
id: improvisedexplosive
|
||||
graph: ImprovisedExplosive
|
||||
startNode: start
|
||||
targetNode: ied
|
||||
category: construction-category-weapons
|
||||
objectType: Item
|
||||
description: A weak, improvised incendiary device.
|
||||
icon:
|
||||
sprite: Objects/Weapons/Bombs/ied.rsi
|
||||
state: icon
|
||||
|
||||
- type: construction
|
||||
name: cotton woven cloth
|
||||
id: CottonWovenCloth
|
||||
|
||||
Reference in New Issue
Block a user