[fix][tested] Fixed the background to new Printed Paper.

This commit is contained in:
Lunovox 2024-03-21 11:37:48 -03:00
parent a12f929178
commit e2ba5ac452
2 changed files with 8 additions and 6 deletions

View file

@ -211,6 +211,8 @@ modMinerTrade.addTransferProof_v2 = function(player, accountname, txtBeneficiary
)
local htmlBody = [[
<global valign=middle halign=left margin=10 background=#FFFFFF00 color=#000000 hovercolor=#00FF00 size=12 font=mono>
<tag name=action color=#FF0000 hovercolor=#00FF00 font=mono size=12>
<center>
<img name=obj_piggy_bank.png float=center width=96 height=96>
<style font=mono color=#FF0000 size=24><b><minetest_bank/></b></style>
@ -220,9 +222,9 @@ modMinerTrade.addTransferProof_v2 = function(player, accountname, txtBeneficiary
<doc_data/>
<center>
---------------------------------= AUTHENTICATION HASH =-------------------------------------
<transfer_auth/>
-----------------------------------------------------------------------------------------------
-------------= AUTHENTICATION HASH =--------------
<center><transfer_auth/></center>
--------------------------------------------------
<exit_message/>
</center>
]]

View file

@ -69,12 +69,12 @@ modMinerTrade.showPaperPrinted = function(playername, text)
myFormSpec = myFormSpec
--.."formspec_version[5.6.0]"
.."formspec_version[6]"
.."size[16,8,true]"
.."size[11,11,true]"
.."no_prepend[]"
.."bgcolor[#08080844;true]" --Padrão: #080808BB
.."background[0,0;16,8;bgf_scroll.png]"
.."background[0,0;11,11;bgf_scroll.png]"
--.."vertlabel[15.75,0.5;"..minetest.formspec_escape(modMinerTrade.translate("PRINTED PAPER")).."]"
.."hypertext[1.75,1.5;12.75,4.75;myPage;"
.."hypertext[1.00,1.00;9.25,7.50;myPage;"
--..minetest.formspec_escape("<global margin=10 valign=0 color=#FF00FF hovercolor=#00FFFF size=12 font=normal halign=center >")
.."<global valign=middle halign=left margin=10 background=#FFFFFF00 color=#000000 hovercolor=#00FF00 size=12 font=normal>"
.."<tag name=action color=#FF0000 hovercolor=#00FF00 font=normal size=12>"