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
Direction:
This mod 1 From other mods 11
Dependency types:
Default 1 Required 1 Conflict 0 Optional 0 Hidden 0
Sort by:
Default Type Name Version Downloads
Dependency 0
base >= 1.1 -
Last dependency data update: 17 hours ago (for v1.0.0)