Make formspec bigger to ensure everthing can be read
This commit is contained in:
parent
0ffd003033
commit
1076047ad3
1 changed files with 3 additions and 3 deletions
6
init.lua
6
init.lua
|
@ -51,7 +51,7 @@ if minetest.global_exists("sfinv") then
|
|||
title = "Rules",
|
||||
get = function(self, player, context)
|
||||
return sfinv.make_formspec(player, context,
|
||||
"textlist[0,0;7.85,8.5;help;" .. rules.txt .. "]", false)
|
||||
"textlist[0,0;12,8;help;" .. rules.txt .. "]", false, "size[12,8]")
|
||||
end
|
||||
})
|
||||
end
|
||||
|
@ -70,8 +70,8 @@ end
|
|||
|
||||
function rules.show(player)
|
||||
local pname = player:get_player_name()
|
||||
local fs = "size[8,8.6]bgcolor[#080808BB;true]" ..
|
||||
"textlist[0.1,0.1;7.8,7.9;msg;" .. rules.txt .. ";-1;true]"
|
||||
local fs = "size[12,8.6]bgcolor[#080808BB;true]" ..
|
||||
"textlist[0,0;12,7.9;msg;" .. rules.txt .. ";-1;true]"
|
||||
|
||||
if not has_password(pname) then
|
||||
fs = fs .. "box[4,8.1;3.1,0.7;#900]"
|
||||
|
|
Loading…
Reference in a new issue