Add _tt_help to many more items
This commit is contained in:
parent
ba74546d48
commit
cbda2ef326
19 changed files with 88 additions and 34 deletions
|
@ -78,7 +78,7 @@ for c=1, #corals do
|
|||
local doc_desc_fan = S("Corals fans grow on top of coral blocks and need to be inside a water source to survive. Without water, it will die off, as well as the coral block below.")
|
||||
local tt_block = S("Needs water to live")
|
||||
local tt_coral_dead = S("Grows on coral block of same species")
|
||||
local tt_coral = tt_coral_dead .. S("Needs water to live")
|
||||
local tt_coral = tt_coral_dead .. "\n" .. S("Needs water to live")
|
||||
|
||||
-- Coral Block
|
||||
minetest.register_node("mcl_ocean:"..id.."_coral_block", {
|
||||
|
|
|
@ -132,6 +132,7 @@ end
|
|||
|
||||
minetest.register_craftitem("mcl_ocean:kelp", {
|
||||
description = S("Kelp"),
|
||||
_tt_help = S("Grows in water on dirt, sand, gravel"),
|
||||
_doc_items_create_entry = false,
|
||||
inventory_image = "mcl_ocean_kelp_item.png",
|
||||
wield_image = "mcl_ocean_kelp_item.png",
|
||||
|
@ -155,7 +156,6 @@ for s=1, #surfaces do
|
|||
local tt_help, doc_longdesc, doc_img, desc
|
||||
if surfaces[s][1] == "dirt" then
|
||||
doc_longdesc = S("Kelp grows inside water on top of dirt, sand or gravel.")
|
||||
tt_help = S("Grows in water on dirt, sand, gravel")
|
||||
desc = S("Kelp")
|
||||
doc_create = true
|
||||
doc_img = "mcl_ocean_kelp_item.png"
|
||||
|
@ -163,7 +163,6 @@ for s=1, #surfaces do
|
|||
doc_create = false
|
||||
end
|
||||
minetest.register_node("mcl_ocean:kelp_"..surfaces[s][1], {
|
||||
_tt_help = tt_help,
|
||||
_doc_items_entry_name = desc,
|
||||
_doc_items_longdesc = doc_longdesc,
|
||||
_doc_items_create_entry = doc_create,
|
||||
|
|
|
@ -72,7 +72,7 @@ for s=1,4 do
|
|||
desc = S("Sea Pickle")
|
||||
doc_desc = S("Sea pickles grow on dead brain coral blocks and provide light when underwater. They come in 4 sizes that vary in brightness.")
|
||||
doc_use = S("It can only be placed on top of dead brain coral blocks. Placing a sea pickle on another sea pickle will make it grow and brighter.")
|
||||
tt_help = S("Glows when underwater").."\n"..S("4 possible sizes").."\n"..S("Grows on dead brain coral block")
|
||||
tt_help = S("Glows in the water").."\n"..S("4 possible sizes").."\n"..S("Grows on dead brain coral block")
|
||||
img = "mcl_ocean_sea_pickle_item.png"
|
||||
on_place = sea_pickle_on_place
|
||||
else
|
||||
|
|
|
@ -79,6 +79,7 @@ end
|
|||
|
||||
minetest.register_craftitem("mcl_ocean:seagrass", {
|
||||
description = S("Seagrass"),
|
||||
_tt_help = S("Grows in water on dirt, sand, gravel"),
|
||||
_doc_items_create_entry = false,
|
||||
inventory_image = "mcl_ocean_seagrass.png^[verticalframe:12:0",
|
||||
wield_image = "mcl_ocean_seagrass.png^[verticalframe:12:0",
|
||||
|
@ -99,10 +100,9 @@ for s=1, #surfaces do
|
|||
sounds.dig = leaf_sounds.dig
|
||||
sounds.dug = leaf_sounds.dug
|
||||
sounds.place = leaf_sounds.place
|
||||
local tt_help, doc_longdesc, doc_img, desc
|
||||
local doc_longdesc, doc_img, desc
|
||||
if surfaces[s][1] == "dirt" then
|
||||
doc_longdesc = S("Seagrass grows inside water on top of dirt, sand or gravel.")
|
||||
tt_help = S("Grows in water on dirt, sand, gravel")
|
||||
desc = S("Seagrass")
|
||||
doc_create = true
|
||||
doc_img = "mcl_ocean_seagrass.png"
|
||||
|
@ -110,7 +110,6 @@ for s=1, #surfaces do
|
|||
doc_create = false
|
||||
end
|
||||
minetest.register_node("mcl_ocean:seagrass_"..surfaces[s][1], {
|
||||
_tt_help = tt_help,
|
||||
_doc_items_entry_name = desc,
|
||||
_doc_items_longdesc = doc_longdesc,
|
||||
_doc_items_create_entry = doc_create,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue