add AEBS Misc mod with configurable broadcast unit system and shutoff warnings

This commit is contained in:
Overlord committed 2026-08-29 16:19:19 +02:00
1 parent c03873239f
commit 6b54c3a47f
4 files changed
+47

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
lib lib
.emmyrc.json .emmyrc.json
.*/ .*/
*.md
!README.md
luac.out luac.out
+6
View File
@@ -0,0 +1,6 @@
name=AEBS Misc
id=AEBSMisc
description=Lets the server choose Imperial or Metric (or Both) units for AEBS radio broadcasts, and adds toggleable Water and Power shutoff warnings to the AEBS feed.
author=Overlord_303
modversion=1.0.0
versionMin=42.0.0
@@ -0,0 +1,12 @@
{
"Sandbox_AEBSMisc": "AEBS Misc",
"Sandbox_AEBSMisc_Units": "AEBS broadcast units",
"Sandbox_AEBSMisc_Units_tooltip": "Which unit system AEBS radio broadcasts (temperature, wind speed) are rendered in for every listener, regardless of each player's own Display options. Both shows both units side by side, useful for mixed-preference audiences.",
"Sandbox_AEBSMisc_Units_option1": "Metric",
"Sandbox_AEBSMisc_Units_option2": "Imperial",
"Sandbox_AEBSMisc_Units_option3": "Both",
"Sandbox_AEBSMisc_AnnouncePowerShutoff": "Announce power shutoff",
"Sandbox_AEBSMisc_AnnouncePowerShutoff_tooltip": "Whether AEBS broadcasts warn about the power grid failing, based on the Electricity Shutoff Delay sandbox option.",
"Sandbox_AEBSMisc_AnnounceWaterShutoff": "Announce water shutoff",
"Sandbox_AEBSMisc_AnnounceWaterShutoff_tooltip": "Whether AEBS broadcasts warn about the water supply failing, based on the Water Shutoff Delay sandbox option."
}
@@ -0,0 +1,27 @@
VERSION = 1,
option AEBSMisc.Units
{
type = enum,
numValues = 3,
default = 1,
page = AEBSMisc,
translation = AEBSMisc_Units,
valueTranslation = AEBSMisc_Units,
}
option AEBSMisc.AnnouncePowerShutoff
{
type = boolean,
default = true,
page = AEBSMisc,
translation = AEBSMisc_AnnouncePowerShutoff,
}
option AEBSMisc.AnnounceWaterShutoff
{
type = boolean,
default = true,
page = AEBSMisc,
translation = AEBSMisc_AnnounceWaterShutoff,
}