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:
1 file changed
+8
-1
@@ -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")
|
||||
}
|
||||
Reference in new issue
Block a user