Broadcast the notify event when a cryptic event happens

This commit is contained in:
Eldritch-Oliver 2025-10-08 23:06:40 -06:00
parent e06c500b5c
commit dad9ab860c

View file

@ -228,6 +228,13 @@ export class DelveDiceHUD extends HandlebarsApplicationMixin(ApplicationV2) {
localizer(`RipCrypt.notifs.info.cryptic-event-alert`),
{ console: false },
);
game.socket.emit(`system.ripcrypt`, {
event: `notify`,
payload: {
message: `RipCrypt.notifs.info.cryptic-event-alert`,
type: `info`,
},
});
};
if ([`both`, `pause`].includes(alertType) && game.user.isGM) {