summaryrefslogtreecommitdiff
path: root/extranodes/diamonds.lua
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-10-25 12:31:10 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-10-25 12:31:10 +0300
commita707a4526f52a75bacc9df8a9391afaede6ed145 (patch)
tree0382b80a5f4df93245f16bfcfb26b303a73aa8d3 /extranodes/diamonds.lua
parent5ab3fa092c1c2b5460e9853e5577c0237958e2c2 (diff)
extranodes cleanup
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"
+})