Small fixes

This commit is contained in:
Aviu00
2024-01-25 14:55:49 +03:00
parent c5692b3588
commit 0fcefc84f5
4 changed files with 11 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ public sealed partial class FrezonCoolantReaction : IGasReactionEffect
var initialHyperNoblium = mixture.GetMoles(Gas.HyperNoblium);
if (initialHyperNoblium >= 5.0f && mixture.Temperature > 20f)
return ReactionResult.NoReaction;
var temperature = mixture.Temperature;
var energyModifier = 1f;

View File

@@ -1,6 +1,7 @@
using Content.Shared.Actions;
using Content.Shared.Bed.Sleep;
using Content.Shared.Damage.ForceSay;
using Content.Shared.Emoting;
using Content.Shared.Eye.Blinding.Systems;
using Content.Shared.Speech;
using Robust.Shared.Network;
@@ -26,6 +27,12 @@ namespace Content.Server.Bed.Sleep
SubscribeLocalEvent<SleepingComponent, SpeakAttemptEvent>(OnSpeakAttempt);
SubscribeLocalEvent<SleepingComponent, CanSeeAttemptEvent>(OnSeeAttempt);
SubscribeLocalEvent<SleepingComponent, EntityUnpausedEvent>(OnSleepUnpaused);
SubscribeLocalEvent<SleepingComponent, EmoteAttemptEvent>(OnTryEmote); // WD
}
private void OnTryEmote(EntityUid uid, SleepingComponent component, EmoteAttemptEvent args) // WD
{
args.Cancel();
}
private void OnSleepUnpaused(EntityUid uid, SleepingComponent component, ref EntityUnpausedEvent args)

View File

@@ -15,3 +15,6 @@
- type: Tag
tags:
- CannotSuicide
- CanPilot
- FootstepSound
- DoorBumpOpener

View File

@@ -25,9 +25,6 @@
- type: Tag
id: Crystal
- type: Tag
id: ZombifyableByMelee
- type: Tag
id: SpaceCash