buffy5490-DashboardAlarms icon

DashboardAlarms

Alarms for Dashboard charts: watch production, consumption, max production, use % of max or stock; alarm above/below a value or on a % drop, with chart flash, banner, game sounds (even with sound off) and snooze.

CHANGELOG

Changelog

1.0.1

  • README: screenshots of the alarm banner, the chart menu entry and the alarm editor, and a link to the Thunderstore page. No code changes.

1.0.0

  • First public release (Thunderstore). Everything below has been tested in game on 0.10.35.29151.
  • README rewritten for players; Thunderstore icon.

0.7.2

  • Fix: wrapped text (the delete confirmation, long alarm lines, the editor's notes) was clipped with the game's font, because Unity under-measures wrapped text in that font. Lines are now counted word by word.

0.7.1

  • Fix: with several alarms, the "Delete this alarm?" confirmation was cut off at the bottom of the banner. The banner now sizes itself from the height its content actually took, not an estimate.

0.7.0

  • The alarm editor, alarm list and banner are restyled to match the game's UI: the game's own font, dark translucent navy panels with a title band and cyan rule, cyan-edged flat buttons with hover/pressed states, filled cyan for the selected choice, game-style checkboxes, dark input fields with a cyan focus edge, thin scrollbars, accent-coloured section headers and dimmed help text. The banner is a dark red-washed panel with a pulsing red accent strip.

0.6.3

  • Fix: the last banner button ("Remove...") was pushed past the right edge and clipped; the line width now counts the margins around each button.
  • Confirmed in game: Edit, Snooze, Unsnooze and Remove work; Settings > Audio rows show correctly.

0.6.2

  • Banner lines have an Edit button that opens the alarm's settings.
  • Snooze all only shows when two or more alarms are going off (with one it repeated the line's Snooze).

0.6.1

  • Fix: the Settings > Audio options never appeared. The Audio tab keeps labels and controls in two separate columns ("labels" and "comps"); rows are now built by copying the label and the control into their own columns at the same height.

0.6.0

  • Banner lines have a Remove... button. It asks "Delete this alarm? ..." with Delete alarm / Keep, so a stray click can't remove an alarm. The dashboard chart is not touched.

0.5.0

  • Ack removed. Snooze is the only way to silence an alarm, and it is always time-limited, so an alarm can't be silenced and forgotten. Snoozed alarms stay in the banner (dimmed, with a countdown) and the chart border turns a steady dim red. A snoozed alarm clears if the value recovers, and alarms again as soon as the snooze ends if it hasn't. Unsnooze ends a snooze early.

0.4.0

  • Alarm volume defaults to 50% and is adjustable in the game's Settings > Audio tab ("Dashboard alarm volume" slider with a Test button), next to the "play with sound off" checkbox. A note under them says they come from the DashboardAlarms mod. All three are copies of the game's own settings rows, so they match its style.
  • Config: Sound.AlarmVolumePercent (0-100, default 50) replaces Sound.AlarmVolume.

0.3.0

  • New checkbox in the game's Settings > Audio tab: "Dashboard alarms play with sound off" (on by default). On: alarms play at Sound.AlarmVolume even with the game's master or sound effects volume down or off. Off: alarms follow the game's Game Master x Sound Effects volume. Saved on Apply; also Sound.PlayWithSoundOff in the config.

0.2.3

  • Banner sized from its text: long alarm lines wrap onto extra lines and the banner grows to fit; buttons are as wide as their labels. Same for the list window's buttons ("X" is now "Delete").
  • Confirmed in game: an alarm fires and shows the banner.

0.2.2

  • Alarm sounds no longer use the game's Sound Effects slider, so they are heard with effects turned off. They play through the mod's own 2D audio source at Sound.AlarmVolume (new, default 1) x the game's Game Master Volume.

0.2.1

  • Sounds play as plain 2D sounds at the listener, so the player's position can't make them inaudible.
  • The Test button writes a sound report to the BepInEx log (sound found, volumes, listener, whether it is playing).
  • A sound the game refuses is now logged instead of failing silently.

0.2.0

  • New "Watch" choices on production charts: Max production/min (the game's reference rate: what every powered machine making the item can output, counting proliferator) and Use % of max (consumption as a % of max production), e.g. "alarm when I'm using more than 90% of what I can make".
  • Production, consumption and net now use the chart's own time window (1 min, 10 min, 1 h, ...), so the alarm's value matches the number the chart shows. Charts set to "total" use 1 minute.
  • Play sound: pick one or more sounds; they play together. Old saves keep their single sound.
  • The selected choice in each button group is now clearly highlighted.
  • Storage and max-production recounts are only trusted when they include the alarm's own planets, and are requested even while the dashboard keeps the game's counter busy.
  • The editor now loads in game (v0.1.0 menu entry and window confirmed working).

0.1.0

  • First version: alarms on item production (production/consumption/net per minute) and item storage (stock) dashboard charts.
  • Below / above / % drop from average triggers, per-alarm hold time.
  • Flashing chart border, top-of-screen banner, built-in game sound with optional repeat.
  • Acknowledge and snooze, per alarm or all at once; alarm list (Ctrl+Shift+A).
  • Saved per save file through DSPModSave.