mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-09-27 23:00:29 +02:00
Window spacing tweaked for a better look
[url=http://postimg.org/image/tc30kuk0h/][img=http://s32.postimg.org/tc30kuk0h/commandblock.jpg][/url]
This commit is contained in:
parent
22df28074c
commit
5ee632224a
|
@ -45,10 +45,10 @@ minetest.register_chatcommand("hp", {
|
||||||
local function initialize_data(meta)
|
local function initialize_data(meta)
|
||||||
local commands = minetest.formspec_escape(meta:get_string("commands"))
|
local commands = minetest.formspec_escape(meta:get_string("commands"))
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
"invsize[9,5;]" ..
|
"invsize[9,5.5;]" ..
|
||||||
"textarea[0.5,0.5;8.5,4;commands;Commands;"..commands.."]" ..
|
"textarea[0.5,0.5;8.5,4;commands;Commands;"..commands.."]" ..
|
||||||
"label[1,3.8;@nearest, @farthest, and @random are replaced by\nthe respective player names]" ..
|
"label[1,4.0;@nearest, @farthest, and @random are replaced by\nthe respective player names]" ..
|
||||||
"button_exit[3.3,4.5;2,1;submit;Submit]")
|
"button_exit[3.5,4.85;2,1;submit;Submit]")
|
||||||
local owner = meta:get_string("owner")
|
local owner = meta:get_string("owner")
|
||||||
if owner == "" then
|
if owner == "" then
|
||||||
owner = "not owned"
|
owner = "not owned"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user