turtle/init.lua

25 lines
570 B
Lua
Raw Permalink Normal View History

2015-01-25 10:24:10 +01:00
turtles = {}
2013-06-15 19:54:40 +02:00
local modpath = minetest.get_modpath("turtle")
-- Database handler (for turtles and floppies)
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/db.lua")
-- Initial computer state: bootloader
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/computer_memory.lua")
-- Data for the forth floppy, created from forth.fth file by f.py
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/forth_floppy.lua")
-- Computer simulation code
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/cptr.lua")
-- Screen handler for formspec
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/screen.lua")
-- Floppy, floppy programmator, and disk
dofile(modpath .. "/floppy.lua")
-- Turtle code
2015-01-25 10:24:10 +01:00
dofile(modpath .. "/t2.lua")