mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-09 03:40:34 +02:00
bunch of documentation
This commit is contained in:
@ -73,9 +73,11 @@ local add_to_table = function(dest, source)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node("df_mapitems:wall_pearls", {
|
||||
minetest.register_node("df_mapitems:cave_pearls", {
|
||||
description = S("Cave Pearls"),
|
||||
tiles = {"dfcaverns_cave_pearl.png"},
|
||||
_doc_items_longdesc = df_mapitems.doc.cave_pearls_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.cave_pearls_usage,
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -95,7 +97,7 @@ minetest.register_node("df_mapitems:wall_pearls", {
|
||||
})
|
||||
|
||||
local c_air = minetest.get_content_id("air")
|
||||
local c_pearls = minetest.get_content_id("df_mapitems:wall_pearls")
|
||||
local c_pearls = minetest.get_content_id("df_mapitems:cave_pearls")
|
||||
|
||||
local valid_nodes = {} -- cache values
|
||||
local is_valid_mounting_node = function(c_node)
|
||||
|
@ -41,3 +41,6 @@ df_mapitems.doc.glow_ruby_ore_usage = S("Aside from its aesthetic value this roc
|
||||
|
||||
df_mapitems.doc.big_crystal_desc = S("Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.")
|
||||
df_mapitems.doc.big_crystal_usage = S("Aside from its aesthetic value this crystal has no particular use.")
|
||||
|
||||
df_mapitems.doc.cave_pearls_desc = S("These nodules are actually calcified bacterial colonies.")
|
||||
df_mapitems.doc.cave_pearls_usage = S("Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.")
|
Reference in New Issue
Block a user