mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-09-12 08:42:10 +02:00
11 lines
365 B
Lua
11 lines
365 B
Lua
-- Disable built-in factoids; it is planned to add custom ones as replacements
|
|
doc.sub.items.disable_core_factoid("node_mining")
|
|
doc.sub.items.disable_core_factoid("tool_capabilities")
|
|
|
|
-- Help button callback
|
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|
if fields.__mcl_doc then
|
|
doc.show_doc(player:get_player_name())
|
|
end
|
|
end)
|