Muppet GUIs


Used by streaming integrations to put text in the game

Tweaks
1 year, 5 months ago
0.18 - 1.1
365

Changelog

Version: 20.0.6
Date: 2022-11-05
  Features:
  Changes:
    - Changed the background option of `brightYellow` to be called `brightOrange` as this is its actual color.
  Bugfixes:
    - Before the background option of `brightYellow` was incorrectly reported as an invalid value. The new `brightOrange` value does work correctly.
  Info:
Version: 20.0.5
Date: 2022-10-27
  Features:
  Changes:
  Bugfixes:
    - Fix crash specifically when mod was upgraded from 20.0.3 to 20.0.4 and the mod had never scheduled a Message GUI to be removed.
  Info:
Version: 20.0.4
Date: 2022-10-23
  Features:
    - Added remote interface to add Gui text in addition to the existing Factorio command.
    - Added optional `transparent`, `contentInnerLight`, `brightRed`, `brightGreen` and `brightYellow` background option. Defaults to main Factorio grey color.
    - Added optional close button color option to be either white or black. Defaults to white.
    - Added `aboveCenter` and `belowCenter` values for the `position` option. These are offsets from the center of the screen by about 1/3 screen height.
    - Added `timer` functionality and option group. Support counting up/down from a starting value, and displaying the number in a given max time unit. Display as either just seconds or minutes:seconds.
    - Added large text size of `huge`, `massive` and `gigantic`. Actual font sizes of all are in readme.
    - Added remote interface to remove a message. The add message remote interface returns the created messageId for use when removing it.
  Changes:
    - Custom colors renamed to be camel cased; only colors affected are `lightred` to `lightRed`, and `guiHeadingColor` to `guiHeadingColor`. The standard color names in the list remain all lower cased as they were before. `lightred` was in example text in readme previously.
    - Small text gets a smaller x close button so the GUI background isn't expanded just for it.
    - number options must be supplied as numbers, you can't provide them as strings any more. The other data types didn't do conversation before.
  Bugfixes:
  Info:
    - Mod tidy up - Mod globals related to close buttons will remove themselves when finished with. Avoids the global list getting infinitely long which could in theory cause slowness or save file size growth over millennium. Makes any future debugging easier.
    - Any old Message GUI's are removed as part of upgrading to this version. This is as a lot of back end state changes were made and it would be a nightmare to try and create the new data structure for these old entries. Just wait to update the mod when the old message GUIs are gone if they are critical to you.
Version: 20.0.3
Date: 2020-12-02
  Features:
    - Update to Factorio 1.1 as-is.
  Changes:
  Bugfixes:
    - Fix crash for regular type font usage.
  Info:
    - Update to latest Utility library. Messages created in older mod versions may not display correctly.
Version: 18.0.2
Date: 2020-02-16
  Features:
    - Simple text has a "maxWidth" OPTIONAL option to limit the width and wrap the message text on to new lines.
  Changes:
    - Updated to use updated Muppet GUI and style library for compatibility with other mods. Visually approximately the same.
  Bugfixes:
  Info:
Version: 18.0.1
Date: 2020-01-26
  Features:
  Changes:
  Bugfixes:
    - fix issue when clicking in unexpected gui elements, i.e. flows.
  Info:
Version: 18.0.0
Date: 2020-01-23
  Features:
    - Initial Release
  Changes:
  Bugfixes:
  Info: