summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-09-11 13:57:16 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-09-11 13:57:16 +0200
commitd7714962109ef20cd5f2b0e44d55e9363dda3506 (patch)
treed74595c2a38a4b1d21301a5470e2399e5c1153c9
parent1f1562f630bf1f8cb0c40161a2a423a702c5a209 (diff)
Added silicon wafers
-rw-r--r--init.lua1
-rw-r--r--items.lua11
2 files changed, 12 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 6d60628..a41b11a 100644
--- a/init.lua
+++ b/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").."/water_mill.lua")
dofile(minetest.get_modpath("technic").."/alloy_furnace.lua")
+dofile(minetest.get_modpath("technic").."/items.lua")
function has_locked_chest_privilege(meta, player)
diff --git a/items.lua b/items.lua
new file mode 100644
index 0000000..7409b15
--- /dev/null
+++ b/items.lua
@@ -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,
+}) \ No newline at end of file