Boeing747-8

Untitled

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