From 6480f7b3664b6007503a9802732e6766ec1939c4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Mar 2017 19:26:32 +0100 Subject: [PATCH] Add more Nether block help --- mods/ITEMS/mcl_nether/init.lua | 7 +++++++ mods/ITEMS/mcl_nether/nether_wart.lua | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_nether/init.lua b/mods/ITEMS/mcl_nether/init.lua index c2494b37cc..4e209829fc 100644 --- a/mods/ITEMS/mcl_nether/init.lua +++ b/mods/ITEMS/mcl_nether/init.lua @@ -1,5 +1,6 @@ minetest.register_node("mcl_nether:glowstone", { description = "Glowstone", + _doc_items_longdesc = "Glowstone is a naturally-glowing block which is home to the Nether.", tiles = {"mcl_nether_glowstone.png"}, is_ground_content = true, stack_max = 64, @@ -21,6 +22,7 @@ minetest.register_node("mcl_nether:glowstone", { minetest.register_node("mcl_nether:quartz_ore", { description = "Nether Quartz Ore", + _doc_items_longdesc = "Nether quartz ore is an ore containing nether quartz. It is commonly found around netherrack in the Nether.", stack_max = 64, tiles = {"mcl_nether_quartz_ore.png"}, is_ground_content = true, @@ -33,6 +35,7 @@ minetest.register_node("mcl_nether:quartz_ore", { minetest.register_node("mcl_nether:netherrack", { description = "Netherrack", + _doc_items_longdesc = "Netherrack is a stone-like block home to the Nether.", stack_max = 64, tiles = {"mcl_nether_netherrack.png"}, is_ground_content = true, @@ -105,6 +108,7 @@ minetest.register_node("mcl_nether:red_nether_brick", { minetest.register_node("mcl_nether:nether_wart_block", { description = "Nether Wart Block", + _doc_items_longdesc = "A nether wart block is a purely decorational block made from nether wart.", stack_max = 64, tiles = {"mcl_nether_nether_wart_block.png"}, is_ground_content = false, @@ -158,6 +162,7 @@ minetest.register_node("mcl_nether:quartz_pillar", { minetest.register_craftitem("mcl_nether:glowstone_dust", { description = "Glowstone Dust", + _doc_items_longdesc = "Glowstone dust is the dust which comes out of broken glowstones. It is mainly used in crafting and brewing.", inventory_image = "mcl_nether_glowstone_dust.png", stack_max = 64, groups = { craftitem=1 }, @@ -165,6 +170,7 @@ minetest.register_craftitem("mcl_nether:glowstone_dust", { minetest.register_craftitem("mcl_nether:quartz", { description = "Nether Quartz", + _doc_items_longdesc = "Nether quartz is a versatile crafting ingredient.", inventory_image = "mcl_nether_quartz.png", stack_max = 64, groups = { craftitem = 1 }, @@ -172,6 +178,7 @@ minetest.register_craftitem("mcl_nether:quartz", { minetest.register_craftitem("mcl_nether:netherbrick", { description = "Nether Brick", + _doc_items_longdesc = "Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences.", inventory_image = "mcl_nether_netherbrick.png", stack_max = 64, groups = { craftitem = 1 }, diff --git a/mods/ITEMS/mcl_nether/nether_wart.lua b/mods/ITEMS/mcl_nether/nether_wart.lua index 74b838f3c5..14af268078 100644 --- a/mods/ITEMS/mcl_nether/nether_wart.lua +++ b/mods/ITEMS/mcl_nether/nether_wart.lua @@ -16,6 +16,8 @@ minetest.register_node("mcl_nether:nether_wart_0", { }) minetest.register_node("mcl_nether:nether_wart_1", { + description = "Premature Nether Wart", + _doc_items_longdesc = "A premature nether wart has just recently been planted on soul sand. Nether wart slowly grows on soul sand in 3 stages. Although nether wart is home to the Nether, it grows in any dimension.", paramtype = "light", walkable = false, buildable_to = true, @@ -33,6 +35,8 @@ minetest.register_node("mcl_nether:nether_wart_1", { }) minetest.register_node("mcl_nether:nether_wart_2", { + description = "Premature Nether Wart (Stage 2)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, buildable_to = true, @@ -50,6 +54,8 @@ minetest.register_node("mcl_nether:nether_wart_2", { }) minetest.register_node("mcl_nether:nether_wart", { + description = "Mature Nether Wart", + _doc_items_longdesc = "Mature nether wart has been grown successfully on soul sand and is ready to be harvested for its items.", paramtype = "light", walkable = false, buildable_to = true, @@ -74,7 +80,9 @@ minetest.register_node("mcl_nether:nether_wart", { }) minetest.register_craftitem("mcl_nether:nether_wart_item", { - descripointed_thingption = "Nether Wart", + description = "Nether Wart", + _doc_items_longdesc = "Nether warts are plants home to the Nether. They can be planted on soul sand and grow in 3 stages.", + _doc_items_usagehelp = "Place this item on soul sand to plant it and watch it grow.", inventory_image = "mcl_nether_nether_wart.png", wield_image = "mcl_nether_nether_wart.png", on_place = function(itemstack, placer, pointed_thing)