bloodred magboots buff (#18948)

* bloodred jetboots

* fix actionbar
This commit is contained in:
Ilya246
2023-08-13 11:17:09 +04:00
committed by GitHub
parent bfa6b3bc3d
commit 642d9b021f
4 changed files with 77 additions and 27 deletions

View File

@@ -26,10 +26,10 @@ public abstract class SharedMagbootsSystem : EntitySystem
SubscribeLocalEvent<MagbootsComponent, GetVerbsEvent<ActivationVerb>>(AddToggleVerb);
SubscribeLocalEvent<MagbootsComponent, InventoryRelayedEvent<SlipAttemptEvent>>(OnSlipAttempt);
SubscribeLocalEvent<MagbootsComponent, GetItemActionsEvent>(OnGetActions);
SubscribeLocalEvent<MagbootsComponent, ToggleActionEvent>(OnToggleAction);
SubscribeLocalEvent<MagbootsComponent, ToggleMagbootsEvent>(OnToggleMagboots);
}
private void OnToggleAction(EntityUid uid, MagbootsComponent component, ToggleActionEvent args)
private void OnToggleMagboots(EntityUid uid, MagbootsComponent component, ToggleMagbootsEvent args)
{
if (args.Handled)
return;
@@ -89,3 +89,5 @@ public abstract class SharedMagbootsSystem : EntitySystem
args.Actions.Add(component.ToggleAction);
}
}
public sealed class ToggleMagbootsEvent : InstantActionEvent {}