An example of oop in Factorio which works through save-load and multiplayer. deprecated


But this version doesn't help you enough. I'll update it in the future. Metatable feature is very powerful when people do oop in lua. But in Factorio-lua, metatable feature is not practical at all especially for the giant project. This tiny example shows a practical way to do oop-like enough programming in Factorio-lua.

3 years ago
1.1
8
Latest version:
1.0.0
Factorio version:
1.1
Version Game Version Download Release Date Downloads
1.0.0 1.1 Download 3 years ago 25