feat(announcement): add configuration table for announcement module

Initialize the BladW.Announcement.Conf configuration table with announcement style and duration settings. The announcement_style can be set to either 'simple' or 'loader', and announcement_duration controls the display time in seconds for loader style announcements.
This commit is contained in:
nocode committed 2026-07-20 12:46:51 +02:00
1 parent a476a2e017
commit 077a0d4357
1 file changed
+8 -1
+8 -1
View File
@@ -1 +1,8 @@
print("sh_config.lua")
BladW = BladW or {}
BladW.Announcement = BladW.Announcement or {}
BladW.Announcement.Conf = BladW.Announcement.Conf or {}
BladW.Announcement.Conf = {
announcement_style = "simple", -- "simple" or "loader"
announcement_duration = 10, -- temps d'affichage de l'annonce en secondes (barre "loader")
}