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
21

Changelog

Version: 1.3.12
Date: 03. 04. 2018
  Bugfixes:
    - Fix crash on sandbox
Version: 1.3.11
Date: 28. 03. 2018
  Bugfixes:
    - Fix "computer.lua:179: attempt to index global 'player' (a nil value)"
Version: 1.3.10
Date: 27. 03. 2018
  Bugfixes:
    - Fix "Error while running event computer_core::on_pre_ghost_deconstructed: Entity is not ghost."
Version: 1.3.9
Date: 27. 03. 2018
  Bugfixes:
    - Fix "computer_core/logic/computerCommands.lua:543: attempt to index local 'env' (a nil value)" (caused by invalid user scripts)
    - Fix event reception for computers not started by a player (autorun)
Version: 1.3.8
Date: 26. 03. 2018
  Bugfixes:
    - Fix "computer_core/logic/computer.lua:649: attempt to call field '?' (a nil value)"
Version: 1.3.7
Date: 26. 03. 2018
  Bugfixes:
    - Fix "computer_core/logic/computer.lua:463: attempt to index field 'file' (a nil value)"
Version: 1.3.6
Date: 24. 03. 2018
  Features:
    - Add API os.pcall : The os.pcall function calls its first argument in protected mode (support to protect your script environment in asynchronous callback. And catches any errors same as the native "pcall" function)
  Changes:
    - Computer combinator is now supported in blueprints
Version: 1.3.5
Date: 23. 03. 2018
  Features:
    - WLAN API can now receive an "onBuiltComputer" event: wlan.onBuiltComputer(function(event) end). event = {computerID, position, autorun}
  Changes:
    - term.write can now take multi arguments
Version: 1.3.4
Date: 20. 03. 2018
  Features:
    - Add DISK API: functions for file manipulation
    - Add speaker.print API (Print your message to the ingame chat log)
  Bugfixes:
    - Fixed os.require API
Version: 1.3.3
Date: 15. 03. 2018
  Bugfixes:
    - Fixed the handling of the "on_entity_died" event
Version: 1.3.2
Date: 10. 03. 2018
  Features:
    - Add functions to write and read user input
  Changes:
    - Syntax errors are now displayed in editor when trying to run the code. Thanks to thorhunter1
  Help:
    - Add examples (more examples will be added as and when) https://github.com/Relik77/factorio_computer_core/tree/master/examples
Version: 1.3.1
Date: 16. 12. 2017
  Major Features:
    - Add speaker API, computer can play music and issue map alerts
  Changes:
    - Update Computer Entity (Fix energy consumption and energy buffer capacity)
    - Support Factorio 0.16 native changelog features.
Version: 1.3.0
Date: 13. 12. 2017
  Changes:
    - Update for Factorio 0.16
Version: 1.2.3
Date: 08. 12. 2017
  Features:
    - Add os.require(filepath): load and run subscript in another file (your custom library file)
  Minor Features:
    - Add support of wire name in "string". ex: "lan.readLeftSignal('red')"
  Changes:
    - Update "table.tostring" (and term.write): Support of circular table definition
Version: 1.2.2
Date: 05. 12. 2017
  Bugfixes:
    - Fix error in _readCombinatorSignal if network.signals is empty
  Minor Features:
    - Add Alias: getLeftSignals, getRightSignals, setLeftSignals, setRightSignals
Version: 1.2.1
Date: 02. 12. 2017
  Bugfixes:
    - Fix serialization error (https://github.com/Relik77/factorio_computer_core/issues/1#issue-278003158)
  Minor Features:
    - add os apis: os.set("name", ...args), os.get("name"), os.clear("name")
Version: 1.2.0
Date: 27. 11. 2017
  Major Features:
    - Add computer entity
  Features:
    - Add LAN (Circuit Network) and WLAN (Wireless Network) APIs
Version: 1.1.0
Date: 09. 11. 2017
  Features:
    - Add inline command "position"
    - Add waypoints support
Version: 1.0.0
Date: 05. 11. 2017
  Changes:
    - Initial release