1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-03 16:40:25 +02:00

[minetestforfun_game] Update

This commit is contained in:
LeMagnesium
2015-10-21 14:06:13 +02:00
parent 95c4665a83
commit 01dea59dd5
8 changed files with 23 additions and 30 deletions

View File

@ -33,7 +33,8 @@ local function book_on_use(itemstack, user, pointed_thing)
formspec = "size[8,8]"..default.gui_bg..
"label[0.5,0.5;by "..owner.."]"..
"label[0.5,0;"..minetest.formspec_escape(title).."]"..
"textarea[0.5,1.5;7.5,7;;"..minetest.formspec_escape(text)..";]"
"tableoptions[background=#00000000;highlight=#00000000;border=false]"..
"table[0.5,1.5;7.5,7;;"..minetest.formspec_escape(text):gsub("\n", ",")..";1]"
end
minetest.show_formspec(user:get_player_name(), "default:book", formspec)
end