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
9

Downloads

MarchMar 02Mon 03Tue 04Wed 05Thu 06Fri 07Sat 08Mar 09Mon 10Tue 11Wed 12Thu 13Fri 14Sat 15012345678910↑ Daily Downloads
Release downloads Mod downloads