mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 13:52:31 +01:00
Added silicon wafers
This commit is contained in:
parent
1f1562f630
commit
d771496210
1
init.lua
1
init.lua
@ -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
11
items.lua
Normal 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,
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user