made i want to give you something window nicer

This commit is contained in:
Sokomine 2022-05-09 19:32:24 +02:00
parent 0c099640ac
commit bb399d3381
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
yl_speak_up.get_fs_player_offers_item = function(player, param)
local pname = player:get_player_name()
local dialog = yl_speak_up.speak_to[pname].dialog
return "size[8.5,8]"..
return yl_speak_up.show_fs_simple_deco(8.5, 8)..
"list[current_player;main;0.2,3.85;8,1;]"..
"list[current_player;main;0.2,5.08;8,3;8]"..
"button[0.2,0.0;2.0,0.9;back_to_talk;Back to talk]"..

View File

@ -252,7 +252,7 @@ yl_speak_up.show_fs = function(player, fs_name, param)
elseif(fs_name == "player_offers_item") then
yl_speak_up.show_fs_ver(pname, "yl_speak_up:player_offers_item",
yl_speak_up.get_fs_player_offers_item(player, param))
yl_speak_up.get_fs_player_offers_item(player, param), 1)
elseif(fs_name == "trade_simple") then
-- the optional parameter param is the trade_id