Update Credits tab

master
MoNTE48 2021-09-04 19:58:50 +02:00
parent 40bdb9c609
commit 96bc43a459
1 changed files with 8 additions and 4 deletions

View File

@ -115,15 +115,16 @@ return {
caption = fgettext("Credits"),
cbf_formspec = function(tabview, name, tabdata)
local version = core.get_version()
local fs = "label[0.1,-0.1;" ..
local fs = "label[0.1,-0.2;" ..
"MultiCraft Open Source, ver. " .. version.string .. "\n" ..
"Copyright (C) 2014-2021 MultiCraft Development Team\n" ..
"Licence: LGPLv3.0+ and CC-BY-SA 4.0, Home page: http://multicraft.world\n" ..
"License: GNU LGPLv3.0+ and CC BY-SA 4.0\n" ..
"Created and Powered by Minetest Engine, ver. 5.4.1]" ..
-- "button[10,-0.5;2,2;homepage;multicraft.world]" ..
"button[9.5,0;2.5,0.5;homepage;Home Page]" ..
"button[9.5,0.8;2.5,0.5;privacy;Privacy Policy]" ..
"tablecolumns[color;text]" ..
"tableoptions[background=#999999;highlight=#00000000;border=true]" ..
"table[0,1.6;11.8,3.8;list_credits;" ..
"table[0,1.5;11.8,4;list_credits;" ..
"#FFFF00," .. fgettext("MultiCraft Developers") .. ",," ..
buildCreditList(multicraft_developers) .. ",,," ..
"#FFFF00," .. fgettext("Minetest Developers") .. ",," ..
@ -149,6 +150,9 @@ return {
if fields.homepage then
core.open_url("http://multicraft.world")
end
if fields.privacy then
core.open_url("http://multicraft.world/privacy")
end
if fields.userdata then
core.open_dir(core.get_user_path())