Added silicon wafers

This commit is contained in:
Maciej Kasatkin 2012-09-11 13:57:16 +02:00
parent 1f1562f630
commit d771496210
2 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,7 @@ dofile(minetest.get_modpath("technic").."/solar_panel.lua")
dofile(minetest.get_modpath("technic").."/geothermal.lua") dofile(minetest.get_modpath("technic").."/geothermal.lua")
dofile(minetest.get_modpath("technic").."/water_mill.lua") dofile(minetest.get_modpath("technic").."/water_mill.lua")
dofile(minetest.get_modpath("technic").."/alloy_furnace.lua") dofile(minetest.get_modpath("technic").."/alloy_furnace.lua")
dofile(minetest.get_modpath("technic").."/items.lua")
function has_locked_chest_privilege(meta, player) function has_locked_chest_privilege(meta, player)

11
items.lua Normal file
View File

@ -0,0 +1,11 @@
minetest.register_craftitem( "technic:silicon_wafer", {
description = "Silicon Wafer",
inventory_image = "technic_silicon_wafer.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem( "technic:doped_silicon_wafer", {
description = "Doped Silicon Wafer",
inventory_image = "technic_doped_silicon_wafer.png",
on_place_on_ground = minetest.craftitem_place_item,
})