summaryrefslogtreecommitdiff
path: root/extranodes/diamonds.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-11-12 16:35:29 +0100
committerroot <root@linux-forks.de>2018-11-12 16:35:29 +0100
commit73f91e1c6ac569a62f30fa0e8529cbd87e1a7e3e (patch)
tree4dc9085760f2fc430185635bf4e565ca71928d8b /extranodes/diamonds.lua
parentadd37e708dd771113077cfed1ef5cc7ed3c5da9e (diff)
parent05911cccd7452a3e65dab8f08a59137fe1a92629 (diff)
Merge https://github.com/h-v-smacker/technicHEADmaster
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"
+})