Optera's Library

by Optera
Utilities used in many of my mods bundled into one package.
a month ago
0.17
68241
Owner: Optera
Source: Yousei9/Opteras-Library
Homepage: https://github.com/Yousei9/Opteras-Li...
License: MIT
Created: 3 months ago
Latest Version: 0.1.7 (a month ago)
Factorio version: 0.17
Downloaded: 68241 times

A library of functions I often use and got tired of maintaining in every mod.

Usage:

Make whole module available:
local optera_lib = require("__OpteraLib__.script.misc")
optera_lib.get_distance()

Note: The library creates a global reference optera_lib, allowing direct access to functions:
optera_lib.copy_prototype()

Make single function available:
local get_distance = require("__OpteraLib__.script.misc").copy_prototype
get_distance()

Full Description available at : https://github.com/Yousei9/Opteras-Library/wiki