update homedecor, add home_workshop_modpack

This commit is contained in:
Vanessa Dannenberg 2021-03-02 06:53:28 -05:00
parent 982eb84489
commit b85510f6ac
199 changed files with 823 additions and 773 deletions

1
build-date Normal file
View File

@ -0,0 +1 @@
20210302-0653

View File

@ -1,339 +0,0 @@
local S = minetest.get_translator("computer")
-- Amiga 500 lookalike
computer.register("computer:shefriendSOO", {
description = S("SheFriendSOO"),
tiles_off = { front=true },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 17, 32, 32, 12 }, -- Monitor Screen
{ 3, 3, 29, 26, 26, 3 }, -- Monitor Tube
{ 0, 0, 0, 32, 4, 17 } -- Keyboard
})
})
-- Some generic laptop
minetest.register_node("computer:vanio", {
drawtype = "mesh",
mesh = "computer_laptop.obj",
description = S("Pony Vanio"),
inventory_image = "computer_laptop_inv.png",
tiles = {"computer_laptop.png"},
paramtype = "light",
paramtype2 = "facedir",
light_source = 4,
groups = {snappy=3},
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.35, -0.5, -0.35, 0.35, 0.05, 0.35},
},
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:vanio_off"
minetest.set_node(pos, node)
return itemstack
end
})
minetest.register_node("computer:vanio_off", {
drawtype = "mesh",
mesh = "computer_laptop_closed.obj",
tiles = {"computer_laptop.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, not_in_creative_inventory=1},
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.35, -0.5, -0.35, 0.35, -0.4, 0.25},
},
drop = "computer:vanio",
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:vanio"
minetest.set_node(pos, node)
return itemstack
end
})
-- Sony PlayStation lookalike
computer.register("computer:slaystation", {
description = S("Pony SlayStation"),
inventory_image = "computer_ps1_inv.png",
tiles_off = { top=true },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 11, 32, 6, 21 }, -- Console
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
{ 5, 0, 4, 5, 2, 5 }, -- Controller 1 Center
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
{ 22, 0, 4, 5, 2, 5 } -- Controller 2 Center
})
})
-- Sony PlayStation 2 lookalike
computer.register("computer:slaystation2", {
description = S("Pony SlayStation 2"),
inventory_image = "computer_ps2_inv.png",
tiles_off = { front=true },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 2, 2, 11, 28, 3, 19 }, -- Console (Upper part)
{ 2, 0, 11, 26, 2, 19 }, -- Console (Lower part)
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
{ 5, 0, 1, 5, 2, 8 }, -- Controller 1 Center
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
{ 22, 0, 1, 5, 2, 8 } -- Controller 2 Center
})
})
-- Sinclair ZX Spectrum lookalike
computer.register("computer:specter", {
description = S("SX Specter"),
inventory_image = "computer_specter_inv.png",
tiles_off = { },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 3, 0, 0, 26, 4, 17 }, -- Keyboard
{ 18, 0, 18, 12, 6, 14 } -- Tape Player
})
})
-- Nintendo Wii lookalike
computer.register("computer:wee", {
description = S("Nientiendo Wee"),
inventory_image = "computer_wii_inv.png",
tiles_off = { front=true },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 11, 0, 3, 10, 6, 26 }, -- Base
{ 12, 6, 4, 8, 22, 24 } -- Top
})
})
-- Apple iPad lookalike
minetest.register_node("computer:piepad", {
description = S("Snapple Piepad"),
drawtype = "signlike",
tiles = {"computer_piepad_inv.png"},
inventory_image = "computer_piepad_inv.png",
wield_image = "computer_piepad_inv.png",
paramtype = "light",
paramtype2 = "wallmounted",
light_source = 8,
walkable = false,
groups = {oddly_breakable_by_hand=2},
selection_box = {type = "wallmounted"},
sounds = default.node_sound_wood_defaults()
})
-- Commodore 64 lookalike
computer.register("computer:admiral64", {
description = S("Admiral64"),
inventory_image = "computer_ad64_inv.png",
tiles_off = { },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 0, 32, 4, 18 } -- Keyboard
})
})
-- Commodore 128 lookalike
computer.register("computer:admiral128", {
description = S("Admiral128"),
inventory_image = "computer_ad128_inv.png",
tiles_off = { },
node_box = computer.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 0, 32, 4, 27 } -- Keyboard
})
})
-- XBox lookalike
computer.register("computer:hueg_box", {
description = S("HUEG Box"),
tiles_off = { },
node_box = computer.pixelnodebox(16, {
-- X Y Z W H L
{ 0, 0, 7, 16, 6, 9 }, -- Console
{ 2, 0, 1, 11, 3, 6 }, -- Controller
{ 2, 0, 0, 2, 3, 1 },
{ 11, 0, 0, 2, 3, 1 },
})
})
-- Generic Flat Screen LCD (16x9) with keyboard
local mo_sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.43, 0.5, 0.2, 0.25 }
}
minetest.register_node("computer:monitor", {
description = S("Monitor and keyboard"),
inventory_image = "computer_monitor_inv.png",
drawtype = "mesh",
mesh = "computer_monitor.obj",
tiles = {"computer_black.png", "monitor_plastic.png", "computer_black.png", "monitor_plastic.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = {snappy=3},
selection_box = mo_sbox,
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:monitor_on"
minetest.set_node(pos, node)
return itemstack
end
})
minetest.register_node("computer:monitor_on", {
drawtype = "mesh",
mesh = "computer_monitor.obj",
tiles = {"monitor_display.png^[transformFX", "monitor_plastic.png", "computer_black.png", "monitor_plastic.png"},
paramtype = "light",
paramtype2 = "facedir",
light_source = 9,
walkable = false,
groups = {snappy=3, not_in_creative_inventory=1},
selection_box = mo_sbox,
drop = "computer:monitor",
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:monitor"
minetest.set_node(pos, node)
return itemstack
end
})
minetest.register_alias("computer:monitor_bios", "computer:monitor")
minetest.register_alias("computer:monitor_loading", "computer:monitor")
minetest.register_alias("computer:monitor_login", "computer:monitor")
minetest.register_alias("computer:monitor_desktop", "computer:monitor")
--WIFI Router (linksys look-a-like)
minetest.register_node("computer:router", {
description = S("WIFI Router"),
inventory_image = "computer_router_inv.png",
tiles = {
"computer_router_t.png",
"computer_router_bt.png",
"computer_router_l.png",
"computer_router_r.png",
"computer_router_b.png",
{
name = "computer_router_f_animated.png",
animation = {type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}
},
}, --"computer_router_f.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.0625, 0.25, -0.375, 0.3125},
{-0.1875, -0.4375, 0.3125, -0.125, -0.1875, 0.375},
{0.125, -0.4375, 0.3125, 0.1875, -0.1875, 0.375},
{-0.0625, -0.4375, 0.3125, 0.0625, -0.25, 0.375}
}
}
})
local pct_cbox = {
type = "fixed",
fixed = { -0.1875, -0.5, -0.36, 0.1875, 0.34, 0.46 }
}
--Modern PC Tower
minetest.register_node("computer:tower", {
description = S("Computer Tower"),
inventory_image = "computer_tower_inv.png",
drawtype = "mesh",
mesh = "computer_tower.obj",
tiles = {"computer_tower.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
selection_box = pct_cbox,
collision_box = pct_cbox
})
minetest.register_alias("computer:tower_on", "computer:tower")
--Rack Server
minetest.register_node("computer:server", {
drawtype = "nodebox",
description = S("Rack Server"),
tiles = {
'computer_server_t.png',
'computer_server_bt.png',
'computer_server_l.png',
'computer_server_r.png',
'computer_server_bt.png',
'computer_server_f_off.png'
},
inventory_image = "computer_server_inv.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
sounds = default.node_sound_wood_defaults(),
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:server_on"
minetest.set_node(pos, node)
return itemstack
end,
on_place = function(itemstack, placer, pointed_thing)
local pos = pointed_thing.above
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name ~= "air" then
minetest.chat_send_player( placer:get_player_name(),
S("Not enough vertical space to place a server!" ))
return itemstack
end
return minetest.item_place(itemstack, placer, pointed_thing)
end
})
minetest.register_node("computer:server_on", {
drawtype = "nodebox",
tiles = {
'computer_server_t.png',
'computer_server_bt.png',
'computer_server_l.png',
'computer_server_r.png',
'computer_server_bt.png',
'computer_server_f_on.png',
},
inventory_image = "computer_server_inv.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3,not_in_creative_inventory=1},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
sounds = default.node_sound_wood_defaults(),
drop = 'computer:server',
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computer:server"
minetest.set_node(pos, node)
return itemstack
end
})

View File

@ -1,3 +0,0 @@
name = computer
depends = default, basic_materials, unifieddyes
optional_depends = screwdriver

View File

@ -1,90 +0,0 @@
-- Printers of some kind or another
local S = minetest.get_translator("computer")
minetest.register_node("computer:printer", {
description = S("Printer-Scanner Combo"),
inventory_image = "computer_printer_inv.png",
tiles = {"computer_printer_t.png","computer_printer_bt.png","computer_printer_l.png",
"computer_printer_r.png","computer_printer_b.png","computer_printer_f.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.4375, -0.3125, -0.125, 0.4375, -0.0625, 0.375},
{-0.4375, -0.5, -0.125, 0.4375, -0.4375, 0.375},
{-0.4375, -0.5, -0.125, -0.25, -0.0625, 0.375},
{0.25, -0.5, -0.125, 0.4375, -0.0625, 0.375},
{-0.4375, -0.5, -0.0625, 0.4375, -0.0625, 0.375},
{-0.375, -0.4375, 0.25, 0.375, -0.0625, 0.4375},
{-0.25, -0.25, 0.4375, 0.25, 0.0625, 0.5},
{-0.25, -0.481132, -0.3125, 0.25, -0.4375, 0}
},
},
})
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
local cbox = {
type = "fixed",
fixed = {-0.25, -0.25, -0.5, 0.3, 0.3, 0.25 }
}
minetest.register_node("computer:3dprinter_bedflinger", {
description = S('3D Printer ("bedflinger" design)'),
inventory_image = "computer_3dprinter_bedflinger_inv.png",
tiles = {
{ name = "computer_3dprinter.png", color = 0xffffffff },
"computer_3dprinter_filament.png"
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
sound = default.node_sound_wood_defaults(),
drawtype = "mesh",
mesh = "computer_3dprinter_bedflinger.obj",
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
selection_box = cbox,
collision_box = cbox,
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
end,
on_dig = unifieddyes.on_dig,
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
})
-- COreXY style printer (Hypercube or similar)
cbox = {
type = "fixed",
fixed = {-0.4375, -0.5, -0.5, 0.4375, 0.5, 0.375 }
}
minetest.register_node("computer:3dprinter_corexy", {
description = S('3D Printer (CoreXY design)'),
tiles = {
{ name = "computer_3dprinter.png", color = 0xffffffff },
"computer_3dprinter_filament.png"
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
sound = default.node_sound_wood_defaults(),
drawtype = "mesh",
mesh = "computer_3dprinter_corexy.obj",
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
selection_box = cbox,
collision_box = cbox,
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
end,
on_dig = unifieddyes.on_dig,
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

View File

@ -17,21 +17,27 @@ For now just use creative mode or the `/give' or `/giveme' chat commands
These are the items currently defined by this mod: These are the items currently defined by this mod:
computer:printer (printer scanner combo) "computers:shefriendSOO",
computer:server (rack server) "computers:vanio",
computer:tower (modern type) "computers:vanio_off",
computer:monitor (LCD with keyboard) "computers:slaystation",
computer:router (wifi type) "computers:slaystation2",
computer:babytower "computers:specter",
computer:shefriendSOO "computers:wee",
computer:slaystation "computers:piepad",
computer:vanio "computers:admiral64",
computer:spectre "computers:admiral128",
computer:slaystation2 "computers:hueg_box",
computer:admiral64 "computers:monitor",
computer:admiral128 "computers:monitor_on",
"computers:router",
"computers:tower",
"computers:server",
"computers:server_on",
"computers:printer",
"computers:tetris_arcade",
There's also a `computer:computer' alias to `computer:babytower'. There's also a `computers:computer' alias to `computers:babytower'.
Thanks to all the people in the forums and the #minetest IRC channel for Thanks to all the people in the forums and the #minetest IRC channel for
their support and suggestions; in no particular order: their support and suggestions; in no particular order:

View File

@ -0,0 +1,24 @@
minetest.register_alias("computer:shefriendSOO", "computers:shefriendSOO")
minetest.register_alias("computer:vanio", "computers:vanio")
minetest.register_alias("computer:vanio_off", "computers:vanio_off")
minetest.register_alias("computer:slaystation", "computers:slaystation")
minetest.register_alias("computer:slaystation2", "computers:slaystation2")
minetest.register_alias("computer:specter", "computers:specter")
minetest.register_alias("computer:wee", "computers:wee")
minetest.register_alias("computer:piepad", "computers:piepad")
minetest.register_alias("computer:admiral64", "computers:admiral64")
minetest.register_alias("computer:admiral128", "computers:admiral128")
minetest.register_alias("computer:hueg_box", "computers:hueg_box")
minetest.register_alias("computer:monitor", "computers:monitor")
minetest.register_alias("computer:monitor_on", "computers:monitor_on")
minetest.register_alias("computer:monitor_bios", "computers:monitor")
minetest.register_alias("computer:monitor_loading", "computers:monitor")
minetest.register_alias("computer:monitor_login", "computers:monitor")
minetest.register_alias("computer:monitor_desktop", "computers:monitor")
minetest.register_alias("computer:router", "computers:router")
minetest.register_alias("computer:tower", "computers:tower")
minetest.register_alias("computer:tower_on", "computers:tower")
minetest.register_alias("computer:server", "computers:server")
minetest.register_alias("computer:server_on", "computers:server_on")
minetest.register_alias("computer:printer", "computers:printer")
minetest.register_alias("computer:tetris_arcade", "computers:tetris_arcade")

View File

@ -0,0 +1,300 @@
local S = minetest.get_translator("computers")
-- Amiga 500 lookalike
computers.register("computers:shefriendSOO", {
description = S("SheFriendSOO"),
tiles_off = { front=true },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 17, 32, 32, 12 }, -- Monitor Screen
{ 3, 3, 29, 26, 26, 3 }, -- Monitor Tube
{ 0, 0, 0, 32, 4, 17 } -- Keyboard
})
})
-- Some generic laptop
minetest.register_node("computers:vanio", {
drawtype = "mesh",
mesh = "computers_laptop.obj",
description = S("Pony Vanio"),
inventory_image = "computers_laptop_inv.png",
tiles = {"computers_laptop.png"},
paramtype = "light",
paramtype2 = "facedir",
light_source = 4,
groups = {snappy=3},
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.35, -0.5, -0.35, 0.35, 0.05, 0.35},
},
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:vanio_off"
minetest.set_node(pos, node)
return itemstack
end
})
minetest.register_node("computers:vanio_off", {
drawtype = "mesh",
mesh = "computers_laptop_closed.obj",
tiles = {"computers_laptop.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, not_in_creative_inventory=1},
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.35, -0.5, -0.35, 0.35, -0.4, 0.25},
},
drop = "computers:vanio",
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:vanio"
minetest.set_node(pos, node)
return itemstack
end
})
-- Sinclair ZX Spectrum lookalike
computers.register("computers:specter", {
description = S("SX Specter"),
inventory_image = "computers_specter_inv.png",
tiles_off = { },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 3, 0, 0, 26, 4, 17 }, -- Keyboard
{ 18, 0, 18, 12, 6, 14 } -- Tape Player
})
})
-- Apple iPad lookalike
minetest.register_node("computers:piepad", {
description = S("Snapple Piepad"),
drawtype = "signlike",
tiles = {"computers_piepad_inv.png"},
inventory_image = "computers_piepad_inv.png",
wield_image = "computers_piepad_inv.png",
paramtype = "light",
paramtype2 = "wallmounted",
light_source = 8,
walkable = false,
groups = {oddly_breakable_by_hand=2},
selection_box = {type = "wallmounted"},
sounds = default.node_sound_wood_defaults()
})
-- Commodore 64 lookalike
computers.register("computers:admiral64", {
description = S("Admiral64"),
inventory_image = "computers_ad64_inv.png",
tiles_off = { },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 0, 32, 4, 18 } -- Keyboard
})
})
-- Commodore 128 lookalike
computers.register("computers:admiral128", {
description = S("Admiral128"),
inventory_image = "computers_ad128_inv.png",
tiles_off = { },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 0, 32, 4, 27 } -- Keyboard
})
})
-- Generic Flat Screen LCD (16x9) with keyboard
local mo_sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.43, 0.5, 0.2, 0.25 }
}
minetest.register_node("computers:monitor", {
description = S("Monitor and keyboard"),
inventory_image = "computers_monitor_inv.png",
drawtype = "mesh",
mesh = "computers_monitor.obj",
tiles = {"computers_black.png", "computers_monitor_plastic.png", "computers_black.png", "computers_monitor_plastic.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = {snappy=3},
selection_box = mo_sbox,
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:monitor_on"
minetest.set_node(pos, node)
return itemstack
end
})
minetest.register_node("computers:monitor_on", {
drawtype = "mesh",
mesh = "computers_monitor.obj",
tiles = {"computers_monitor_display.png^[transformFX", "computers_monitor_plastic.png", "computers_black.png", "computers_monitor_plastic.png"},
paramtype = "light",
paramtype2 = "facedir",
light_source = 9,
walkable = false,
groups = {snappy=3, not_in_creative_inventory=1},
selection_box = mo_sbox,
drop = "computers:monitor",
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:monitor"
minetest.set_node(pos, node)
return itemstack
end
})
--WIFI Router (linksys look-a-like)
minetest.register_node("computers:router", {
description = S("WIFI Router"),
inventory_image = "computers_router_inv.png",
tiles = {
"computers_router_t.png",
"computers_router_bt.png",
"computers_router_l.png",
"computers_router_r.png",
"computers_router_b.png",
{
name = "computers_router_f_animated.png",
animation = {type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}
},
}, --"computers_router_f.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.0625, 0.25, -0.375, 0.3125},
{-0.1875, -0.4375, 0.3125, -0.125, -0.1875, 0.375},
{0.125, -0.4375, 0.3125, 0.1875, -0.1875, 0.375},
{-0.0625, -0.4375, 0.3125, 0.0625, -0.25, 0.375}
}
}
})
local pct_cbox = {
type = "fixed",
fixed = { -0.1875, -0.5, -0.36, 0.1875, 0.34, 0.46 }
}
--Modern PC Tower
minetest.register_node("computers:tower", {
description = S("Computer Tower"),
inventory_image = "computers_tower_inv.png",
drawtype = "mesh",
mesh = "computers_tower.obj",
tiles = {"computers_tower.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
selection_box = pct_cbox,
collision_box = pct_cbox
})
--Rack Server
minetest.register_node("computers:server", {
drawtype = "nodebox",
description = S("Rack Server"),
tiles = {
'computers_server_t.png',
'computers_server_bt.png',
'computers_server_l.png',
'computers_server_r.png',
'computers_server_bt.png',
'computers_server_f_off.png'
},
inventory_image = "computers_server_inv.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
sounds = default.node_sound_wood_defaults(),
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:server_on"
minetest.set_node(pos, node)
return itemstack
end,
on_place = function(itemstack, placer, pointed_thing)
local pos = pointed_thing.above
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name ~= "air" then
minetest.chat_send_player( placer:get_player_name(),
S("Not enough vertical space to place a server!" ))
return itemstack
end
return minetest.item_place(itemstack, placer, pointed_thing)
end
})
minetest.register_node("computers:server_on", {
drawtype = "nodebox",
tiles = {
'computers_server_t.png',
'computers_server_bt.png',
'computers_server_l.png',
'computers_server_r.png',
'computers_server_bt.png',
'computers_server_f_on.png',
},
inventory_image = "computers_server_inv.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3,not_in_creative_inventory=1},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.25, 0.5, 1.125, 0.4375}
},
sounds = default.node_sound_wood_defaults(),
drop = 'computers:server',
on_rightclick = function(pos, node, clicker, itemstack)
node.name = "computers:server"
minetest.set_node(pos, node)
return itemstack
end
})
-- Printer of some kind
minetest.register_node("computers:printer", {
description = S("Printer-Scanner Combo"),
inventory_image = "computers_printer_inv.png",
tiles = {"computers_printer_t.png","computers_printer_bt.png","computers_printer_l.png",
"computers_printer_r.png","computers_printer_b.png","computers_printer_f.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.4375, -0.3125, -0.125, 0.4375, -0.0625, 0.375},
{-0.4375, -0.5, -0.125, 0.4375, -0.4375, 0.375},
{-0.4375, -0.5, -0.125, -0.25, -0.0625, 0.375},
{0.25, -0.5, -0.125, 0.4375, -0.0625, 0.375},
{-0.4375, -0.5, -0.0625, 0.4375, -0.0625, 0.375},
{-0.375, -0.4375, 0.25, 0.375, -0.0625, 0.4375},
{-0.25, -0.25, 0.4375, 0.25, 0.0625, 0.5},
{-0.25, -0.481132, -0.3125, 0.25, -0.4375, 0}
},
},
})

View File

@ -1,4 +1,68 @@
local S = minetest.get_translator("computer") local S = minetest.get_translator("computers")
-- Sony PlayStation lookalike
computers.register("computers:slaystation", {
description = S("Pony SlayStation"),
inventory_image = "computers_ps1_inv.png",
tiles_off = { top=true },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 0, 0, 11, 32, 6, 21 }, -- Console
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
{ 5, 0, 4, 5, 2, 5 }, -- Controller 1 Center
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
{ 22, 0, 4, 5, 2, 5 } -- Controller 2 Center
})
})
-- Sony PlayStation 2 lookalike
computers.register("computers:slaystation2", {
description = S("Pony SlayStation 2"),
inventory_image = "computers_ps2_inv.png",
tiles_off = { front=true },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 2, 2, 11, 28, 3, 19 }, -- Console (Upper part)
{ 2, 0, 11, 26, 2, 19 }, -- Console (Lower part)
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
{ 5, 0, 1, 5, 2, 8 }, -- Controller 1 Center
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
{ 22, 0, 1, 5, 2, 8 } -- Controller 2 Center
})
})
-- Nintendo Wii lookalike
computers.register("computers:wee", {
description = S("Nientiendo Wee"),
inventory_image = "computers_wii_inv.png",
tiles_off = { front=true },
node_box = computers.pixelnodebox(32, {
-- X Y Z W H L
{ 11, 0, 3, 10, 6, 26 }, -- Base
{ 12, 6, 4, 8, 22, 24 } -- Top
})
})
-- XBox lookalike
computers.register("computers:hueg_box", {
description = S("HUEG Box"),
tiles_off = { },
node_box = computers.pixelnodebox(16, {
-- X Y Z W H L
{ 0, 0, 7, 16, 6, 9 }, -- Console
{ 2, 0, 1, 11, 3, 6 }, -- Controller
{ 2, 0, 0, 2, 3, 1 },
{ 11, 0, 0, 2, 3, 1 },
})
})
-- Tetris arcade machine
local shapes = { local shapes = {
{ { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } }, { { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } },
@ -27,10 +91,10 @@ local shapes = {
{ x = {0, 1, 2, 1}, y = {1, 1, 1, 2} }, { x = {0, 1, 2, 1}, y = {1, 1, 1, 2} },
{ x = {0, 1, 1, 1}, y = {1, 0, 1, 2} } } } { x = {0, 1, 1, 1}, y = {1, 0, 1, 2} } } }
local colors = { "computer_cyan.png", "computer_magenta.png", "computer_red.png", local colors = { "computers_cyan.png", "computers_magenta.png", "computers_red.png",
"computer_blue.png", "computer_green.png", "computer_orange.png", "computer_yellow.png" } "computers_blue.png", "computers_green.png", "computers_orange.png", "computers_yellow.png" }
local background = "image[0,0;3.55,6.66;computer_black.png]" local background = "image[0,0;3.55,6.66;computers_black.png]"
local buttons = "button[3,4.5;0.6,0.6;left;<]" local buttons = "button[3,4.5;0.6,0.6;left;<]"
.."button[3.6,4.5;0.6,0.6;rotateleft;"..minetest.formspec_escape(S("L")).."]" .."button[3.6,4.5;0.6,0.6;rotateleft;"..minetest.formspec_escape(S("L")).."]"
.."button[4.2,4.5;0.6,0.6;down;v]" .."button[4.2,4.5;0.6,0.6;down;v]"
@ -242,11 +306,11 @@ local function step(pos, fields)
return run return run
end end
minetest.register_node("computer:tetris_arcade", { minetest.register_node("computers:tetris_arcade", {
description=S("Tetris Arcade"), description=S("Tetris Arcade"),
drawtype = "mesh", drawtype = "mesh",
mesh = "tetris_arcade.obj", mesh = "computers_tetris_arcade.obj",
tiles = {"tetris_arcade.png"}, tiles = {"computers_tetris_arcade.png"},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {snappy=3}, groups = {snappy=3},
@ -282,7 +346,7 @@ minetest.register_node("computer:tetris_arcade", {
return itemstack return itemstack
end end
local dir = placer:get_look_dir() local dir = placer:get_look_dir()
local node = {name="computer:tetris_arcade", param1=0, param2 = minetest.dir_to_facedir(dir)} local node = {name="computers:tetris_arcade", param1=0, param2 = minetest.dir_to_facedir(dir)}
minetest.set_node(pos, node) minetest.set_node(pos, node)
itemstack:take_item() itemstack:take_item()
return itemstack return itemstack

View File

@ -1,6 +1,6 @@
computer = {} computers = {}
computer.register = function (name, def) computers.register = function (name, def)
if (name:sub(1, 1) == ":") then name = name:sub(2) end if (name:sub(1, 1) == ":") then name = name:sub(2) end
local modname, basename = name:match("^([^:]+):(.*)") local modname, basename = name:match("^([^:]+):(.*)")
local TEXPFX = modname.."_"..basename.."_" local TEXPFX = modname.."_"..basename.."_"
@ -60,7 +60,7 @@ computer.register = function (name, def)
}) })
end end
computer.register_handheld = function (name, def) computers.register_handheld = function (name, def)
if (name:sub(1, 1) == ":") then name = name:sub(2) end if (name:sub(1, 1) == ":") then name = name:sub(2) end
local modname, basename = name:match("^([^:]+):(.*)") local modname, basename = name:match("^([^:]+):(.*)")
local TEXPFX = modname.."_"..basename.."_inv" local TEXPFX = modname.."_"..basename.."_inv"
@ -72,7 +72,7 @@ computer.register_handheld = function (name, def)
}) })
end end
computer.pixelnodebox = function (size, boxes) computers.pixelnodebox = function (size, boxes)
local fixed = { } local fixed = { }
for _, box in ipairs(boxes) do for _, box in ipairs(boxes) do
local x, y, z, w, h, l = unpack(box) local x, y, z, w, h, l = unpack(box)
@ -91,8 +91,8 @@ computer.pixelnodebox = function (size, boxes)
} }
end end
local MODPATH = minetest.get_modpath("computer") local MODPATH = minetest.get_modpath("computers")
dofile(MODPATH.."/computers.lua") dofile(MODPATH.."/computers.lua")
dofile(MODPATH.."/printers.lua")
dofile(MODPATH.."/recipes.lua") dofile(MODPATH.."/recipes.lua")
dofile(MODPATH.."/tetris.lua") dofile(MODPATH.."/gaming.lua")
dofile(MODPATH.."/aliases.lua")

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=Z Inspektor
SheFriendSOO=Freundin S00 SheFriendSOO=Freundin S00
Snapple Piepad=Apfel-Ei-Pat Snapple Piepad=Apfel-Ei-Pat
WIFI Router=WiFi-Router WIFI Router=WiFi-Router
### printers.lua ###
3D Printer ("bedflinger")=3D Drucker ("Bettschubser")
Printer-Scanner Combo=Multifunktionsdrucker Printer-Scanner Combo=Multifunktionsdrucker
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=Enrutador WIFI WIFI Router=Enrutador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Impresora y escáner combinados Printer-Scanner Combo=Impresora y escáner combinados
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=Routeur WiFi WIFI Router=Routeur WiFi
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Imprimante multi-fonction Printer-Scanner Combo=Imprimante multi-fonction
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router= WIFI Router=
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo= Printer-Scanner Combo=
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=Penghala WIFI WIFI Router=Penghala WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Pencetak Semua Dalam Satu Printer-Scanner Combo=Pencetak Semua Dalam Satu
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=Roteador WIFI WIFI Router=Roteador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Tudo em Um Impressora-Scaner Printer-Scanner Combo=Tudo em Um Impressora-Scaner
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=Roteador WIFI WIFI Router=Roteador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Tudo em Um Impressora-Scaner Printer-Scanner Combo=Tudo em Um Impressora-Scaner
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=WIFI-роутер WIFI Router=WIFI-роутер
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=МФУ Printer-Scanner Combo=МФУ
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router=无线路由器 WIFI Router=无线路由器
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=打印扫描一体机 Printer-Scanner Combo=打印扫描一体机
### tetris.lua ### ### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer # textdomain: computers
### computers.lua ### ### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO= SheFriendSOO=
Snapple Piepad= Snapple Piepad=
WIFI Router= WIFI Router=
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo= Printer-Scanner Combo=
### tetris.lua ### ### tetris.lua ###

3
mods/computers/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = computers
depends = default, basic_materials
optional_depends = screwdriver

View File

@ -1,7 +1,7 @@
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net> -- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
minetest.register_craft({ minetest.register_craft({
output = "computer:shefriendSOO", output = "computers:shefriendSOO",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" },
@ -10,7 +10,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:slaystation", output = "computers:slaystation",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "group:wood", "basic_materials:plastic_sheet" } { "basic_materials:plastic_sheet", "group:wood", "basic_materials:plastic_sheet" }
@ -18,7 +18,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:vanio", output = "computers:vanio",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "", "" }, { "basic_materials:plastic_sheet", "", "" },
{ "default:glass", "", "" }, { "default:glass", "", "" },
@ -27,7 +27,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:specter", output = "computers:specter",
recipe = { recipe = {
{ "", "", "basic_materials:plastic_sheet" }, { "", "", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
@ -36,7 +36,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:slaystation2", output = "computers:slaystation2",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" } { "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }
@ -44,7 +44,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:admiral64", output = "computers:admiral64",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "group:wood", "group:wood", "group:wood" } { "group:wood", "group:wood", "group:wood" }
@ -52,7 +52,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:admiral128", output = "computers:admiral128",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" } { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
@ -60,7 +60,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:wee", output = "computers:wee",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:copper_ingot", "basic_materials:plastic_sheet" } { "basic_materials:plastic_sheet", "default:copper_ingot", "basic_materials:plastic_sheet" }
@ -68,7 +68,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:piepad", output = "computers:piepad",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" } { "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" }
@ -78,7 +78,7 @@ minetest.register_craft({
--new stuff --new stuff
minetest.register_craft({ minetest.register_craft({
output = "computer:monitor", output = "computers:monitor",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "default:glass","" }, { "basic_materials:plastic_sheet", "default:glass","" },
{ "basic_materials:plastic_sheet", "default:glass","" }, { "basic_materials:plastic_sheet", "default:glass","" },
@ -87,7 +87,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:router", output = "computers:router",
recipe = { recipe = {
{ "default:steel_ingot","","" }, { "default:steel_ingot","","" },
{ "default:steel_ingot" ,"basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, { "default:steel_ingot" ,"basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
@ -96,7 +96,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:tower", output = "computers:tower",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
@ -105,7 +105,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:printer", output = "computers:printer",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "default:steel_ingot","" }, { "basic_materials:plastic_sheet", "default:steel_ingot","" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
@ -114,7 +114,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:printer", output = "computers:printer",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "default:steel_ingot","" }, { "basic_materials:plastic_sheet", "default:steel_ingot","" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" }, { "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
@ -123,16 +123,16 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:server", output = "computers:server",
recipe = { recipe = {
{ "computer:tower", "computer:tower", "computer:tower", }, { "computers:tower", "computers:tower", "computers:tower", },
{ "computer:tower", "computer:tower", "computer:tower" }, { "computers:tower", "computers:tower", "computers:tower" },
{ "computer:tower", "computer:tower", "computer:tower" } { "computers:tower", "computers:tower", "computers:tower" }
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "computer:tetris_arcade", output = "computers:tetris_arcade",
recipe = { recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal_simple", "basic_materials:plastic_sheet", }, { "basic_materials:plastic_sheet", "basic_materials:energy_crystal_simple", "basic_materials:plastic_sheet", },
{ "dye:black", "default:glass", "dye:black" }, { "dye:black", "default:glass", "dye:black" },

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 105 B

View File

Before

Width:  |  Height:  |  Size: 115 B

After

Width:  |  Height:  |  Size: 115 B

View File

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 105 B

View File

Before

Width:  |  Height:  |  Size: 107 B

After

Width:  |  Height:  |  Size: 107 B

View File

Before

Width:  |  Height:  |  Size: 109 B

After

Width:  |  Height:  |  Size: 109 B

View File

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 261 B

View File

Before

Width:  |  Height:  |  Size: 103 B

After

Width:  |  Height:  |  Size: 103 B

View File

Before

Width:  |  Height:  |  Size: 113 B

After

Width:  |  Height:  |  Size: 113 B

View File

Before

Width:  |  Height:  |  Size: 103 B

After

Width:  |  Height:  |  Size: 103 B

View File

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 106 B

View File

Before

Width:  |  Height:  |  Size: 107 B

After

Width:  |  Height:  |  Size: 107 B

View File

Before

Width:  |  Height:  |  Size: 235 B

After

Width:  |  Height:  |  Size: 235 B

View File

Before

Width:  |  Height:  |  Size: 67 B

After

Width:  |  Height:  |  Size: 67 B

View File

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 98 B

View File

Before

Width:  |  Height:  |  Size: 118 B

After

Width:  |  Height:  |  Size: 118 B

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

View File

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 98 B

View File

Before

Width:  |  Height:  |  Size: 76 B

After

Width:  |  Height:  |  Size: 76 B

View File

Before

Width:  |  Height:  |  Size: 89 B

After

Width:  |  Height:  |  Size: 89 B

View File

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 98 B

View File

Before

Width:  |  Height:  |  Size: 80 B

After

Width:  |  Height:  |  Size: 80 B

View File

Before

Width:  |  Height:  |  Size: 80 B

After

Width:  |  Height:  |  Size: 80 B

View File

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 106 B

View File

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 164 B

View File

Before

Width:  |  Height:  |  Size: 101 B

After

Width:  |  Height:  |  Size: 101 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 115 B

After

Width:  |  Height:  |  Size: 115 B

View File

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 168 B

View File

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View File

Before

Width:  |  Height:  |  Size: 163 B

After

Width:  |  Height:  |  Size: 163 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View File

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View File

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 196 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 98 B

After

Width:  |  Height:  |  Size: 98 B

View File

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 252 B

View File

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

View File

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 207 B

View File

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 143 B

View File

Before

Width:  |  Height:  |  Size: 67 B

After

Width:  |  Height:  |  Size: 67 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 127 B

After

Width:  |  Height:  |  Size: 127 B

View File

Before

Width:  |  Height:  |  Size: 127 B

After

Width:  |  Height:  |  Size: 127 B

View File

Before

Width:  |  Height:  |  Size: 67 B

After

Width:  |  Height:  |  Size: 67 B

View File

Before

Width:  |  Height:  |  Size: 97 B

After

Width:  |  Height:  |  Size: 97 B

View File

Before

Width:  |  Height:  |  Size: 108 B

After

Width:  |  Height:  |  Size: 108 B

View File

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 170 B

View File

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 117 B

View File

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 117 B

View File

Before

Width:  |  Height:  |  Size: 121 B

After

Width:  |  Height:  |  Size: 121 B

View File

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 205 B

View File

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

Some files were not shown because too many files have changed in this diff Show More