Comoss sewers (zlevels added) (#655)

* comoss zlevel sewers

* Update biome_template_caves.yml

* Update GhostSystem.cs

* Update GhostSystem.cs
This commit is contained in:
Ed
2024-12-10 00:43:30 +03:00
committed by GitHub
parent 22b0f46890
commit 99786342fb
14 changed files with 45070 additions and 309 deletions

View File

@@ -213,13 +213,13 @@ namespace Content.Server.Ghost
private void OnMapInit(EntityUid uid, GhostComponent component, MapInitEvent args)
{
//if (_actions.AddAction(uid, ref component.BooActionEntity, out var act, component.BooAction)
// && act.UseDelay != null)
//{
// var start = _gameTiming.CurTime;
// var end = start + act.UseDelay.Value;
// _actions.SetCooldown(component.BooActionEntity.Value, start, end);
//}
if (_actions.AddAction(uid, ref component.BooActionEntity, out var act, component.BooAction)
&& act.UseDelay != null)
{
var start = _gameTiming.CurTime;
var end = start + act.UseDelay.Value;
_actions.SetCooldown(component.BooActionEntity.Value, start, end);
}
_actions.AddAction(uid, ref component.ToggleGhostHearingActionEntity, component.ToggleGhostHearingAction);
_actions.AddAction(uid, ref component.ToggleLightingActionEntity, component.ToggleLightingAction);