Hah, that's...something. Modding factorio, it uses Entities to define the objects placed on the map, with lua.
You can edit one entity from inside another. o.O Took me a while to figure out why one thing was randomly not what I set it to, turned out the second thing had one line not renamed properly