summaryrefslogtreecommitdiff
path: root/extranodes/diamonds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'extranodes/diamonds.lua')
-rw-r--r--extranodes/diamonds.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/extranodes/diamonds.lua b/extranodes/diamonds.lua
new file mode 100644
index 0000000..96e1bd3
--- /dev/null
+++ b/extranodes/diamonds.lua
@@ -0,0 +1,14 @@
+local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
+
+-- Artificial diamonds
+
+minetest.register_craftitem(":technic:diamond_seed", {
+ description = S("Diamond Seed"),
+ inventory_image = "technic_diamond_seed.png",
+})
+
+minetest.register_craft({
+ type = "cooking",
+ output = "technic:diamond_seed",
+ recipe = "technic:graphite"
+})