SComputers - Api Reference

SComputers, this is a fork of the ScriptableComputer mod
this fork is compatible with the code of the original ScriptableComputer
however, programs written for this mod will not work on the original ScriptableComputer

in the original "ScriptableComputer" luaInLua worked terribly and contained a bunch of bugs.
SComputers uses a FiOne_lua virtual machine that runs about 5 times faster
and it does not contain any bugs except for the lack of "goto" support.
now the number of iterations is unlimited, but the execution time of one tick is limited, if the computer does not have time to execute the code in time, an error will pop up
you can configure how much the computer can "delay" the game-tick in the "Permission Tool" (by default: 4 ticks)
if you install the betterAPI dll mod, SComputers will use native lua, which will significantly increase performance.

SComputers has a lag-score mechanic that prevents lags from being called
if the computer runs the code for a long time (it takes a lot of processor time) then he is credited with a lag-score, which can lead to missing clock cycles. which actually means that you won't get control for the next tick of the game


documentation sections:


warnings


recommendations


small changes


features


how to use the importer


why do the disks in SComputers have such a small volume