Page 1 of 1

on_force_technology, on_force_chunck_reached

Posted: Thu Dec 07, 2017 6:45 pm
by Angamara
I - on_force_technology
Called when a force ends a technology

Contains
force :: LuaForce
technology :: LuaTechnology


Why ?
Allows event based on technology.



II - on_force_chunck_reached
Called when a force reach a chunk

Contains
force :: LuaForce
area :: BoundingBox: Area of the chunk
surface :: LuaSurface: The surface the chunk is on
entity :: LuaEntity: The entity



Why ?
Allows event based on chunks.

Re: on_force_technology, on_force_chunck_reached

Posted: Thu Dec 07, 2017 7:13 pm
by Bilka
the first is http://lua-api.factorio.com/latest/even ... h_finished , the second might be http://lua-api.factorio.com/latest/even ... or_scanned depending on what you mean with "reached"

Re: on_force_technology, on_force_chunck_reached

Posted: Thu Dec 07, 2017 7:24 pm
by Angamara
Ho yes, for the first. I am blind. Thanks.

For the second, it's when characters or radar or anithing in this force remove the fog on chunk

Re: on_force_technology, on_force_chunck_reached

Posted: Thu Jan 18, 2018 5:06 am
by Rseding91
Ok, I added on_chunk_charted for the next version of 0.16.