mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* make pka smaller * re-buffs proto kinetic accelerator (#37012) * new ruins * genpop * nvm * abc * fuckin * turnstyle * ruins * stamp * abc * bruh * efg * pka fixed * range tweak * make lavaland 42kpa * rework pka modkits and quarter damage when in pressure * add modkits to points shop * add indoors modkit for traitors * change range to actually be range --------- Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: TytosB <54259736+TytosB@users.noreply.github.com>
15 lines
410 B
C#
15 lines
410 B
C#
using Content.Server.Atmos.EntitySystems;
|
|
using Content.Shared._DV.Projectiles;
|
|
|
|
namespace Content.Server._DV.Projectiles;
|
|
|
|
public sealed class PressureProjectileSystem : SharedPressureProjectileSystem
|
|
{
|
|
[Dependency] private readonly AtmosphereSystem _atmos = default!;
|
|
|
|
protected override float GetPressure(EntityUid uid)
|
|
{
|
|
return _atmos.GetContainingMixture(uid)?.Pressure ?? 0f;
|
|
}
|
|
}
|