octacian 9169209333 "Modulify"
This introduces a small API allowing different portions of the mod (digicompute) to be divided among sub-mods (modules) in the modules directory. See documentation for further information (modules.md).
2017-01-30 19:40:30 -08:00

36 lines
547 B
Lua
Executable File

-- computers/nodes.lua
digicompute.register_computer("default", {
description = "digicomputer",
off_tiles = {
"top.png",
"bottom.png",
"right.png",
"left.png",
"back_off.png",
"front_off.png",
},
bios_tiles = {
"top.png",
"bottom.png",
"right.png",
"left.png",
"back_off.png",
"front_off.png^bios.png",
},
on_tiles = {
"top.png",
"bottom.png",
"right.png",
"left.png",
"back.png",
"front.png"
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.125, 0.5, 0.5, 0.5}, -- computer
}
},
})