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.
1
mesecons_materials/doc/fiber/description.html
Normal file
@ -0,0 +1 @@
|
||||
Craftitem: It can't be placed! Made by cooking glue in the furnace. Used for insulated mesecon crafting.
|
BIN
mesecons_materials/doc/fiber/preview.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
mesecons_materials/doc/fiber/recipe.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
1
mesecons_materials/doc/glue/description.html
Normal file
@ -0,0 +1 @@
|
||||
Craftitem: It can't be placed! Made by cooking saplings in furnace. Used for sticky pistons and sticky movestones.
|
BIN
mesecons_materials/doc/glue/preview.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
mesecons_materials/doc/glue/recipe.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
1
mesecons_materials/doc/silicon/description.html
Normal file
@ -0,0 +1 @@
|
||||
Silicon is just a craftitem: It can't be placed. You'll need it in order to craft other items.
|
BIN
mesecons_materials/doc/silicon/preview.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
mesecons_materials/doc/silicon/recipe.png
Normal file
After Width: | Height: | Size: 11 KiB |
@ -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",
|
||||
})
|
||||
|
BIN
mesecons_materials/textures/mesecons_fiber.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
mesecons_materials/textures/mesecons_glue.png
Normal file
After Width: | Height: | Size: 487 B |
BIN
mesecons_materials/textures/mesecons_silicon.png
Normal file
After Width: | Height: | Size: 867 B |