added autocrafter and constructor

master
Juraj Vajda 2017-01-06 12:59:11 -05:00
parent 101a3d0a9c
commit de20357357
7 changed files with 11 additions and 12 deletions

Binary file not shown.

Binary file not shown.

View File

@ -337,11 +337,11 @@ minetest.register_node("basic_machines:autocrafter", {
--on_timer = run_autocrafter -- rnd
})
-- minetest.register_craft( {
-- output = "basic_machines:autocrafter",
-- recipe = {
-- { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
-- { "default:diamondblock", "default:steel_ingot", "default:diamondblock" },
-- { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
-- },
-- })
minetest.register_craft( {
output = "basic_machines:autocrafter",
recipe = {
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
{ "default:diamondblock", "default:steel_ingot", "default:diamondblock" },
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
},
})

View File

@ -123,7 +123,7 @@ end
minetest.register_node("basic_machines:constructor", {
description = "Constructor: used to make machines",
tiles = {"grinder.png","default_furnace_top.png", "basic_machine_side.png","basic_machine_side.png","basic_machine_side.png","basic_machine_side.png"},
tiles = {"constructor.png"},
groups = {cracky=3, mesecon_effector_on = 1},
sounds = default.node_sound_wood_defaults(),
after_place_node = function(pos, placer)

View File

@ -25,9 +25,8 @@ dofile(minetest.get_modpath("basic_machines").."/technic_power.lua") -- technic
dofile(minetest.get_modpath("basic_machines").."/recycler.lua") -- recycle old used tools
dofile(minetest.get_modpath("basic_machines").."/grinder.lua") -- grind materials into dusts
-- dofile(minetest.get_modpath("basic_machines").."/autocrafter.lua") -- borrowed and adapted from pipeworks mod
-- dofile(minetest.get_modpath("basic_machines").."/constructor.lua") -- enable crafting of all machines
--dofile(minetest.get_modpath("basic_machines").."/cpu.lua") -- experimental
dofile(minetest.get_modpath("basic_machines").."/autocrafter.lua") -- borrowed and adapted from pipeworks mod
dofile(minetest.get_modpath("basic_machines").."/constructor.lua") -- enable crafting of all machines
dofile(minetest.get_modpath("basic_machines").."/protect.lua") -- enable interaction with players, adds local on protect/chat event handling

BIN
textures/constructor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 B

After

Width:  |  Height:  |  Size: 357 B