Computer Core

by Relik77

Computer is a modification for Factorio that’s all about computer programming. It allows you to write programs using the Lua programming language.

Utilities
6 years ago
0.15 - 0.16
25

g Extend API

6 years ago

Hi, this is really great mod indeed.

Is it possible to extend API access to LuaGameScript read-only methods for example?

6 years ago

Hi,

This is possible of course, but what methods do you think for example?

The idea is to limit access to factorio APIs in order to avoid hijacking the use of the mod (cheat). So, I prefer to extend APIs (OS for example) by explicitly listing the available functions.
In some cases, I can include in the manner of a global variable, the native APIs (ex: Factorio Defines API)

New response