2015-01-25 10:24:10 +01:00
|
|
|
turtles = {}
|
|
|
|
|
2013-06-15 19:54:40 +02:00
|
|
|
local modpath = minetest.get_modpath("turtle")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- Database handler (for turtles and floppies)
|
2015-01-25 10:24:10 +01:00
|
|
|
dofile(modpath .. "/db.lua")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- Initial computer state: bootloader
|
2015-01-25 10:24:10 +01:00
|
|
|
dofile(modpath .. "/computer_memory.lua")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- 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")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- Computer simulation code
|
2015-01-25 10:24:10 +01:00
|
|
|
dofile(modpath .. "/cptr.lua")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- Screen handler for formspec
|
2015-01-25 10:24:10 +01:00
|
|
|
dofile(modpath .. "/screen.lua")
|
2015-02-13 12:36:20 +01:00
|
|
|
|
|
|
|
-- Floppy, floppy programmator, and disk
|
|
|
|
dofile(modpath .. "/floppy.lua")
|
|
|
|
|
|
|
|
-- Turtle code
|
2015-01-25 10:24:10 +01:00
|
|
|
dofile(modpath .. "/t2.lua")
|