mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Hardbombs & Defusables (#15380)
Co-authored-by: Kara <lunarautomaton6@gmail.com> Co-authored-by: Just-a-Unity-Dev <just-a-unity-dev@users.noreply.github.com> Co-authored-by: LankLTE <twlowe06@gmail.com> Co-authored-by: LankLTE <135308300+LankLTE@users.noreply.github.com>
This commit is contained in:
co-authored by
Kara
Just-a-Unity-Dev
LankLTE
LankLTE
parent
75bf7bc6e8
commit
133ca98655
@@ -221,6 +221,14 @@ namespace Content.Server.Explosion.EntitySystems
|
||||
return triggerEvent.Handled;
|
||||
}
|
||||
|
||||
public void TryDelay(EntityUid uid, float amount, ActiveTimerTriggerComponent? comp = null)
|
||||
{
|
||||
if (!Resolve(uid, ref comp, false))
|
||||
return;
|
||||
|
||||
comp.TimeRemaining += amount;
|
||||
}
|
||||
|
||||
public void HandleTimerTrigger(EntityUid uid, EntityUid? user, float delay , float beepInterval, float? initialBeepDelay, SoundSpecifier? beepSound)
|
||||
{
|
||||
if (delay <= 0)
|
||||
|
||||
Reference in New Issue
Block a user