Factorio seems to be an hard-coded game, only reading values from editable files - and it makes (at least for me) modding for factorio really frustrating because so much potential is wasted here and the restrictions are not even consistent...
It seems every option the devs didn't foresee and hard-code into the game is simply impossible.
2 examples from my work:
- I've created a tank shooting rockets (viewtopic.php?f=93&t=25935) - it wasn't hard, factorio simply supports a tank armed with rockets, so no problem at all.
I tried to create a solar-thermic boiler (sun heats water) which seems to have no simple solution: Only 1 entity is able to heat water: The boiler.
And boilers only support burning solid fuels - no oil, no gas, no electric energy, no solar energy
At least a little help would be a function which is called for every instance of an object in every tick, so i could create (for my example above) my solar boiler as an instance of a small pump which heats the water in it's fluid box according to solar intensity...
(sry for my bad english)
Edit: Just to prevent misunderstandings:
The problem is not the unit description in the lua-files, it's the non-modular binary code of the game (and sometimes the documentation)FreeER wrote: However, all I see with the xml here is another way to specify the exact same things that lua already does without having to rework how anything is loaded.
>This game could be twice as great if mods could create nearly everything