MortenTobiasNielsen / Factorio-TAS-Generator

This is an attempt to create a helper tool for Tool Assisted Speedruns in Factorio. A guide of how to use the tool can be found here: https://www.youtube.com/watch?v=V9tuNoDqc0E&t
MIT License
13 stars 4 forks source link

State modifiers #261

Closed theis999 closed 1 year ago

theis999 commented 1 year ago

State modifier warnings

Added 4 state modifiers that enable specific warnings

image

Each is very similar, with the condition that triggers them being the most different.

They are each toggling. So step x enables them, and step x+y disables them. They are toggled in the pre-tick, The condition of them is checked in post-tick They each use the same function to print the warnings to the player

I put the names of them into a table so it is easier to manage. I also used localized strings for the string messages.

This is built on #258