Optera's Library

by Optera
Utilities used in many of my mods bundled into one package.
7 days ago
0.17
31886
Owner: Optera
Source: Yousei9/Opteras-Library
Homepage: https://github.com/Yousei9/Opteras-Li...
License: MIT
Created: a month ago
Latest Version: 0.1.5 (7 days ago)
Factorio version: 0.17
Downloaded: 31886 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