Item created from assembly machine event?
Posted: Sat Sep 13, 2014 4:26 am
Hello,
I'm looking to make some sort of mod to add an endgame to factorio by maintaining a colony. Taking this in small steps first I want to be able to intercept the creation of an item from an assembly-machine type and use that to increment a variable. The game unfortunately doesn't have an event trigger for this - any ideas if this event can be intercepted? Thanks.
PS: My plan right now is to have assembly machines that act as colony homes which take goods and return nothing. I saw a water void mod which accomplished this but now I want to somehow intercept the creation event from the assembly machine to increment a variable which keeps track of how many times the assembly machine created a good (which is nothing in this case). This way we will have an assembly machine that takes an item - returns nothing - and changes the state of the game. From there we'd have the basis to make a colony simulation.
I'm looking to make some sort of mod to add an endgame to factorio by maintaining a colony. Taking this in small steps first I want to be able to intercept the creation of an item from an assembly-machine type and use that to increment a variable. The game unfortunately doesn't have an event trigger for this - any ideas if this event can be intercepted? Thanks.
PS: My plan right now is to have assembly machines that act as colony homes which take goods and return nothing. I saw a water void mod which accomplished this but now I want to somehow intercept the creation event from the assembly machine to increment a variable which keeps track of how many times the assembly machine created a good (which is nothing in this case). This way we will have an assembly machine that takes an item - returns nothing - and changes the state of the game. From there we'd have the basis to make a colony simulation.