Add help to mushrooms

This commit is contained in:
Wuzzy 2017-04-01 01:23:55 +02:00
parent 4ec051a0a4
commit 5cf9a7b3d1

@ -57,8 +57,17 @@ local on_place = function(itemstack, placer, pointed_thing)
return itemstack
end
local longdesc = [[Mushrooms are fungi which grow and spread in darkness, but are sensitive to light.
A single mushroom will slowly spread over time towards a random opaque block with a light level of 12 or lower in a 5×5×5 cube around the mushroom. A mushroom stops spreading when there are 5 or more mushrooms of the same color within an area of 9×3×9 blocks around the mushroom.
Mushrooms will eventually uproot at a light level of 12 or higher. On mycelium or podzol, they survive and spread at any light level.]]
local usagehelp = "Mushrooms can be placed on mycelium and podzol at any light level. They can also be placed on blocks which are both solid and opaque, as long as the light level at daytime is not higher than 12."
minetest.register_node("mcl_mushrooms:mushroom_brown", {
description = "Brown Mushroom",
_doc_items_longdesc = longdesc,
_doc_items_usagehelp = usagehelp,
drawtype = "plantlike",
tiles = { "farming_mushroom_brown.png" },
inventory_image = "farming_mushroom_brown.png",
@ -80,6 +89,8 @@ minetest.register_node("mcl_mushrooms:mushroom_brown", {
minetest.register_node("mcl_mushrooms:mushroom_red", {
description = "Red Mushroom",
_doc_items_longdesc = longdesc,
_doc_items_usagehelp = usagehelp,
drawtype = "plantlike",
tiles = { "farming_mushroom_red.png" },
inventory_image = "farming_mushroom_red.png",