Add _tt_help to many more items

This commit is contained in:
Wuzzy 2020-03-08 03:18:47 +01:00
parent ba74546d48
commit cbda2ef326
19 changed files with 88 additions and 34 deletions

View file

@ -174,6 +174,7 @@ mcl_fences.register_fence_gate = function(id, fence_gate_name, texture, groups,
cgroups_closed.mesecon_effector_off = nil
minetest.register_node(gate_id, {
description = fence_gate_name,
_tt_help = S("Use to open or close"),
_doc_items_longdesc = S("Fence gates can be opened or closed and can't be jumped over. Fences will connect nicely to fence gates."),
_doc_items_usagehelp = S("Right-click the fence gate to open or close it."),
tiles = {texture},
@ -306,7 +307,7 @@ minetest.register_craft({
burntime = 15,
})
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
local time_to_load = os.clock() - init
minetest.log("action", string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))