Fix action interaction checks (#7502)
This commit is contained in:
@@ -31,6 +31,7 @@ namespace Content.Server.Guardian
|
|||||||
Description = "action-description-guardian",
|
Description = "action-description-guardian",
|
||||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/manifest.png")),
|
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/manifest.png")),
|
||||||
UseDelay = TimeSpan.FromSeconds(2),
|
UseDelay = TimeSpan.FromSeconds(2),
|
||||||
|
CheckCanInteract = false, // allow use while stunned, etc. Gets removed on death anyways.
|
||||||
Event = new GuardianToggleActionEvent(),
|
Event = new GuardianToggleActionEvent(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ public sealed class VocalComponent : Component
|
|||||||
Name = "action-name-scream",
|
Name = "action-name-scream",
|
||||||
Description = "AAAAAAAAAAAAAAAAAAAAAAAAA",
|
Description = "AAAAAAAAAAAAAAAAAAAAAAAAA",
|
||||||
Event = new ScreamActionEvent(),
|
Event = new ScreamActionEvent(),
|
||||||
|
CheckCanInteract = false, // system checks a speech related action blocker.
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user