Boeing747-8

Untitled

Jul 11th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.09 KB | None | 0 0
  1. --By Fuzzyfirsdog 7/6/17
  2.  
  3.  
  4.  
  5. serialization = function(x)
  6. if type(x) == "table" then
  7. local t = x
  8. local str = ""
  9. for index,value in next,t do
  10. local prefix,tbOption = (type(value)=="string" and "_@" or type(value)=="boolean" and "_!" or type(value)=="number" and "_#" or type(value)=="table" and "_%" or ""),(type(value)~="table" and tostring(value) or "+&"..serialization(value):gsub(";","?").."&-")
  11. str = str .. ':' .. tostring(index) .. prefix .. tbOption .. ";"
  12. end
  13. return str
  14. elseif type(x) == "string" then
  15. local s = x
  16. local list = {}
  17. for str in s:gmatch("(.-);") do
  18. local varName,valueType,value = str:match(':(.-)_(%p)(.+)')
  19. if varName~=nil then
  20. varName = tonumber(varName) or varName
  21. if valueType == "@" then
  22. list[varName] = tostring(value)
  23. elseif valueType == "!" then
  24. list[varName] = value=="true"
  25. elseif valueType == "#" then
  26. list[varName] = tonumber(value)
  27. elseif valueType == "%" then
  28. list[varName] = serialization(value:gsub("+&",""):gsub("&-",""):gsub("%?",";"))
  29. end
  30. end
  31. end
  32. return list
  33. end
  34. end
  35.  
  36. countdown = 15
  37.  
  38. tfm.exec.setRoomMaxPlayers(7)
  39.  
  40. tfm.exec.disableAutoShaman(true)
  41.  
  42. data={}
  43. r2={}
  44. mice={}
  45. canRank={}
  46.  
  47. function r2:rank(name)
  48. scores = {}
  49. rank = true
  50. txt1=""
  51. txt2=""
  52. table.foreach(data, function(k, v) table.insert(scores,{name=k,score=v.score}) end)
  53. table.sort(scores, function(a, b) return a.score>b.score end)
  54. table.foreachi(scores, function(k, v) if k <= 10 then txt1 = ""..txt1.."<font color='#724C31'><br><V>"..k..") "..v.name..""
  55. txt2 = ""..txt2.."<font color='#724C31'><br><V>"..v.score.."" end end)
  56.  
  57. end
  58.  
  59. function openRank(n)
  60. rank = false
  61. canRank[n]=true
  62.  
  63. ui.addTextArea(-4, "<b><font size='9'><p align='center'><font face='Comic Sans MS'>"..txt1, nil, 675, 28, 85, 256, 0x91c444, 0x000000, 0.1, true)
  64. ui.addTextArea(-6, "<b><font size='9'><p align='center'><font face='Comic Sans MS'>"..txt2, nil, 769, 28, 26, 257, 0x91c444, 0x000000, 0.1, true)
  65. end
  66.  
  67. function closeRank(n)
  68. for areas, k in pairs({"-1","-2","-3","-4","-5","-6","-7","-8"}) do
  69. ui.removeTextArea(k, n)
  70. end
  71. rank = false
  72. canRank[n]=false
  73. end
  74. function eventLoop(g,l)
  75. rank = false
  76. canRank[n]=true
  77. ui.addTextArea(-4, "<p align='center'><font size='11'><b><J>Room Leaderboard<br>"..txt1.."", n, 91, 61, 100, 283, 0x073247, 0x073247, 0.6, true)
  78.  
  79.  
  80. end
  81.  
  82. for n,player in pairs(tfm.get.room.playerList) do
  83. tfm.exec.bindKeyboard(n,"0",true,true)
  84. tfm.exec.bindKeyboard(n,"1",true,true)
  85. tfm.exec.bindKeyboard(n,"2",true,true)
  86. tfm.exec.bindKeyboard(n,"3",true,true)
  87.  
  88.  
  89. end
  90.  
  91.  
  92.  
  93. tfm.exec.newGame('<C><P DS="m;55,315,175,315,295,315,415,315,535,315" defilante="0,0,30,1" L="4800" /><Z><S><S X="1500" o="324650" L="3000" Y="416" H="69" P="0,0,0.1,0.2,0,0,0,0" T="12" /><S X="3900" o="324650" L="1800" Y="416" H="69" P="0,0,0.3,0.2,0,0,0,0" T="12" /><S X="2" L="22" Y="295" H="241" P="0,0,0,0.2,0,0,0,0" T="1" /><S X="4798" L="32" Y="286" H="250" P="0,0,0,0.2,0,0,0,0" T="1" /></S><D><DS X="400" Y="344" /></D><O /></Z></C>')
  94. tfm.exec.disableAutoNewGame(true)
  95.  
  96. function eventNewPlayer(n)
  97. tfm.exec.chatMessage("<ROSE>Welcome <J>"..n.."<ROSE>!",n)
  98. mice[n] = {score = 0,rank = r2.rank}
  99. data[n]={showup=0,close="Close",equip="Equip",lang="Language",help="In #DrawLand your goal is to try to get to 500 points on the leaderboard, you can get those points from placing more art on the the map, or you can also draw art for just the fun of it. To move you just use normal controls. (WASD or right, left, down, and up keys). The more wins you get, the more prizes you get, explore that for yourself by getting more wins!",credits="Made by <J>Fuzzyfirsdog. <N>Credits to <J>Bolodefchoco and Bodykudo<N> for extra coding. Credits to <BV>Ragekitteee<N> for FR translations. Credits to <BV>Fuzzyfirsdog<N> for EN translations. Credits to <BV>Bolodefchoco<N> for PT translations",leaderboardtab="Leaderboard",inventorytab="Inventory",helptab="Help",colortab="Change Color",color=math.random(0xFFFFFF),x=400,y=200,score=0,wins=0,award="",inventory="<G>Earn wins to get Items!", using="<font face='arial'><font size='25'>Using:<br><br><b><font size='14'>No Skin",allowed1="",allowed2="",allowed3="",allowed4="",allowed5="",allowed6="",allowed7=""}
  100. ui.addTextArea(-78," ",n,-500,-500,9000,9000,0xFFFFFF,0xFFFFFF,1,false)
  101. mice[n].rank(n)
  102. openRank(n)
  103.  
  104. tfm.exec.bindKeyboard(n,"0",true,true)
  105. tfm.exec.bindKeyboard(n,"1",true,true)
  106. tfm.exec.bindKeyboard(n,"2",true,true)
  107. tfm.exec.bindKeyboard(n,"3",true,true)
  108.  
  109. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[n].leaderboardtab, n, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  110. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[n].colortab, n, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  111. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[n].helptab, n, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  112. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[n].inventorytab, n, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  113. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[n].lang, n, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  114.  
  115. tfm.exec.respawnPlayer(n)
  116. ui.addTextArea(-973, "<font size='20'><font face='Soopafresh,Comic Sans MS,Verdana,Lucida Console'><p align='center'>#Drawland", n, 19, 35, 761, 344, 0x324650, 0x000000, 1, true)
  117. tfm.exec.addImage("15d326e0936.png", "&1", 24, 276, n)
  118. tfm.exec.addImage("15d32680864.png", "&2", 273, -15, n)
  119. end
  120.  
  121.  
  122.  
  123. table.foreach(tfm.get.room.playerList,eventNewPlayer)
  124.  
  125. function eventTextAreaCallback(ids,n,cb)
  126.  
  127.  
  128. if cb=="close" then
  129.  
  130. closeRank(n)
  131.  
  132. ui.removeTextArea(-44,n)
  133. ui.removeTextArea(-32,n)
  134. ui.removeTextArea(-33,n)
  135. ui.removeTextArea(-34,n)
  136. ui.removeTextArea(-35,n)
  137. ui.removeTextArea(-36,n)
  138. ui.removeTextArea(-37,n)
  139. ui.removeTextArea(-38,n)
  140. ui.removeTextArea(-39,n)
  141. ui.removeTextArea(-40,n)
  142. ui.removeTextArea(-41,n)
  143. ui.removeTextArea(-42,n)
  144. ui.removeTextArea(-43,n)
  145. ui.removeTextArea(-43,n)
  146. ui.removeTextArea(-45,n)
  147. ui.removeTextArea(-46,n)
  148. ui.removeTextArea(-47,n)
  149. ui.removeTextArea(-155,n)
  150. ui.removeTextArea(-156,n)
  151. ui.removeTextArea(-157,n)
  152. ui.removeTextArea(-158,n)
  153. closeRank(n)
  154. elseif cb=="lb" then
  155. mice[n].rank(n)
  156. openRank(n)
  157.  
  158.  
  159. elseif cb=="color" then
  160. ui.showColorPicker(0,n,data[n].color,"Choose your color!")
  161. ui.removeTextArea(-32,n)
  162. ui.removeTextArea(-33,n)
  163. ui.removeTextArea(-34,n)
  164. ui.removeTextArea(-35,n)
  165. ui.removeTextArea(-36,n)
  166. ui.removeTextArea(-37,n)
  167. ui.removeTextArea(-38,n)
  168. ui.removeTextArea(-39,n)
  169. ui.removeTextArea(-40,n)
  170. ui.removeTextArea(-41,n)
  171. ui.removeTextArea(-42,n)
  172. ui.removeTextArea(-43,n)
  173. ui.removeTextArea(-43,n)
  174. ui.removeTextArea(-45,n)
  175. ui.removeTextArea(-46,n)
  176. ui.removeTextArea(-47,n)
  177. ui.removeTextArea(-44,n)
  178.  
  179. elseif cb=="help" then
  180. ui.addTextArea(-1, "", n, 220, 45, 360, 313, 0x123e54, 0x123e54, 1, true)
  181. ui.addTextArea(-32, "", n, 222, 48, 356, 307, 0x042636, 0x042636, 1, true)
  182. ui.addTextArea(-33, "", n, 229, 59, 191, 287, 0x2c555c, 0x2c555c, 1, true)
  183. ui.addTextArea(-34, "<p align='center'><font size='25'>#DrawLand</i></b><VP><font size='13'><br><br>"..data[n].help, n, 231, 61, 187, 283, 0x073247, 0x073247, 1, true)
  184. ui.addTextArea(-35, "", n, 481, 59, 86, 287, 0x2c555c, 0x2c555c, 1, true)
  185. ui.addTextArea(-36, "<p align='center'><N><br><font size='10'>"..data[n].credits, n, 483, 61, 82, 283, 0x073247, 0x073247, 1, true)
  186. ui.addTextArea(-37, "", n, 348, 367, 104, 23, 0x123e54, 0x123e54, 1, true)
  187. ui.addTextArea(-38, "<p align='center'><b><R><a href='event:close'>"..data[n].close, n, 350, 369, 100, 19, 0x073247, 0x2c555c, 1, true)
  188. closeRank(n)
  189.  
  190. elseif cb=="inv" or cb=="previous" then
  191.  
  192. ui.addTextArea(-47, "<p align='center'><font size='9'>1/2", n, 300, 55, 200, 321, 0x123e54, 0x042636, 1, true)
  193. ui.addTextArea(-46, "<p align='center'><b><font size='17'>♜<font size='9'><br></b><R>10 wins", n, 438, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  194. ui.addTextArea(-45, "<p align='center'><b><font size='17'>❖<font size='9'><br></b><R>5 wins", n, 313, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  195. ui.addTextArea(-44, "<p align='center'><b><font size='17'>♚<font size='9'><br></b><R>70 wins", n, 438, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  196. ui.addTextArea(-43, "<p align='center'><b><font size='17'>⛄<font size='9'><br></b><R>15 wins", n, 313, 160, 49, 44, 0x2c555c, 0x000000, 1, true)
  197. ui.addTextArea(-42, "<p align='center'><b><font size='17'>☕<font size='9'><br></b><R>25 wins", n, 438, 160, 51, 44, 0x2c555c, 0x000000, 1, true)
  198. ui.addTextArea(-41, "<p align='center'><b><font size='17'>✨<font size='9'><br></b><R>40 wins", n, 313, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  199. ui.addTextArea(-40, "<p align='center'><b><font size='17'>♛<font size='9'><br></b><R>100 wins", n, 376, 160, 51, 44, 0x2c555c, 0x000000, 1, true)
  200. ui.addTextArea(-39, "<p align='center'><b><G>"..data[n].allowed1..""..data[n].equip, n, 289, 128, 100, 23, 0x324650, 0x000000, 0, true)
  201. ui.addTextArea(-38, "<p align='center'><b><G>"..data[n].allowed2..""..data[n].equip, n, 412, 128, 100, 23, 0x324650, 0x000000, 0, true)
  202. ui.addTextArea(-37, "<p align='center'><b><G>"..data[n].allowed3..""..data[n].equip, n, 289, 213, 100, 23, 0x324650, 0x000000, 0, true)
  203. ui.addTextArea(-36, "<p align='center'><b><G>"..data[n].allowed4..""..data[n].equip, n, 412, 213, 100, 23, 0x324650, 0x000000, 0, true)
  204. ui.addTextArea(-35, "<p align='center'><b><G>"..data[n].allowed5..""..data[n].equip, n, 289, 302, 100, 23, 0x324650, 0x000000, 0, true)
  205. ui.addTextArea(-34, "<p align='center'><b><G>"..data[n].allowed6..""..data[n].equip, n, 412, 302, 100, 23, 0x324650, 0x000000, 0, true)
  206. ui.addTextArea(-33, "<p align='center'><b><G>"..data[n].allowed7..""..data[n].equip, n, 349, 213, 100, 23, 0x324650, 0x000000, 0, true)
  207. ui.addTextArea(-32, "<p align='center'><R><a href='event:close'><b>"..data[n].close, n, 348, 337, 100, 29, 0x073247, 0x2c555c, 1, true)
  208. ui.addTextArea(-155, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 376, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  209. ui.addTextArea(-156, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 376, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  210. ui.addTextArea(-157, "<p align='center'><R><a href='event:next'><b><font size='17'>»", n, 456, 337, 30, 29, 0x073247, 0x2c555c, 1, true)
  211. ui.addTextArea(-158, "<p align='center'><R><G><b><font size='17'>«", n, 310, 337, 30, 29, 0x073247, 0x2c555c, 1, true)
  212. closeRank(n)
  213. elseif cb=="next" then
  214. ui.addTextArea(-47, "<p align='center'><font size='9'>2/2", n, 300, 55, 200, 321, 0x123e54, 0x042636, 1, true)
  215. ui.addTextArea(-46, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 438, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  216. ui.addTextArea(-45, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 313, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  217. ui.addTextArea(-44, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 438, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  218. ui.addTextArea(-43, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 313, 160, 49, 44, 0x2c555c, 0x000000, 1, true)
  219. ui.addTextArea(-42, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 438, 160, 51, 44, 0x2c555c, 0x000000, 1, true)
  220. ui.addTextArea(-41, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 313, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  221. ui.addTextArea(-40, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 376, 160, 51, 44, 0x2c555c, 0x000000, 1, true)
  222. ui.addTextArea(-39, "<p align='center'><b><G>"..data[n].allowed1..""..data[n].equip, n, 289, 128, 100, 23, 0x324650, 0x000000, 0, true)
  223. ui.addTextArea(-38, "<p align='center'><b><G>"..data[n].allowed2..""..data[n].equip, n, 412, 128, 100, 23, 0x324650, 0x000000, 0, true)
  224. ui.addTextArea(-37, "<p align='center'><b><G>"..data[n].allowed3..""..data[n].equip, n, 289, 213, 100, 23, 0x324650, 0x000000, 0, true)
  225. ui.addTextArea(-36, "<p align='center'><b><G>"..data[n].allowed4..""..data[n].equip, n, 412, 213, 100, 23, 0x324650, 0x000000, 0, true)
  226. ui.addTextArea(-35, "<p align='center'><b><G>"..data[n].allowed5..""..data[n].equip, n, 289, 312, 100, 23, 0x324650, 0x000000, 0, true)
  227. ui.addTextArea(-34, "<p align='center'><b><G>"..data[n].allowed6..""..data[n].equip, n, 412, 312, 100, 23, 0x324650, 0x000000, 0, true)
  228. ui.addTextArea(-33, "<p align='center'><b><G>"..data[n].allowed7..""..data[n].equip, n, 349, 213, 100, 23, 0x324650, 0x000000, 0, true)
  229. ui.addTextArea(-32, "<p align='center'><R><a href='event:close'><b>"..data[n].close, n, 348, 337, 100, 29, 0x073247, 0x2c555c, 1, true)
  230. ui.addTextArea(-155, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 376, 250, 51, 44, 0x2c555c, 0x000000, 1, true)
  231. ui.addTextArea(-156, "<p align='center'><b><font size='17'>???<font size='9'><br></b><R>???", n, 376, 74, 51, 44, 0x2c555c, 0x000000, 1, true)
  232. ui.addTextArea(-157, "<p align='center'><R><G><b><font size='17'>»", n, 456, 337, 30, 29, 0x073247, 0x2c555c, 1, true)
  233. ui.addTextArea(-158, "<p align='center'><R><a href='event:previous'><b><font size='17'>«", n, 310, 337, 30, 29, 0x073247, 0x2c555c, 1, true)
  234. elseif cb=="prize1" then
  235. data[n].award = "<font size='17'><J>❖"
  236. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>❖"
  237. ui.removeTextArea(-32,n)
  238. ui.removeTextArea(-33,n)
  239. ui.removeTextArea(-34,n)
  240. ui.removeTextArea(-35,n)
  241. ui.removeTextArea(-36,n)
  242. ui.removeTextArea(-37,n)
  243. ui.removeTextArea(-38,n)
  244. ui.removeTextArea(-39,n)
  245. ui.removeTextArea(-40,n)
  246. ui.removeTextArea(-41,n)
  247. ui.removeTextArea(-42,n)
  248. ui.removeTextArea(-43,n)
  249. ui.removeTextArea(-43,n)
  250. ui.removeTextArea(-45,n)
  251. ui.removeTextArea(-46,n)
  252. ui.removeTextArea(-47,n)
  253. ui.removeTextArea(-44,n)
  254.  
  255. elseif cb=="prize2" then
  256. ui.removeTextArea(-32,n)
  257. ui.removeTextArea(-33,n)
  258. ui.removeTextArea(-34,n)
  259. ui.removeTextArea(-35,n)
  260. ui.removeTextArea(-36,n)
  261. ui.removeTextArea(-37,n)
  262. ui.removeTextArea(-38,n)
  263. ui.removeTextArea(-39,n)
  264. ui.removeTextArea(-40,n)
  265. ui.removeTextArea(-41,n)
  266. ui.removeTextArea(-42,n)
  267. ui.removeTextArea(-43,n)
  268. ui.removeTextArea(-43,n)
  269. ui.removeTextArea(-45,n)
  270. ui.removeTextArea(-46,n)
  271. ui.removeTextArea(-47,n)
  272. ui.removeTextArea(-44,n)
  273.  
  274. data[n].award = "<font size='17'><J>♜"
  275. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>☎"
  276. ui.removeTextArea(-32,n)
  277. ui.removeTextArea(-33,n)
  278. ui.removeTextArea(-34,n)
  279. ui.removeTextArea(-35,n)
  280. ui.removeTextArea(-36,n)
  281. ui.removeTextArea(-37,n)
  282. ui.removeTextArea(-38,n)
  283.  
  284. elseif cb=="prize3" then
  285. data[n].award = "<font size='15'><J>⛄"
  286. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>▦"
  287. ui.removeTextArea(-32,n)
  288. ui.removeTextArea(-33,n)
  289. ui.removeTextArea(-34,n)
  290. ui.removeTextArea(-35,n)
  291. ui.removeTextArea(-36,n)
  292. ui.removeTextArea(-37,n)
  293. ui.removeTextArea(-38,n)
  294. ui.removeTextArea(-32,n)
  295. ui.removeTextArea(-33,n)
  296. ui.removeTextArea(-34,n)
  297. ui.removeTextArea(-35,n)
  298. ui.removeTextArea(-36,n)
  299. ui.removeTextArea(-37,n)
  300. ui.removeTextArea(-38,n)
  301. ui.removeTextArea(-39,n)
  302. ui.removeTextArea(-40,n)
  303. ui.removeTextArea(-41,n)
  304. ui.removeTextArea(-42,n)
  305. ui.removeTextArea(-43,n)
  306. ui.removeTextArea(-43,n)
  307. ui.removeTextArea(-45,n)
  308. ui.removeTextArea(-46,n)
  309. ui.removeTextArea(-47,n)
  310. ui.removeTextArea(-44,n)
  311.  
  312. elseif cb=="prize4" then
  313. data[n].award = "<font size='13'><J>☕"
  314. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>☕"
  315. ui.removeTextArea(-32,n)
  316. ui.removeTextArea(-33,n)
  317. ui.removeTextArea(-34,n)
  318. ui.removeTextArea(-35,n)
  319. ui.removeTextArea(-36,n)
  320. ui.removeTextArea(-37,n)
  321. ui.removeTextArea(-38,n)
  322. ui.removeTextArea(-39,n)
  323. ui.removeTextArea(-40,n)
  324. ui.removeTextArea(-41,n)
  325. ui.removeTextArea(-42,n)
  326. ui.removeTextArea(-43,n)
  327. ui.removeTextArea(-43,n)
  328. ui.removeTextArea(-45,n)
  329. ui.removeTextArea(-46,n)
  330. ui.removeTextArea(-47,n)
  331. ui.removeTextArea(-44,n)
  332.  
  333. elseif cb=="prize5" then
  334. data[n].award = "<font size='15'><J>✨"
  335. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>♜"
  336. ui.removeTextArea(-32,n)
  337. ui.removeTextArea(-33,n)
  338. ui.removeTextArea(-34,n)
  339. ui.removeTextArea(-35,n)
  340. ui.removeTextArea(-36,n)
  341. ui.removeTextArea(-37,n)
  342. ui.removeTextArea(-38,n)
  343. ui.removeTextArea(-39,n)
  344. ui.removeTextArea(-40,n)
  345. ui.removeTextArea(-41,n)
  346. ui.removeTextArea(-42,n)
  347. ui.removeTextArea(-43,n)
  348. ui.removeTextArea(-43,n)
  349. ui.removeTextArea(-45,n)
  350. ui.removeTextArea(-46,n)
  351. ui.removeTextArea(-47,n)
  352. ui.removeTextArea(-44,n)
  353.  
  354. elseif cb=="prize6" then
  355. data[n].award = "<font size='17'><J>♚"
  356. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>♚"
  357. ui.removeTextArea(-32,n)
  358. ui.removeTextArea(-33,n)
  359. ui.removeTextArea(-34,n)
  360. ui.removeTextArea(-35,n)
  361. ui.removeTextArea(-36,n)
  362. ui.removeTextArea(-37,n)
  363. ui.removeTextArea(-38,n)
  364. ui.removeTextArea(-39,n)
  365. ui.removeTextArea(-40,n)
  366. ui.removeTextArea(-41,n)
  367. ui.removeTextArea(-42,n)
  368. ui.removeTextArea(-43,n)
  369. ui.removeTextArea(-43,n)
  370. ui.removeTextArea(-45,n)
  371. ui.removeTextArea(-46,n)
  372. ui.removeTextArea(-47,n)
  373. ui.removeTextArea(-44,n)
  374.  
  375. elseif cb=="prize7" then
  376. data[n].award = "<font size='15'><J>♛"
  377. data[n].using = "<font face='arial'><font size='25'>Using<br><br><b><font size='20'><J>♛"
  378.  
  379.  
  380. ui.removeTextArea(-32,n)
  381. ui.removeTextArea(-33,n)
  382. ui.removeTextArea(-34,n)
  383. ui.removeTextArea(-35,n)
  384. ui.removeTextArea(-36,n)
  385. ui.removeTextArea(-37,n)
  386. ui.removeTextArea(-38,n)
  387. ui.removeTextArea(-39,n)
  388. ui.removeTextArea(-40,n)
  389. ui.removeTextArea(-41,n)
  390. ui.removeTextArea(-42,n)
  391. ui.removeTextArea(-43,n)
  392. ui.removeTextArea(-43,n)
  393. ui.removeTextArea(-45,n)
  394. ui.removeTextArea(-46,n)
  395. ui.removeTextArea(-47,n)
  396. ui.removeTextArea(-44,n)
  397.  
  398. elseif cb=="lang" then
  399. ui.addTextArea(-44, "<b><p align='center'><font size='13'><a href='event:fr'>Français", n, 300, 153, 77, 29, 0x324650, 0x000000, 1, true)
  400. ui.addTextArea(-47, "<b><p align='center'><font size='13'><a href='event:en'>English", n, 400, 154, 77, 29, 0x324650, 0x000000, 1, true)
  401. ui.addTextArea(-46, "<b><p align='center'><font size='13'><a href='event:br'>English", n, 400, 154, 77, 29, 0x324650, 0x000000, 1, true)
  402.  
  403.  
  404. ui.removeTextArea(-32,n)
  405. ui.removeTextArea(-33,n)
  406. ui.removeTextArea(-34,n)
  407. ui.removeTextArea(-35,n)
  408. ui.removeTextArea(-36,n)
  409. ui.removeTextArea(-37,n)
  410. ui.removeTextArea(-38,n)
  411. ui.removeTextArea(-39,n)
  412. ui.removeTextArea(-40,n)
  413. ui.removeTextArea(-41,n)
  414. ui.removeTextArea(-42,n)
  415. ui.removeTextArea(-43,n)
  416. ui.removeTextArea(-43,n)
  417. ui.removeTextArea(-45,n)
  418.  
  419.  
  420. ui.removeTextArea(-155,n)
  421. ui.removeTextArea(-156,n)
  422. ui.removeTextArea(-157,n)
  423. ui.removeTextArea(-158,n)
  424. elseif cb=="en" then
  425. data[n].help = "In #DrawLand your goal is to try to get to 500 points on the leaderboard, you can get those points from placing more art on the the map, or you can also draw art for just the fun of it. To move you just use normal controls. (WASD or right, left, down, and up keys). The more wins you get, the more prizes you get, explore that for yourself by getting more wins!"
  426. data[n].credits = "Made by <J>Fuzzyfirsdog. <N>Credits to <J>Bolodefchoco and Bodykudo<N> for extra coding. Credits to <BV>Ragekitteee<N> for FR translations. Credits to <BV>Fuzzyfirsdog<N> for EN translations. Credits to <BV>Bolodefchoco<N> for PT translations"
  427.  
  428. data[n].inventorytab = "Inventory"
  429. data[n].helptab = "Help"
  430. data[n].leaderboardtab = "Leaderboard"
  431. data[n].colortab = "Change Color"
  432. data[n].close = "Close"
  433. data[n].equip = "Equip"
  434. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[n].leaderboardtab, n, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  435. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[n].colortab, n, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  436. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[n].helptab, n, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  437. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[n].inventorytab, n, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  438. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[n].lang, n, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  439.  
  440. ui.removeTextArea(-32,n)
  441. ui.removeTextArea(-33,n)
  442. ui.removeTextArea(-34,n)
  443. ui.removeTextArea(-35,n)
  444. ui.removeTextArea(-36,n)
  445. ui.removeTextArea(-37,n)
  446. ui.removeTextArea(-38,n)
  447. ui.removeTextArea(-39,n)
  448. ui.removeTextArea(-40,n)
  449. ui.removeTextArea(-41,n)
  450. ui.removeTextArea(-42,n)
  451. ui.removeTextArea(-43,n)
  452. ui.removeTextArea(-43,n)
  453. ui.removeTextArea(-45,n)
  454. ui.removeTextArea(-46,n)
  455. ui.removeTextArea(-47,n)
  456. ui.removeTextArea(-44,n)
  457.  
  458. elseif cb=="fr" then
  459. data[n].help = "Dans #DrawLand, le but est d'essayer d'atteindre 500 points dans le tableau de classement. Tu peux gagner des points en ajoutant une touche d'art dans la map, ou en dessinant juste pour le plaisir. Pour te déplacer, il suffit d'utiliser les touches du clavier (Z/haut, Q/gauche, S/bas, D/droit). C'est en remportant le plus de victoires que les prix à recevoir se multiplient. Explore toi-même cela en remportant le plus de victoires!"
  460. data[n].credits = "Fait par <J>Fuzzyfirsdog.<N>Merci à <J>Bolodefchoco et Bodykudo<N> pour le codage supplémentaire. Merci à <BV>Ragekitteee<N> pour la traduction en FR. Merci à <BV>Fuzzyfirsdog<N> pour la traduction en EN. Merci à <BV>Bolodefchoco<N> pour la traduction en PT."
  461. data[n].inventorytab = "Inventaire"
  462. data[n].helptab = "Aide"
  463. data[n].leaderboardtab = "Classement"
  464. data[n].colortab = "Changer la couleur"
  465. data[n].close = "Fermer"
  466. data[n].equip = "Équiper"
  467.  
  468. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[n].leaderboardtab, n, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  469. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[n].colortab, n, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  470. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[n].helptab, n, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  471. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[n].inventorytab, n, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  472. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[n].lang, n, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  473.  
  474. ui.removeTextArea(-32,n)
  475. ui.removeTextArea(-33,n)
  476. ui.removeTextArea(-34,n)
  477. ui.removeTextArea(-35,n)
  478. ui.removeTextArea(-36,n)
  479. ui.removeTextArea(-37,n)
  480. ui.removeTextArea(-38,n)
  481. ui.removeTextArea(-39,n)
  482. ui.removeTextArea(-40,n)
  483. ui.removeTextArea(-41,n)
  484. ui.removeTextArea(-42,n)
  485. ui.removeTextArea(-43,n)
  486. ui.removeTextArea(-43,n)
  487. ui.removeTextArea(-45,n)
  488. ui.removeTextArea(-46,n)
  489. ui.removeTextArea(-47,n)
  490. ui.removeTextArea(-44,n)
  491.  
  492. end
  493. end
  494.  
  495.  
  496.  
  497.  
  498. id=0
  499. function eventKeyboard(name,key,down,xPos,yPos)
  500.  
  501. id = id + 1
  502. ui.removeTextArea(-44,name)
  503. ui.removeTextArea(-32,name)
  504. ui.removeTextArea(-33,name)
  505. ui.removeTextArea(-34,name)
  506. ui.removeTextArea(-35,name)
  507. ui.removeTextArea(-36,name)
  508. ui.removeTextArea(-37,name)
  509. ui.removeTextArea(-38,name)
  510. ui.removeTextArea(-39,name)
  511. ui.removeTextArea(-40,name)
  512. ui.removeTextArea(-41,name)
  513. ui.removeTextArea(-42,name)
  514. ui.removeTextArea(-43,name)
  515. ui.removeTextArea(-43,name)
  516. ui.removeTextArea(-45,name)
  517. ui.removeTextArea(-46,name)
  518. ui.removeTextArea(-47,name)
  519. ui.removeTextArea(-155,name)
  520. ui.removeTextArea(-156,name)
  521. ui.removeTextArea(-157,name)
  522. ui.removeTextArea(-158,name)
  523.  
  524.  
  525. if data[name].score == 500 then
  526.  
  527. ui.addTextArea(-23, "<p align='center'><b><V>"..data[name].inventorytab, name, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  528.  
  529. data[name].x = 400
  530. data[name].y = 200
  531. countdown = 0
  532.  
  533.  
  534.  
  535.  
  536. data[name].score = 0
  537. data[name].wins = data[name].wins + 1
  538.  
  539.  
  540. tfm.exec.chatMessage("<ROSE>"..name.." has earned 1 win by getting 500 points and now has a total of <J>"..data[name].wins.."<ROSE> wins!")
  541. tfm.exec.chatMessage("<br><VP>New Round Starting in 7 seconds!")
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549. elseif key==0 and down then
  550. tfm.exec.setPlayerScore(name,data[name].score)
  551. data[name].x = data[name].x - 22
  552. ui.addTextArea(id,data[name].award,nil,data[name].x,data[name].y,20,20,data[name].color,data[name].color,1,false)
  553. ui.addTextArea(names[math.random(#names)]," <font color='#000001'><font size='10'>"..name.." Wins: "..data[name].wins,nil,data[name].x - 22,data[name].y - 30,200,20,0xFF7700,0xFF7700,0,false)
  554. data[name].score = data[name].score + 2
  555. mice[name].score = mice[name].score + 2
  556. elseif key==2 and down then
  557. tfm.exec.setPlayerScore(name,data[name].score)
  558. data[name].score = data[name].score + 2
  559. mice[name].score = mice[name].score + 2
  560. ui.addTextArea(names[math.random(#names)]," <font color='#000001'><font size='10'>"..name.." Wins: "..data[name].wins,nil,data[name].x - 22,data[name].y - 30,200,20,data[name].color,data[name].color,0,false)
  561. data[name].x = data[name].x + 22
  562. ui.addTextArea(id,data[name].award,nil,data[name].x,data[name].y,20,20,data[name].color,data[name].color,1,false)
  563. elseif key==1 and down then
  564.  
  565. tfm.exec.setPlayerScore(name,data[name].score)
  566. data[name].score = data[name].score + 2
  567. mice[name].score = mice[name].score + 2
  568. ui.addTextArea(names[math.random(#names)]," <font color='#000001'><font size='10'>"..name.." Wins: "..data[name].wins,nil,data[name].x - 22,data[name].y - 30,200,20,data[name].color,data[name].color,0,false)
  569. data[name].y = data[name].y - 22
  570. ui.addTextArea(id,data[name].award,nil,data[name].x,data[name].y,20,20,data[name].color,data[name].color,1,false)
  571. elseif key==3 and down then
  572. data[name].score = data[name].score + 2
  573. mice[name].score = mice[name].score + 2
  574. data[name].y = data[name].y + 22
  575. ui.addTextArea(id,data[name].award,nil,data[name].x,data[name].y,20,20,data[name].color,data[name].color,1,false)
  576. ui.addTextArea(names[math.random(#names)]," <font color='#000001'><font size='10'>"..name.." Wins: "..data[name].wins,nil,data[name].x - 22,data[name].y - 30,200,20,data[name].color,data[name].color,0,false)
  577. tfm.exec.setPlayerScore(name,data[name].score)
  578.  
  579.  
  580. end
  581. end
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. names={"hi xD"}
  593.  
  594.  
  595.  
  596. function eventColorPicked(id,n,col)
  597. if col~=1 then
  598. data[n].color=col
  599. end
  600. end
  601.  
  602. maps={'<C><P defilante="0,0,30,1" L="4800" DS="m;55,315,175,315,295,315,415,315,535,315" /><Z><S><S X="1500" o="324650" L="3000" Y="416" H="69" P="0,0,9000,0.2,0,0,0,0" T="12" /><S X="3900" o="324650" L="1800" Y="417" H="69" P="0,0,9000,0.2,0,0,0,0" T="12" /><S X="2" L="22" Y="295" H="241" P="0,0,0,0.2,0,0,0,0" T="1" /><S X="4798" L="32" Y="286" H="250" P="0,0,0,0.2,0,0,0,0" T="1" /><S X="56" o="ffffff" L="3000" Y="-332" c="4" H="3000" P="0,0,0.3,0.2,0,0,0,0" T="12" N="" /><S X="1914" o="ffffff" L="3000" Y="-54" c="4" H="3000" P="0,0,0.3,0.2,0,0,0,0" T="12" N="" /><S X="3242" o="ffffff" L="3000" Y="309" c="4" H="3000" P="0,0,0.3,0.2,0,0,0,0" T="12" N="" /><S X="4533" o="ffffff" L="3000" Y="183" c="4" H="3000" P="0,0,0.3,0.2,0,0,0,0" T="12" N="" /></S><D><DS X="400" Y="344" /></D><O /></Z></C>'}
  603.  
  604.  
  605.  
  606.  
  607. function eventLoop(lx,dx)
  608.  
  609. countdown = countdown + 0.5
  610.  
  611.  
  612.  
  613.  
  614. if countdown == 7 then
  615. tfm.exec.newGame(maps[math.random(#maps)])
  616. tfm.exec.setGameTime(7,true)
  617. else
  618. for n in next,tfm.get.room.playerList do
  619. tfm.exec.movePlayer(n,data[n].x,math.random(),false,0,0,false)
  620. if canRank[n] then
  621. mice[n].rank(n)
  622.  
  623. iyo="⭐"
  624. openRank(n)
  625.  
  626.  
  627. tfm.exec.setUIMapName("<font color='#009799'>Draw Land!")
  628.  
  629. data[n].showup = data[n].showup + 0.5
  630.  
  631.  
  632. if data[n].wins == 5 then
  633. data[n].award = "<font size='12'><N><b>❖"
  634. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 5 wins and 1 bonus win!")
  635. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin"
  636. data[n].wins = 6
  637. data[n].allowed1 = "<a href='event:prize1'><N>"
  638. elseif data[n].wins == 10 then
  639. data[n].award = "<font size='13'>♜"
  640. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 10 wins and 1 bonus win!")
  641. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin"
  642. data[n].wins = 11
  643. data[n].allowed2 = "<a href='event:prize2'><N>"
  644.  
  645. elseif data[n].wins == 15 then
  646. data[n].award = "<font size='17'><u><J><font size='15'><N>⛄"
  647. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 15 wins and a bonus extra 2 wins!")
  648. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize3'>▦<br><br><V>Equip Skin"
  649. data[n].wins = 17
  650. data[n].allowed3 = "<a href='event:prize3'><N>"
  651.  
  652. elseif data[n].wins == 25 then
  653. data[n].award = "<font size='13'>☕"
  654. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 25 wins and a bonus extra 3 wins!")
  655. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize3'>▦<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize4'>☕<br><br><V>Equip Skin"
  656. data[n].wins = 28
  657. data[n].allowed4 = "<a href='event:prize4'><N>"
  658.  
  659. elseif data[n].wins == 40 then
  660. data[n].award = "<font size='15'><N>✨"
  661. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 40 wins and a bonus extra 3 wins!")
  662. data[name].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize3'>▦<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize4'>☕<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize5'>♜<br><br><V>Equip Skin"
  663. data[n].wins = 43
  664. data[n].allowed5 = "<a href='event:prize5'><N>"
  665.  
  666. elseif data[n].wins == 70 then
  667. data[name].award = "<font size='17'><N>♚"
  668. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 70 wins and a bonus extra 5 wins!")
  669. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize3'>▦<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize4'>☕<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize5'>♜<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize6'>♚<br><br><V>Equip Skin"
  670. data[n].wins = 75
  671. data[n].allowed6 = "<a href='event:prize6'><N>"
  672.  
  673. elseif data[n].wins == 100 then
  674. data[n].award = "<font size='15'><J>♛"
  675. tfm.exec.chatMessage("<VP>"..n.." has earned a new skin from getting 100 wins and a bonus extra 5 wins!")
  676. data[n].inventory = "<p align='center'><b><R><a href='event:prize1'>❖<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize2'>☎<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize3'>▦<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize4'>☕<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize5'>♜<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize6'>♚<br><br><V>Equip Skin<br><p align='center'><b><R><a href='event:prize7'>♛<br><br><V>Equip Skin"
  677. data[n].allowed7 = "<a href='event:prize7'><N>"
  678. data[n].wins = 105
  679. elseif data[n].showup == 3 then
  680. tfm.exec.removeImage(1)
  681. tfm.exec.removeImage(2)
  682. ui.removeTextArea(-973,n)
  683.  
  684. ui.addTextArea(-8, "<p align='center'><b><N><a href='event:close'>"..data[n].close, n, 675, 293, 120, 19, 0x073247, 0x2c555c, 0.2, true)
  685.  
  686.  
  687.  
  688. end
  689. end
  690. end
  691. end
  692. end
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705. function eventPlayerDied(m)
  706. tfm.exec.respawnPlayer(m)
  707. end
  708.  
  709.  
  710.  
  711. eventNewGame = function()
  712.  
  713. ui.addTextArea(-77," ",nil,-500,-500,9000,9000,0xFFFFFF,0xFFFFFF,1,false)
  714. for ic in next,toRemove do
  715. for name,player in pairs(tfm.get.room.playerList) do
  716.  
  717. data[name].x = 400
  718. data[name].y = 200
  719. ui.removeTextArea(ic)
  720.  
  721.  
  722.  
  723. data[name].score = 0
  724. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[name].leaderboardtab, name, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  725. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[name].colortab, name, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  726. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[name].helptab, name, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  727. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[name].inventorytab, name, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  728. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[name].lang, name, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  729.  
  730.  
  731. end
  732. end
  733. end
  734.  
  735.  
  736.  
  737.  
  738. toRemove = {}
  739. do
  740. local addTextArea = ui.addTextArea
  741. ui.addTextArea = function(id,...)
  742. toRemove[id] = true
  743. addTextArea(id,...)
  744. end
  745. end
  746.  
  747.  
  748.  
  749.  
  750.  
  751. tfm.exec.disableAfkDeath(true)
  752.  
  753. for c,player in pairs(tfm.get.room.playerList) do
  754. mice[c].rank(c)
  755. openRank(c)
  756. end
  757.  
  758.  
  759.  
  760. function eventChatCommand(n,m)
  761. if m:lower()=="fr" then
  762. data[n].help = "Dans #DrawLand, le but est d'essayer d'atteindre 500 points dans le tableau de classement. Tu peux gagner des points en ajoutant une touche d'art dans la map, ou en dessinant juste pour le plaisir. Pour te déplacer, il suffit d'utiliser les touches du clavier (Z/haut, Q/gauche, S/bas, D/droit). C'est en remportant le plus de victoires que les prix à recevoir se multiplient. Explore toi-même cela en remportant le plus de victoires!"
  763. data[n].credits = "Fait par <J>Fuzzyfirsdog.<N>Merci à <J>Bolodefchoco et Bodykudo<N> pour le codage supplémentaire. Merci à <BV>Ragekitteee<N> pour la traduction en FR."
  764. data[n].inventorytab = "Inventaire"
  765. data[n].helptab = "Aide"
  766. data[n].leaderboardtab = "Classement"
  767. data[n].colortab = "Changer la couleur"
  768. data[n].close = "Fermer"
  769. data[n].equip = "Équiper"
  770.  
  771. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[n].leaderboardtab, n, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  772. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[n].colortab, n, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  773. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[n].helptab, n, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  774. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[n].inventorytab, n, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  775. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[n].lang, n, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  776.  
  777.  
  778. elseif m:lower()=="en" then
  779. data[n].help = "In #DrawLand your goal is to try to get to 500 points on the leaderboard, you can get those points from placing more art on the the map, or you can also draw art for just the fun of it. To move you just use normal controls. (WASD or right, left, down, and up keys). The more wins you get, the more prizes you get, explore that for yourself by getting more wins!"
  780. data[n].credits = "Made by <J>Fuzzyfirsdog. <N>Credits to <J>Bolodefchoco and Bodykudo<N> for extra coding. Credits to <BV>Ragekitteee<N> for FR translations Credits to <BV>Bolodefchoco<N> for PT translations"
  781. data[n].inventorytab = "Inventory"
  782. data[n].helptab = "Help"
  783. data[n].leaderboardtab = "Leaderboard"
  784. data[n].colortab = "Change Color"
  785. data[n].close = "Close"
  786. data[n].equip = "Equip"
  787.  
  788. ui.addTextArea(-20, "<p align='center'><b><V><a href='event:lb'>"..data[n].leaderboardtab, n, 700, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  789. ui.addTextArea(-21, "<p align='center'><b><V><a href='event:color'>"..data[n].colortab, n, 600, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  790. ui.addTextArea(-24, "<p align='center'><b><V><a href='event:help'>"..data[n].helptab, n, 500, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  791. ui.addTextArea(-23, "<p align='center'><b><V><a href='event:inv'>"..data[n].inventorytab, n, 400, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  792. ui.addTextArea(-25, "<p align='center'><b><V><a href='event:lang'>"..data[n].lang, n, 300, 369, 90, 39, 0x073247, 0x2c555c, 0.2, true)
  793.  
  794.  
  795.  
  796. end
  797. end
  798.  
  799.  
  800. extra="في #Drawland هدفك هو تحقيق 500 نقطة علي لوحة النقاط و يمكنك الحصول علي النقاط بالرسم علي الخريطة و من الممكن ايضا الرسم علي الخريطة للمتعة و الاستمتاع وللتحرك استخدم ضوابط التحريك العادية (الاسهم و WASD) عندما تزداد انتصاراتك تزداد الجوائز التي تحصل عليها!"
Advertisement
Add Comment
Please, Sign In to add comment