added autocrafter and constructor
parent
101a3d0a9c
commit
de20357357
Binary file not shown.
Binary file not shown.
|
@ -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" }
|
||||
},
|
||||
})
|
|
@ -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)
|
||||
|
|
5
init.lua
5
init.lua
|
@ -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
|
||||
|
||||
|
|
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 |
Loading…
Reference in New Issue