-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Now I have made it very simplistic and you may need many more states to accurately make you system flow but I hope you get the idea. There are various state machine plugins for Godot that you can find, I personally like https://github.com/imjp94/gd-YAFSM
For the AI if you want something that is industry standard to control the flow you need to use again some sort of state machine or better a behaviour tree. With a behaviour tree you can have lots of nuance. My favourite behavior tree plugin is: https://github.com/GabrieleTorini/godot-behavior-tree