summaryrefslogtreecommitdiff
path: root/mesecons_materials/init.lua
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2015-11-20 20:14:50 +0100
committerJeija <norrepli@gmail.com>2015-11-20 20:14:50 +0100
commit0ec771bf7d8d95f24b46d2f608cccc109ec2de4f (patch)
tree646ef2a1e6d7750fa6e12d648986ef2ff7e78fee /mesecons_materials/init.lua
parent75bd081a67a2ac52b8a0eea1e051a456d288c71d (diff)
downloadmesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.gz
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.bz2
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.xz
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.zip
Major change: Documentation is now included with mesecons, the website just extracts the documentation in a more readable format
This makes development of new features easier, as documentation can automatically be updated on the website without modifying the website's code! Every mod that has nodes in the mesecons modpack has a "doc" folder that contains subfolders with recipe, description and preview of the block. The website will discover which documentation is available by reading the documentation.json file.
Diffstat (limited to 'mesecons_materials/init.lua')
-rw-r--r--mesecons_materials/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_materials/init.lua b/mesecons_materials/init.lua
index 5ebf605..eb19c3e 100644
--- a/mesecons_materials/init.lua
+++ b/mesecons_materials/init.lua
@@ -1,12 +1,12 @@
---GLUE
+-- Glue and fiber
minetest.register_craftitem("mesecons_materials:glue", {
- image = "jeija_glue.png",
+ image = "mesecons_glue.png",
on_place_on_ground = minetest.craftitem_place_item,
description="Glue",
})
minetest.register_craftitem("mesecons_materials:fiber", {
- image = "jeija_fiber.png",
+ image = "mesecons_fiber.png",
on_place_on_ground = minetest.craftitem_place_item,
description="Fiber",
})
@@ -27,7 +27,7 @@ minetest.register_craft({
-- Silicon
minetest.register_craftitem("mesecons_materials:silicon", {
- image = "jeija_silicon.png",
+ image = "mesecons_silicon.png",
on_place_on_ground = minetest.craftitem_place_item,
description="Silicon",
})