×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 90 / 133 › »
[Lua] Peça scripts aqui!
Rap
« Citoyen »
1545576900000
    • Rap#9678
    • Profil
    • Derniers messages
#1781
  0
Bolodefchoco a dit :
Um evento em 24 horas

Desculpa bolo achei que estava tipo zuando da minha cara.
Biwin
« Citoyen »
1545577020000
    • Biwin#6061
    • Profil
    • Derniers messages
    • Tribu
#1782
  0
Fly, faz um script de chat para mutados? <3
Fly
« Citoyen »
1545577140000
    • Fly#8215
    • Profil
    • Derniers messages
    • Tribu
#1783
  0
Gente calma aí sou um só, ok?

Biwin a dit :
Fly, faz um script de chat para mutados? <3

/sala #grounds0#chat
Infectsoul
1545577500000
    • Infectsoul#2048
    • Profil
    • Derniers messages
    • Tribu
#1784
[Modéré par Kiwrimai, raison : Removido a pedido do autor.]

Dernière modification le 1575920280000
Tempo
« Consul »
1545577560000
    • Tempo#5571
    • Profil
    • Derniers messages
    • Tribu
#1785
  1
Rap a dit :
Fly já vai fazer pra min ele está disposto.
diferente de outros

kkkkkkkkkkkkkkkkk meu deus
amigo ninguém é seu escravo não
se alguém fez um script pra você, você tem que agradecer
aliás, parabéns pro fly pelo esforço
Hugotitas
« Citoyen »
1545577620000
    • Hugotitas#0000
    • Profil
    • Derniers messages
    • Tribu
#1786
  0
Fly me faz um script de voar tbm
Bolodefchoco a dit :

fly me faz um script de voar
Hugotitas
« Citoyen »
1545577620000
    • Hugotitas#0000
    • Profil
    • Derniers messages
    • Tribu
#1787
  1
Tempo a dit :
Rap a dit :
Fly já vai fazer pra min ele está disposto.
diferente de outros

kkkkkkkkkkkkkkkkk meu deus
amigo ninguém é seu escravo não
se alguém fez um script pra você, você tem que agradecer
aliás, parabéns pro fly pelo esforço

Parabéns Fly ²
Rap
« Citoyen »
1545577740000
    • Rap#9678
    • Profil
    • Derniers messages
#1788
  2
Assim não vou pedir script
:p

Dernière modification le 1545577800000
Rap
« Citoyen »
1545577860000
    • Rap#9678
    • Profil
    • Derniers messages
#1789
  0
Tempo a dit :
Rap a dit :
Fly já vai fazer pra min ele está disposto.
diferente de outros

kkkkkkkkkkkkkkkkk meu deus
amigo ninguém é seu escravo não
se alguém fez um script pra você, você tem que agradecer
aliás, parabéns pro fly pelo esforço

Eu já fiz isso
Sla
« Censeur »
1545578280000
    • Sla#3700
    • Profil
    • Derniers messages
    • Tribu
#1790
  0
rapi, entra no mice vou te ensinar o basicão de lua
Rap
« Citoyen »
1545578400000
    • Rap#9678
    • Profil
    • Derniers messages
#1791
  0
Pêra... não é droga né
Rianmojang1
« Citoyen »
1545578460000
    • Rianmojang1#0000
    • Profil
    • Derniers messages
    • Tribu
#1792
  0
Fly mim faz um Script de voar somente quando é vampiro
Rap
« Citoyen »
1545578520000
    • Rap#9678
    • Profil
    • Derniers messages
#1793
  0
Sla 14;00 eu entro
Duda
« Citoyen »
1545610920000
    • Duda#7138
    • Profil
    • Derniers messages
    • Tribu
#1794
  0
Tempo a dit :
Rap a dit :
Fly já vai fazer pra min ele está disposto.
diferente de outros

kkkkkkkkkkkkkkkkk meu deus
amigo ninguém é seu escravo não
se alguém fez um script pra você, você tem que agradecer
aliás, parabéns pro fly pelo esforço
Fly
« Citoyen »
1545629880000
    • Fly#8215
    • Profil
    • Derniers messages
    • Tribu
#1795
  0
Rap a dit :
Fly preciso que fassa um evento lua pra min pra amanhã no evento de natal.

O mapa que eu vou fazer eh pequeno normal todo decorado ai VC tem que fazer que quem abaixar mais tipo montando 3 árvores de natal uma no meio a outra no outro canto ai VC faz que quando abaixarem aparece uma fumacinha ai as arvores vai montando vai crescendo vamos dizer assim ai quando ela crescer coloca um outro mapa pra roda que neva ai vai ser uma guerra de shamns no lugar de ta escrito sham coloca natal e nos 2 mapas coloca Evento de Natal OK. Do feito que eu pedi porfv

Script
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
--[[ Data ]]--
local mapsXml = {
'<C><P F="5" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" o="ffffff" H="40" X="400" Y="400" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1612" o="775" H="1054" X="-805" Y="313" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1612" o="775" X="653" H="1054" Y="927" T="12" /><S P="0,0,0.3,0.2,-90,0,0,0" L="1612" o="775" X="1326" H="1054" Y="99" T="12" /><S P="0,0,0.3,0.2,-180,0,0,0" L="1612" o="775" H="1054" X="406" Y="-526" T="12" /></S><D><P X="322" P="0,0" Y="284" T="53" /><P X="350" P="0,0" Y="315" T="54" /><P X="310" P="0,0" Y="317" T="54" /><P X="282" P="0,0" Y="280" T="54" /><P X="731" P="0,0" Y="379" T="63" /><P X="615" P="0,1" Y="379" T="63" /><P X="549" P="0,1" Y="61" T="64" /><P X="667" P="0,0" Y="280" T="62" /><P X="548" P="0,0" Y="138" T="62" /><P X="562" P="0,0" Y="205" T="62" /><P X="628" P="0,0" Y="219" T="62" /><P X="609" P="0,0" Y="154" T="62" /><P X="170" P="0,0" Y="360" T="0" /><P X="400" P="0,0" Y="360" T="0" /><P X="630" P="0,0" Y="360" T="0" /></D><O /></Z></C>',
'<C><P D="x_transformice/x_connexion/x_indi.jpg" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" o="8dffec" H="10" Y="402" T="12" X="400" /><S X="653" L="1612" o="8dffec" H="1054" c="4" Y="927" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-90,0,0,0" L="1612" o="8dffec" H="1054" c="4" Y="99" T="12" X="1327" /><S H="1054" L="1612" o="8dffec" X="406" c="4" Y="-526" T="12" P="0,0,0.3,0.2,-180,0,0,0" /><S P="0,0,0.3,0.2,-270,0,0,0" L="1612" o="8dffec" X="-527" c="4" Y="119" T="12" H="1054" /><S L="285" X="153" H="34" Y="287" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="247" X="644" H="34" Y="150" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="247" H="34" X="162" Y="151" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="285" H="34" X="646" Y="290" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ffffff" X="478" c="4" Y="220" T="13" H="10" /><S P="0,0,0.3,0.2,20,0,0,0" L="11" o="ffffff" X="484" c="4" Y="217" T="12" H="10" /><S H="10" L="11" o="ffffff" X="485" c="4" Y="219" T="12" P="0,0,0.3,0.2,-50,0,0,0" /><S P="0,0,0.3,0.2,20,0,0,0" L="10" o="ffffff" X="486" c="4" Y="217" T="12" H="10" /></S><D><P X="376" Y="139" T="53" P="0,0" /></D><O /></Z></C>'
}

local treesJoint = {
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="316,315"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="304,318"c="000000,2,1,0"/><JD P1="304,318"P2="311,313"c="000000,2,1,0"/><JD P1="311,313"P2="321,306"c="000000,2,1,0"/><JD P1="321,306"P2="334,297"c="000000,2,1,0"/><JD P1="334,297"P2="346,284"c="000000,2,1,0"/><JD P1="346,284"P2="358,269"c="000000,2,1,0"/><JD P1="358,269"P2="368,251"c="000000,2,1,0"/><JD P1="368,251"P2="375,231"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="431,305"c="000000,2,1,0"/><JD P1="431,305"P2="413,289"c="000000,2,1,0"/><JD P1="413,289"P2="395,265"c="000000,2,1,0"/><JD P1="395,265"P2="376,231"c="000000,2,1,0"/></L></Z></C>',
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="350,263"P2="349,269"c="208000,10,1,0"/><JD P1="334,274"P2="334,275"c="208000,10,1,0"/><JD P1="340,268"P2="324,278"c="208000,8,1,0"/><JD P1="417,271"P2="437,280"c="208000,8,1,0"/><JD P1="373,212"P2="374,218"c="208000,8,1,0"/><JD P1="401,252"P2="413,264"c="208000,10,1,0"/><JD P1="413,264"P2="424,275"c="208000,10,1,0"/><JD P1="364,236"P2="353,251"c="208000,10,1,0"/><JD P1="353,251"P2="338,271"c="208000,10,1,0"/><JD P1="378,227"P2="393,255"c="208000,15,1,0"/><JD P1="393,255"P2="406,283"c="208000,15,1,0"/><JD P1="374,222"P2="364,245"c="208000,15,1,0"/><JD P1="364,245"P2="351,286"c="208000,15,1,0"/><JD P1="381,232"P2="397,253"c="208000,15,1,0"/><JD P1="397,253"P2="407,270"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="345,307"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="305,316"c="000000,2,1,0"/><JD P1="305,316"P2="311,312"c="000000,2,1,0"/><JD P1="311,312"P2="319,308"c="000000,2,1,0"/><JD P1="319,308"P2="327,302"c="000000,2,1,0"/><JD P1="327,302"P2="335,296"c="000000,2,1,0"/><JD P1="335,296"P2="342,288"c="000000,2,1,0"/><JD P1="342,288"P2="345,280"c="000000,2,1,0"/><JD P1="345,280"P2="346,271"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="433,307"c="000000,2,1,0"/><JD P1="433,307"P2="421,298"c="000000,2,1,0"/><JD P1="421,298"P2="413,285"c="000000,2,1,0"/><JD P1="413,285"P2="412,271"c="000000,2,1,0"/><JD P1="346,271"P2="338,277"c="000000,2,1,0"/><JD P1="338,277"P2="317,282"c="000000,2,1,0"/><JD P1="412,271"P2="420,280"c="000000,2,1,0"/><JD P1="420,280"P2="444,284"c="000000,2,1,0"/><JD P1="373,205"P2="371,211"c="000000,2,1,0"/><JD P1="371,211"P2="365,225"c="000000,2,1,0"/><JD P1="365,225"P2="354,243"c="000000,2,1,0"/><JD P1="354,243"P2="338,263"c="000000,2,1,0"/><JD P1="338,263"P2="317,281"c="000000,2,1,0"/><JD P1="373,205"P2="376,211"c="000000,2,1,0"/><JD P1="376,211"P2="386,225"c="000000,2,1,0"/><JD P1="386,225"P2="401,244"c="000000,2,1,0"/><JD P1="401,244"P2="421,265"c="000000,2,1,0"/><JD P1="421,265"P2="445,283"c="000000,2,1,0"/></L></Z></C>',
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="355,222"P2="352,226"c="208000,5,1,0"/><JD P1="352,226"P2="349,229"c="208000,5,1,0"/><JD P1="402,221"P2="407,225"c="208000,6,1,0"/><JD P1="407,225"P2="412,229"c="208000,6,1,0"/><JD P1="379,182"P2="379,186"c="208000,7,1,0"/><JD P1="379,186"P2="379,190"c="208000,7,1,0"/><JD P1="369,206"P2="363,214"c="208000,8,1,0"/><JD P1="363,214"P2="357,221"c="208000,8,1,0"/><JD P1="388,200"P2="395,210"c="208000,8,1,0"/><JD P1="395,210"P2="401,220"c="208000,8,1,0"/><JD P1="374,199"P2="372,218"c="208000,15,1,0"/><JD P1="372,218"P2="366,235"c="208000,15,1,0"/><JD P1="379,190"P2="386,213"c="208000,15,1,0"/><JD P1="386,213"P2="398,251"c="208000,15,1,0"/><JD P1="350,263"P2="349,269"c="208000,10,1,0"/><JD P1="334,274"P2="334,275"c="208000,10,1,0"/><JD P1="340,268"P2="324,278"c="208000,8,1,0"/><JD P1="417,271"P2="437,280"c="208000,8,1,0"/><JD P1="373,212"P2="374,218"c="208000,8,1,0"/><JD P1="401,252"P2="413,264"c="208000,10,1,0"/><JD P1="413,264"P2="424,275"c="208000,10,1,0"/><JD P1="364,236"P2="353,251"c="208000,10,1,0"/><JD P1="353,251"P2="338,271"c="208000,10,1,0"/><JD P1="378,227"P2="393,255"c="208000,15,1,0"/><JD P1="393,255"P2="406,283"c="208000,15,1,0"/><JD P1="374,222"P2="364,245"c="208000,15,1,0"/><JD P1="364,245"P2="351,286"c="208000,15,1,0"/><JD P1="381,232"P2="397,253"c="208000,15,1,0"/><JD P1="397,253"P2="407,270"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="345,307"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="305,316"c="000000,2,1,0"/><JD P1="305,316"P2="311,312"c="000000,2,1,0"/><JD P1="311,312"P2="319,308"c="000000,2,1,0"/><JD P1="319,308"P2="327,302"c="000000,2,1,0"/><JD P1="327,302"P2="335,296"c="000000,2,1,0"/><JD P1="335,296"P2="342,288"c="000000,2,1,0"/><JD P1="342,288"P2="345,280"c="000000,2,1,0"/><JD P1="345,280"P2="346,271"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="433,307"c="000000,2,1,0"/><JD P1="433,307"P2="421,298"c="000000,2,1,0"/><JD P1="421,298"P2="413,285"c="000000,2,1,0"/><JD P1="413,285"P2="412,271"c="000000,2,1,0"/><JD P1="346,271"P2="338,277"c="000000,2,1,0"/><JD P1="338,277"P2="317,282"c="000000,2,1,0"/><JD P1="412,271"P2="420,280"c="000000,2,1,0"/><JD P1="420,280"P2="444,284"c="000000,2,1,0"/><JD P1="362,221"P2="361,225"c="000000,2,1,0"/><JD P1="361,225"P2="357,235"c="000000,2,1,0"/><JD P1="357,235"P2="350,249"c="000000,2,1,0"/><JD P1="350,249"P2="337,265"c="000000,2,1,0"/><JD P1="337,265"P2="317,281"c="000000,2,1,0"/><JD P1="397,221"P2="403,237"c="000000,2,1,0"/><JD P1="403,237"P2="407,249"c="000000,2,1,0"/><JD P1="407,249"P2="413,259"c="000000,2,1,0"/><JD P1="413,259"P2="424,270"c="000000,2,1,0"/><JD P1="424,270"P2="445,283"c="000000,2,1,0"/><JD P1="362,220"P2="352,230"c="000000,2,1,0"/><JD P1="352,230"P2="344,231"c="000000,2,1,0"/><JD P1="397,221"P2="407,230"c="000000,2,1,0"/><JD P1="407,230"P2="416,232"c="000000,2,1,0"/><JD P1="344,230"P2="360,212"c="000000,2,1,0"/><JD P1="360,212"P2="378,177"c="000000,2,1,0"/><JD P1="379,177"P2="398,209"c="000000,2,1,0"/><JD P1="398,209"P2="416,231"c="000000,2,1,0"/><JD P1="374,206"P2="374,207"c="00ccff,8,1,0"/><JD P1="374,206"P2="374,207"c="00ccff,8,1,0"/><JD P1="399,266"P2="399,267"c="00ccff,8,1,0"/><JD P1="399,266"P2="399,267"c="00ccff,8,1,0"/><JD P1="386,212"P2="386,213"c="ff0000,8,1,0"/><JD P1="386,212"P2="386,213"c="ff0000,8,1,0"/><JD P1="361,263"P2="361,264"c="ff0000,8,1,0"/><JD P1="361,263"P2="361,264"c="ff0000,8,1,0"/><JD P1="376,225"P2="376,226"c="ffea00,8,1,0"/><JD P1="376,225"P2="376,226"c="ffea00,8,1,0"/><JD P1="390,251"P2="390,252"c="ffea00,8,1,0"/><JD P1="390,251"P2="390,252"c="ffea00,8,1,0"/><JD P1="377,274"P2="377,275"c="ffea00,8,1,0"/><JD P1="377,274"P2="377,275"c="ffea00,8,1,0"/><JD P1="371,247"P2="371,248"c="00fff2,8,1,0"/><JD P1="371,247"P2="371,248"c="00fff2,8,1,0"/><JD P1="390,292"P2="390,293"c="00fff2,8,1,0"/><JD P1="390,292"P2="390,293"c="00fff2,8,1,0"/><JD P1="359,295"P2="359,296"c="ff0000,8,1,0"/><JD P1="359,295"P2="359,296"c="ff0000,8,1,0"/></L></Z></C>'
}

local game = {
deadPlayers = { ['Rap#9678'] = true },
survivors = {}, players = {}, currentMode = 'event'
}
do
local a = {}
local n = 170

for i = 1, 3 do
a[i] = { id = i, x = n, current = { 0, 0 } }
n = (n + 230)
end

game.trees = a
end

--[[ Lib ]]--
local getDist = function(a, b)
local x = b[1] - a[1];local y = b[2] - a[2]
return math.sqrt((x ^ 2) + (y ^ 2))
end

local treesProgress = function(target, foo)
local addTextArea = function(...) if (foo) then return end ui.addTextArea(...) end

local id, init_id, x = 0, 0
for i = 1, #game.trees do
x = (game.trees[i].x - 50)
addTextArea((id + 1), "<p align='center'>", target, x, 365, 100, 18, 0xffffff)

local w = (game.trees[i].current[1] - 24)
if (w > 0) then addTextArea((id + 2), '', target, (x + 2), 367, w, 14, 0x00ff1a, 0xffffff) end

addTextArea((id + 3), "<p align='center'><font color='#000000'><b>" .. game.trees[i].current[1] .. '/120', target, x, 365, 100, 18, 0, 0)
id = (id + 3);x = (x + 230)
end

return { init_id, id }
end

local showWinners = function()
local t = {};for k, v in next, game.survivors do t[v] = k end
local str = '';for i = 1, 10 do if (t[i]) then str = str .. '<v>' .. t[i] .. '<j> - ' .. i .. '° lugar' .. (i < #t and '\n' or '') end end
if (#str > 0) then ui.addTextArea(666, "<p align='center'>" .. str, nil, 20, 40, nil, nil, 0x17303d) end
end

-- Bolodefchoco's Joint Translator
string.split=function(a,b)local c={}for d in a:gmatch(b)do c[#c+1]=d end;return c end;local _J={}local q=coroutine.wrap(function()local r=1;while true do coroutine.yield(r)r=r+1 end end)local s=function(m,r)local c={}for t,u in next,m do for v,d in next,u do if v==r then c[#c+1]=d end end end;return c end;translateJoint=function(w,x,y,z,A,B)if type(w)=="string"then x,y,z,A,B=w,x,y,z,A;w=#_J+1 end;if type(A)=="function"then B=A;A=false end;x=treesJoint[x]or x;local C={}local D=x:match("<L>(.*)</L>")if D then local E={0,0,0}local F,G={0,0},{0,0}for H,u in D:gmatch("<(.-) (.-)/>")do if H=="JD"or H=="JPL"then local I={ID=q(),jointType=H}for v,J,d in u:gmatch("(%w+) ?= ?([\"'])(.-)%2")do local d=d:find(",")and string.split(d,"[^,]+")or d:find(";")and string.split(d,"[^;]+")or d;I[v]=d;if v=="P1"or v=="P2"then if v=="P1"then E={E[1]+1,E[2]+d[1],E[3]+d[2]}end;F[1]=math.min(F[1],d[1])G[1]=math.max(G[1],d[1])F[2]=math.min(F[2],d[2])G[2]=math.max(G[2],d[2])end end;C[#C+1]=I end end;local K=y and y-math.ceil(E[2]/E[1])or 0;local L=z and z-math.ceil(E[3]/E[1])or 0;for t=1,#C do local M=C[t]local u={type=0,point1=string.format("%s,%s",M.P1[1]+K,M.P1[2]+L),point2=string.format("%s,%s",M.P2[1]+K,M.P2[2]+L),color=tonumber(M.c[1]or"FFFFFF",16),line=tonumber(M.c[2])or 2,alpha=tonumber(M.c[3])or 1,foreground=A==nil and(M.c[4]or"0")=="1"or A}tfm.exec.addJoint(M.ID,0,0,u)end;_J[w]={id=s(C,"ID"),x=y,y=z,size={min=F,max=G},func=B or function()end}end;return w,#C end;removeJoint=function(a)if _J[a]then for b,c in next,_J[a].id do tfm.exec.removeJoint(c)end;_J[a]=nil;return true end;return false end

--[[ TFM Api ]]--
for _, v in next, { 'AutoTimeLeft', 'AutoShaman', 'AutoNewGame', 'AutoScore', 'AfkDeath' } do
tfm.exec['disable' .. v]()
end

function eventNewPlayer(name)
if (not game.players[name]) then game.players[name] = { inGame = false, movTime = os.time() } end
for _, v in next, { 3, 32 } do system.bindKeyboard(name, v, true) end
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

function eventNewGame()
local tableforeach = table.foreach

local t = treesProgress(nil, true);for i = t[1], t[2] do ui.removeTextArea(i) end
ui.setMapName('Evento de Natal')
ui.removeTextArea(666)

if (game.currentMode == 'end') then
tableforeach = function() end

for k in next, tfm.get.room.playerList do
for i = 1, 4 do
if (game.survivors[k] == i) then tfm.exec.setShaman(k) break end
end
end

showWinners()

tfm.exec.snow()
elseif (game.currentMode == 'event') then
treesProgress()
elseif (game.currentMode == 'shamanWar') then
game.survivors = {}

local i = 0
for k in next, tfm.get.room.playerList do
if (not game.deadPlayers[k]) then
i = (i + 1);game.survivors[k] = i

tfm.exec.setShaman(k)
end
end

tfm.exec.snow()
end

tableforeach(game.deadPlayers, tfm.exec.killPlayer)

tfm.exec.addPhysicObject(0, 0, 0, { type = 14 })
tfm.exec.setGameTime(9e5)
end

function eventLoop(_, r)
if (game.currentMode ~= 'end') then
for k, v in next, tfm.get.room.playerList do
if (not game.deadPlayers[k] and v.isDead) then
tfm.exec.respawnPlayer(k)
end

if (r <= 1000) then
if (not game.players[k].inGame) then game.deadPlayers[k] = true;tfm.exec.killPlayer(k) end
end
end

if (r <= 0) then
if (game.currentMode == 'event') then
game.currentMode = 'shamanWar'

tfm.exec.newGame(mapsXml[2])
end
else
if (game.currentMode == 'event') then
local n = 0;for i = 1, #game.trees do if (game.trees[i].current[1] > 119) then n = (n + 1) end end;if (n > 2) then tfm.exec.setGameTime(4, false) ui.addTextArea(666, "<p align='center'>Objetivo concluído! Iniciando nova fase...", nil, 20, 40, 200, 30, 0x17303d) end
end
end
else
if (r <= 0) then tfm.exec.newGame(0) end
end
end

function eventKeyboard(name, key, _, x, y)
if (not tfm.get.room.playerList[name].isDead and game.players[name].movTime <= (os.time() - 500)) then
game.players[name].movTime = os.time()

tfm.exec.displayParticle(3, x, y)

for i = 1, #game.trees do
if (getDist({ x, y }, { game.trees[i].x, y }) <= 30 and game.trees[i].current[1] < 120) then
game.trees[i].current[1] = (game.trees[i].current[1] + 1);local n = game.trees[i].current[1];

treesProgress()

local t = { [40] = true, [80] = true, [120] = true }
if (t[n]) then
game.trees[i].current[2] = (game.trees[i].current[2] + 1);local n = game.trees[i].current[2]
removeJoint(game.trees[i].id);translateJoint(game.trees[i].id, treesJoint[n], game.trees[i].x, (n == 1 and 326 or 300))
end

game.players[name].inGame = true

break
end
end
end
end

function eventPlayerDied(name)
if (game.currentMode == 'shamanWar') then
local i = 0
for k, v in next, tfm.get.room.playerList do
if (not v.isDead) then i = (i + 1);game.survivors[k] = i end
end
if (i <= 1) then game.currentMode = 'end' tfm.exec.setGameTime(4) end
if (not game.deadPlayers[name]) then game.survivors[name] = (i + 1) end
end
end

tfm.exec.newGame(mapsXml[1])

http://img.atelier801.com/f524f233.png


Bolodefchoco a dit :
min não está dizendo nada
fly me faz um script de voar

Hugotitas a dit :
Fly me faz um script de voar tbm

Code Lua

1
2
3
4
5
6
7
8
function eventNewPlayer(name)
system.bindKeyboard(name, 32, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

function eventKeyboard(name, key)
tfm.exec.movePlayer(name, 0, 0, false, 0, -50)
end

Ratufufu a dit :
Um script que faz chover estrelas cadentes.

atelier801.com/topic?f=6&t=843865&p=84#m1673

Rianmojang1 a dit :
Fly mim faz um Script de voar somente quando é vampiro

Code Lua

1
2
3
4
5
6
7
8
9
10
function eventNewPlayer(name)
system.bindKeyboard(name, 32, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

function eventKeyboard(name, key)
if (tfm.get.room.playerList[name].isVampire) then
tfm.exec.movePlayer(name, 0, 0, false, 0, -50)
end
end

Dernière modification le 1545633420000
Rap
« Citoyen »
1545675240000
    • Rap#9678
    • Profil
    • Derniers messages
#1796
  0
Olá podem fazer um script que quando todos são shamans, quando eles morrerem eles não revivem mais, porq script do meu event deu errado pro causa dos shamans revivendo.

Dernière modification le 1545675420000
Rap
« Citoyen »
1545675300000
    • Rap#9678
    • Profil
    • Derniers messages
#1797
  0
porfv <3

Dernière modification le 1545675360000
Rap
1545675360000
    • Rap#9678
    • Profil
    • Derniers messages
#1798
[Modéré par Daisy, raison : Triple post acidental]

Dernière modification le 1545675420000
Fly
« Citoyen »
1545677280000
    • Fly#8215
    • Profil
    • Derniers messages
    • Tribu
#1799
  0
Rap a dit :
Olá podem fazer um script que quando todos são shamans, quando eles morrerem eles não revivem mais, porq script do meu event deu errado pro causa dos shamans revivendo.

Script (evento)
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
--[[ Data ]]--
local mapsXml = {
'<C><P F="5" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" o="ffffff" H="40" X="400" Y="400" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1612" o="775" H="1054" X="-805" Y="313" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1612" o="775" X="653" H="1054" Y="927" T="12" /><S P="0,0,0.3,0.2,-90,0,0,0" L="1612" o="775" X="1326" H="1054" Y="99" T="12" /><S P="0,0,0.3,0.2,-180,0,0,0" L="1612" o="775" H="1054" X="406" Y="-526" T="12" /></S><D><P X="322" P="0,0" Y="284" T="53" /><P X="350" P="0,0" Y="315" T="54" /><P X="310" P="0,0" Y="317" T="54" /><P X="282" P="0,0" Y="280" T="54" /><P X="731" P="0,0" Y="379" T="63" /><P X="615" P="0,1" Y="379" T="63" /><P X="549" P="0,1" Y="61" T="64" /><P X="667" P="0,0" Y="280" T="62" /><P X="548" P="0,0" Y="138" T="62" /><P X="562" P="0,0" Y="205" T="62" /><P X="628" P="0,0" Y="219" T="62" /><P X="609" P="0,0" Y="154" T="62" /><P X="170" P="0,0" Y="360" T="0" /><P X="400" P="0,0" Y="360" T="0" /><P X="630" P="0,0" Y="360" T="0" /></D><O /></Z></C>',
'<C><P D="x_transformice/x_connexion/x_indi.jpg" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" o="8dffec" H="10" Y="402" T="12" X="400" /><S X="653" L="1612" o="8dffec" H="1054" c="4" Y="927" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-90,0,0,0" L="1612" o="8dffec" H="1054" c="4" Y="99" T="12" X="1327" /><S H="1054" L="1612" o="8dffec" X="406" c="4" Y="-526" T="12" P="0,0,0.3,0.2,-180,0,0,0" /><S P="0,0,0.3,0.2,-270,0,0,0" L="1612" o="8dffec" X="-527" c="4" Y="119" T="12" H="1054" /><S L="285" X="153" H="34" Y="287" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="247" X="644" H="34" Y="150" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="247" H="34" X="162" Y="151" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="285" H="34" X="646" Y="290" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ffffff" X="478" c="4" Y="220" T="13" H="10" /><S P="0,0,0.3,0.2,20,0,0,0" L="11" o="ffffff" X="484" c="4" Y="217" T="12" H="10" /><S H="10" L="11" o="ffffff" X="485" c="4" Y="219" T="12" P="0,0,0.3,0.2,-50,0,0,0" /><S P="0,0,0.3,0.2,20,0,0,0" L="10" o="ffffff" X="486" c="4" Y="217" T="12" H="10" /></S><D><P X="376" Y="139" T="53" P="0,0" /></D><O /></Z></C>'
}

local treesJoint = {
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="316,315"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="304,318"c="000000,2,1,0"/><JD P1="304,318"P2="311,313"c="000000,2,1,0"/><JD P1="311,313"P2="321,306"c="000000,2,1,0"/><JD P1="321,306"P2="334,297"c="000000,2,1,0"/><JD P1="334,297"P2="346,284"c="000000,2,1,0"/><JD P1="346,284"P2="358,269"c="000000,2,1,0"/><JD P1="358,269"P2="368,251"c="000000,2,1,0"/><JD P1="368,251"P2="375,231"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="431,305"c="000000,2,1,0"/><JD P1="431,305"P2="413,289"c="000000,2,1,0"/><JD P1="413,289"P2="395,265"c="000000,2,1,0"/><JD P1="395,265"P2="376,231"c="000000,2,1,0"/></L></Z></C>',
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="350,263"P2="349,269"c="208000,10,1,0"/><JD P1="334,274"P2="334,275"c="208000,10,1,0"/><JD P1="340,268"P2="324,278"c="208000,8,1,0"/><JD P1="417,271"P2="437,280"c="208000,8,1,0"/><JD P1="373,212"P2="374,218"c="208000,8,1,0"/><JD P1="401,252"P2="413,264"c="208000,10,1,0"/><JD P1="413,264"P2="424,275"c="208000,10,1,0"/><JD P1="364,236"P2="353,251"c="208000,10,1,0"/><JD P1="353,251"P2="338,271"c="208000,10,1,0"/><JD P1="378,227"P2="393,255"c="208000,15,1,0"/><JD P1="393,255"P2="406,283"c="208000,15,1,0"/><JD P1="374,222"P2="364,245"c="208000,15,1,0"/><JD P1="364,245"P2="351,286"c="208000,15,1,0"/><JD P1="381,232"P2="397,253"c="208000,15,1,0"/><JD P1="397,253"P2="407,270"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="345,307"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="305,316"c="000000,2,1,0"/><JD P1="305,316"P2="311,312"c="000000,2,1,0"/><JD P1="311,312"P2="319,308"c="000000,2,1,0"/><JD P1="319,308"P2="327,302"c="000000,2,1,0"/><JD P1="327,302"P2="335,296"c="000000,2,1,0"/><JD P1="335,296"P2="342,288"c="000000,2,1,0"/><JD P1="342,288"P2="345,280"c="000000,2,1,0"/><JD P1="345,280"P2="346,271"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="433,307"c="000000,2,1,0"/><JD P1="433,307"P2="421,298"c="000000,2,1,0"/><JD P1="421,298"P2="413,285"c="000000,2,1,0"/><JD P1="413,285"P2="412,271"c="000000,2,1,0"/><JD P1="346,271"P2="338,277"c="000000,2,1,0"/><JD P1="338,277"P2="317,282"c="000000,2,1,0"/><JD P1="412,271"P2="420,280"c="000000,2,1,0"/><JD P1="420,280"P2="444,284"c="000000,2,1,0"/><JD P1="373,205"P2="371,211"c="000000,2,1,0"/><JD P1="371,211"P2="365,225"c="000000,2,1,0"/><JD P1="365,225"P2="354,243"c="000000,2,1,0"/><JD P1="354,243"P2="338,263"c="000000,2,1,0"/><JD P1="338,263"P2="317,281"c="000000,2,1,0"/><JD P1="373,205"P2="376,211"c="000000,2,1,0"/><JD P1="376,211"P2="386,225"c="000000,2,1,0"/><JD P1="386,225"P2="401,244"c="000000,2,1,0"/><JD P1="401,244"P2="421,265"c="000000,2,1,0"/><JD P1="421,265"P2="445,283"c="000000,2,1,0"/></L></Z></C>',
'<C><P/><Z><S /><D /><O /><L><JD P1="367,348"P2="380,348"c="4f3500,6,1,0"/><JD P1="380,348"P2="392,347"c="4f3500,6,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,251"P2="377,252"c="208000,15,1,0"/><JD P1="377,252"P2="378,253"c="208000,15,1,0"/><JD P1="378,253"P2="379,254"c="208000,15,1,0"/><JD P1="379,254"P2="380,255"c="208000,15,1,0"/><JD P1="380,255"P2="381,257"c="208000,15,1,0"/><JD P1="381,257"P2="382,259"c="208000,15,1,0"/><JD P1="382,259"P2="383,261"c="208000,15,1,0"/><JD P1="383,261"P2="385,263"c="208000,15,1,0"/><JD P1="385,263"P2="387,266"c="208000,15,1,0"/><JD P1="387,266"P2="388,268"c="208000,15,1,0"/><JD P1="388,268"P2="390,271"c="208000,15,1,0"/><JD P1="390,271"P2="392,274"c="208000,15,1,0"/><JD P1="392,274"P2="394,277"c="208000,15,1,0"/><JD P1="394,277"P2="396,280"c="208000,15,1,0"/><JD P1="396,280"P2="397,282"c="208000,15,1,0"/><JD P1="397,282"P2="399,285"c="208000,15,1,0"/><JD P1="399,285"P2="401,288"c="208000,15,1,0"/><JD P1="401,288"P2="403,291"c="208000,15,1,0"/><JD P1="403,291"P2="404,293"c="208000,15,1,0"/><JD P1="404,293"P2="406,296"c="208000,15,1,0"/><JD P1="406,296"P2="408,298"c="208000,15,1,0"/><JD P1="408,298"P2="409,300"c="208000,15,1,0"/><JD P1="409,300"P2="410,302"c="208000,15,1,0"/><JD P1="410,302"P2="411,304"c="208000,15,1,0"/><JD P1="411,304"P2="412,305"c="208000,15,1,0"/><JD P1="412,305"P2="413,306"c="208000,15,1,0"/><JD P1="413,306"P2="414,307"c="208000,15,1,0"/><JD P1="414,307"P2="414,308"c="208000,15,1,0"/><JD P1="414,308"P2="414,309"c="208000,15,1,0"/><JD P1="371,317"P2="374,329"c="4f3500,15,1,0"/><JD P1="374,329"P2="372,343"c="4f3500,15,1,0"/><JD P1="385,318"P2="384,329"c="4f3500,15,1,0"/><JD P1="384,329"P2="385,343"c="4f3500,15,1,0"/><JD P1="330,308"P2="377,308"c="208000,15,1,0"/><JD P1="377,308"P2="423,308"c="208000,15,1,0"/><JD P1="355,222"P2="352,226"c="208000,5,1,0"/><JD P1="352,226"P2="349,229"c="208000,5,1,0"/><JD P1="402,221"P2="407,225"c="208000,6,1,0"/><JD P1="407,225"P2="412,229"c="208000,6,1,0"/><JD P1="379,182"P2="379,186"c="208000,7,1,0"/><JD P1="379,186"P2="379,190"c="208000,7,1,0"/><JD P1="369,206"P2="363,214"c="208000,8,1,0"/><JD P1="363,214"P2="357,221"c="208000,8,1,0"/><JD P1="388,200"P2="395,210"c="208000,8,1,0"/><JD P1="395,210"P2="401,220"c="208000,8,1,0"/><JD P1="374,199"P2="372,218"c="208000,15,1,0"/><JD P1="372,218"P2="366,235"c="208000,15,1,0"/><JD P1="379,190"P2="386,213"c="208000,15,1,0"/><JD P1="386,213"P2="398,251"c="208000,15,1,0"/><JD P1="350,263"P2="349,269"c="208000,10,1,0"/><JD P1="334,274"P2="334,275"c="208000,10,1,0"/><JD P1="340,268"P2="324,278"c="208000,8,1,0"/><JD P1="417,271"P2="437,280"c="208000,8,1,0"/><JD P1="373,212"P2="374,218"c="208000,8,1,0"/><JD P1="401,252"P2="413,264"c="208000,10,1,0"/><JD P1="413,264"P2="424,275"c="208000,10,1,0"/><JD P1="364,236"P2="353,251"c="208000,10,1,0"/><JD P1="353,251"P2="338,271"c="208000,10,1,0"/><JD P1="378,227"P2="393,255"c="208000,15,1,0"/><JD P1="393,255"P2="406,283"c="208000,15,1,0"/><JD P1="374,222"P2="364,245"c="208000,15,1,0"/><JD P1="364,245"P2="351,286"c="208000,15,1,0"/><JD P1="381,232"P2="397,253"c="208000,15,1,0"/><JD P1="397,253"P2="407,270"c="208000,15,1,0"/><JD P1="377,247"P2="376,258"c="208000,15,1,0"/><JD P1="376,258"P2="374,264"c="208000,15,1,0"/><JD P1="374,254"P2="360,281"c="208000,15,1,0"/><JD P1="360,281"P2="337,303"c="208000,15,1,0"/><JD P1="375,266"P2="387,285"c="208000,15,1,0"/><JD P1="387,285"P2="398,304"c="208000,15,1,0"/><JD P1="378,239"P2="378,240"c="208000,5,1,0"/><JD P1="375,275"P2="364,289"c="208000,15,1,0"/><JD P1="364,289"P2="353,303"c="208000,15,1,0"/><JD P1="374,243"P2="376,235"c="208000,6,1,0"/><JD P1="384,288"P2="376,295"c="208000,15,1,0"/><JD P1="376,295"P2="367,302"c="208000,15,1,0"/><JD P1="308,317"P2="345,307"c="208000,5,1,0"/><JD P1="333,309"P2="319,313"c="208000,11,1,0"/><JD P1="442,314"P2="450,317"c="208000,5,1,0"/><JD P1="419,313"P2="439,314"c="208000,9,1,0"/><JD P1="425,307"P2="439,314"c="208000,9,1,0"/><JD P1="391,297"P2="354,305"c="208000,15,1,0"/><JD P1="354,305"P2="331,309"c="208000,15,1,0"/><JD P1="391,277"P2="407,292"c="208000,15,1,0"/><JD P1="407,292"P2="421,307"c="208000,15,1,0"/><JD P1="364,316"P2="366,341"c="000000,2,1,0"/><JD P1="366,341"P2="364,351"c="000000,2,1,0"/><JD P1="393,316"P2="392,334"c="000000,2,1,0"/><JD P1="392,334"P2="394,346"c="000000,2,1,0"/><JD P1="394,346"P2="395,350"c="000000,2,1,0"/><JD P1="363,351"P2="365,351"c="000000,2,1,0"/><JD P1="365,351"P2="370,351"c="000000,2,1,0"/><JD P1="370,351"P2="377,351"c="000000,2,1,0"/><JD P1="377,351"P2="386,351"c="000000,2,1,0"/><JD P1="386,351"P2="395,351"c="000000,2,1,0"/><JD P1="301,319"P2="303,319"c="000000,2,1,0"/><JD P1="303,319"P2="309,318"c="000000,2,1,0"/><JD P1="309,318"P2="319,318"c="000000,2,1,0"/><JD P1="319,318"P2="333,317"c="000000,2,1,0"/><JD P1="333,317"P2="349,316"c="000000,2,1,0"/><JD P1="349,316"P2="367,316"c="000000,2,1,0"/><JD P1="367,316"P2="387,316"c="000000,2,1,0"/><JD P1="387,316"P2="409,316"c="000000,2,1,0"/><JD P1="409,316"P2="432,317"c="000000,2,1,0"/><JD P1="432,317"P2="456,319"c="000000,2,1,0"/><JD P1="301,319"P2="305,316"c="000000,2,1,0"/><JD P1="305,316"P2="311,312"c="000000,2,1,0"/><JD P1="311,312"P2="319,308"c="000000,2,1,0"/><JD P1="319,308"P2="327,302"c="000000,2,1,0"/><JD P1="327,302"P2="335,296"c="000000,2,1,0"/><JD P1="335,296"P2="342,288"c="000000,2,1,0"/><JD P1="342,288"P2="345,280"c="000000,2,1,0"/><JD P1="345,280"P2="346,271"c="000000,2,1,0"/><JD P1="456,318"P2="446,314"c="000000,2,1,0"/><JD P1="446,314"P2="433,307"c="000000,2,1,0"/><JD P1="433,307"P2="421,298"c="000000,2,1,0"/><JD P1="421,298"P2="413,285"c="000000,2,1,0"/><JD P1="413,285"P2="412,271"c="000000,2,1,0"/><JD P1="346,271"P2="338,277"c="000000,2,1,0"/><JD P1="338,277"P2="317,282"c="000000,2,1,0"/><JD P1="412,271"P2="420,280"c="000000,2,1,0"/><JD P1="420,280"P2="444,284"c="000000,2,1,0"/><JD P1="362,221"P2="361,225"c="000000,2,1,0"/><JD P1="361,225"P2="357,235"c="000000,2,1,0"/><JD P1="357,235"P2="350,249"c="000000,2,1,0"/><JD P1="350,249"P2="337,265"c="000000,2,1,0"/><JD P1="337,265"P2="317,281"c="000000,2,1,0"/><JD P1="397,221"P2="403,237"c="000000,2,1,0"/><JD P1="403,237"P2="407,249"c="000000,2,1,0"/><JD P1="407,249"P2="413,259"c="000000,2,1,0"/><JD P1="413,259"P2="424,270"c="000000,2,1,0"/><JD P1="424,270"P2="445,283"c="000000,2,1,0"/><JD P1="362,220"P2="352,230"c="000000,2,1,0"/><JD P1="352,230"P2="344,231"c="000000,2,1,0"/><JD P1="397,221"P2="407,230"c="000000,2,1,0"/><JD P1="407,230"P2="416,232"c="000000,2,1,0"/><JD P1="344,230"P2="360,212"c="000000,2,1,0"/><JD P1="360,212"P2="378,177"c="000000,2,1,0"/><JD P1="379,177"P2="398,209"c="000000,2,1,0"/><JD P1="398,209"P2="416,231"c="000000,2,1,0"/><JD P1="374,206"P2="374,207"c="00ccff,8,1,0"/><JD P1="374,206"P2="374,207"c="00ccff,8,1,0"/><JD P1="399,266"P2="399,267"c="00ccff,8,1,0"/><JD P1="399,266"P2="399,267"c="00ccff,8,1,0"/><JD P1="386,212"P2="386,213"c="ff0000,8,1,0"/><JD P1="386,212"P2="386,213"c="ff0000,8,1,0"/><JD P1="361,263"P2="361,264"c="ff0000,8,1,0"/><JD P1="361,263"P2="361,264"c="ff0000,8,1,0"/><JD P1="376,225"P2="376,226"c="ffea00,8,1,0"/><JD P1="376,225"P2="376,226"c="ffea00,8,1,0"/><JD P1="390,251"P2="390,252"c="ffea00,8,1,0"/><JD P1="390,251"P2="390,252"c="ffea00,8,1,0"/><JD P1="377,274"P2="377,275"c="ffea00,8,1,0"/><JD P1="377,274"P2="377,275"c="ffea00,8,1,0"/><JD P1="371,247"P2="371,248"c="00fff2,8,1,0"/><JD P1="371,247"P2="371,248"c="00fff2,8,1,0"/><JD P1="390,292"P2="390,293"c="00fff2,8,1,0"/><JD P1="390,292"P2="390,293"c="00fff2,8,1,0"/><JD P1="359,295"P2="359,296"c="ff0000,8,1,0"/><JD P1="359,295"P2="359,296"c="ff0000,8,1,0"/></L></Z></C>'
}

local game = {
deadPlayers = { ['Rap#9678'] = true },
survivors = {}, players = {}, currentMode = 'event'
}
do
local a = {}
local n = 170

for i = 1, 3 do
a[i] = { id = i, x = n, current = { 0, 0 } }
n = (n + 230)
end

game.trees = a
end

--[[ Lib ]]--
local getDist = function(a, b)
local x = b[1] - a[1];local y = b[2] - a[2]
return math.sqrt((x ^ 2) + (y ^ 2))
end

local treesProgress = function(target, foo)
local addTextArea = function(...) if (foo) then return end ui.addTextArea(...) end

local id, init_id, x = 0, 0
for i = 1, #game.trees do
x = (game.trees[i].x - 50)
addTextArea((id + 1), "<p align='center'>", target, x, 365, 100, 18, 0xffffff)

local w = (game.trees[i].current[1] - 24)
if (w > 0) then addTextArea((id + 2), '', target, (x + 2), 367, w, 14, 0x00ff1a, 0xffffff) end

addTextArea((id + 3), "<p align='center'><font color='#000000'><b>" .. game.trees[i].current[1] .. '/120', target, x, 365, 100, 18, 0, 0)
id = (id + 3);x = (x + 230)
end

return { init_id, id }
end

local showWinners = function()
local t = {};for k, v in next, game.survivors do t[v] = k end
local str = '';for i = 1, 10 do if (t[i]) then str = str .. '<v>' .. t[i] .. '<j> - ' .. i .. '° lugar' .. (i < #t and '\n' or '') end end
if (#str > 0) then ui.addTextArea(666, "<p align='center'>" .. str, nil, 20, 40, nil, nil, 0x17303d) end
end

-- Bolodefchoco's Joint Translator
string.split=function(a,b)local c={}for d in a:gmatch(b)do c[#c+1]=d end;return c end;local _J={}local q=coroutine.wrap(function()local r=1;while true do coroutine.yield(r)r=r+1 end end)local s=function(m,r)local c={}for t,u in next,m do for v,d in next,u do if v==r then c[#c+1]=d end end end;return c end;translateJoint=function(w,x,y,z,A,B)if type(w)=="string"then x,y,z,A,B=w,x,y,z,A;w=#_J+1 end;if type(A)=="function"then B=A;A=false end;x=treesJoint[x]or x;local C={}local D=x:match("<L>(.*)</L>")if D then local E={0,0,0}local F,G={0,0},{0,0}for H,u in D:gmatch("<(.-) (.-)/>")do if H=="JD"or H=="JPL"then local I={ID=q(),jointType=H}for v,J,d in u:gmatch("(%w+) ?= ?([\"'])(.-)%2")do local d=d:find(",")and string.split(d,"[^,]+")or d:find(";")and string.split(d,"[^;]+")or d;I[v]=d;if v=="P1"or v=="P2"then if v=="P1"then E={E[1]+1,E[2]+d[1],E[3]+d[2]}end;F[1]=math.min(F[1],d[1])G[1]=math.max(G[1],d[1])F[2]=math.min(F[2],d[2])G[2]=math.max(G[2],d[2])end end;C[#C+1]=I end end;local K=y and y-math.ceil(E[2]/E[1])or 0;local L=z and z-math.ceil(E[3]/E[1])or 0;for t=1,#C do local M=C[t]local u={type=0,point1=string.format("%s,%s",M.P1[1]+K,M.P1[2]+L),point2=string.format("%s,%s",M.P2[1]+K,M.P2[2]+L),color=tonumber(M.c[1]or"FFFFFF",16),line=tonumber(M.c[2])or 2,alpha=tonumber(M.c[3])or 1,foreground=A==nil and(M.c[4]or"0")=="1"or A}tfm.exec.addJoint(M.ID,0,0,u)end;_J[w]={id=s(C,"ID"),x=y,y=z,size={min=F,max=G},func=B or function()end}end;return w,#C end;removeJoint=function(a)if _J[a]then for b,c in next,_J[a].id do tfm.exec.removeJoint(c)end;_J[a]=nil;return true end;return false end

--[[ TFM Api ]]--
for _, v in next, { 'AutoTimeLeft', 'AutoShaman', 'AutoNewGame', 'AutoScore', 'AfkDeath' } do
tfm.exec['disable' .. v]()
end

function eventNewPlayer(name)
if (not game.players[name]) then game.players[name] = { inGame = false, movTime = os.time() } end
for _, v in next, { 3, 32 } do system.bindKeyboard(name, v, true) end
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

function eventNewGame()
local tableforeach = table.foreach

local t = treesProgress(nil, true);for i = t[1], t[2] do ui.removeTextArea(i) end
ui.setMapName('Evento de Natal')
ui.removeTextArea(666)

if (game.currentMode == 'end') then
tableforeach = function() end

for k in next, tfm.get.room.playerList do
for i = 1, 4 do
if (game.survivors[k] == i) then tfm.exec.setShaman(k) break end
end
end

showWinners()

tfm.exec.snow()
elseif (game.currentMode == 'event') then
treesProgress()
elseif (game.currentMode == 'shamanWar') then
game.survivors = {}

local i = 0
for k in next, tfm.get.room.playerList do
if (not game.deadPlayers[k]) then
i = (i + 1);game.survivors[k] = i

tfm.exec.setShaman(k)
end
end

tfm.exec.snow()
end

tableforeach(game.deadPlayers, tfm.exec.killPlayer)

tfm.exec.addPhysicObject(0, 0, 0, { type = 14 })
tfm.exec.setGameTime(9e5)
end

function eventLoop(_, r)
if (game.currentMode ~= 'end') then
for k, v in next, tfm.get.room.playerList do
if (not game.deadPlayers[k] and v.isDead) then
tfm.exec.respawnPlayer(k)
end

if (r <= 1000) then
if (not game.players[k].inGame) then game.deadPlayers[k] = true;tfm.exec.killPlayer(k) end
end
end

if (r <= 0) then
if (game.currentMode == 'event') then
game.currentMode = 'shamanWar'

tfm.exec.newGame(mapsXml[2])
end
else
if (game.currentMode == 'event') then
local n = 0;for i = 1, #game.trees do if (game.trees[i].current[1] > 119) then n = (n + 1) end end;if (n > 2) then tfm.exec.setGameTime(4, false) ui.addTextArea(666, "<p align='center'>Objetivo concluído! Iniciando nova fase...", nil, 20, 40, 200, 30, 0x17303d) end
end
end
else
if (r <= 0) then tfm.exec.newGame(0) end
end
end

function eventKeyboard(name, key, _, x, y)
if (not tfm.get.room.playerList[name].isDead and game.players[name].movTime <= (os.time() - 500)) then
game.players[name].movTime = os.time()

tfm.exec.displayParticle(3, x, y)

for i = 1, #game.trees do
if (getDist({ x, y }, { game.trees[i].x, y }) <= 30 and game.trees[i].current[1] < 120) then
game.trees[i].current[1] = (game.trees[i].current[1] + 1);local n = game.trees[i].current[1];

treesProgress()

local t = { [40] = true, [80] = true, [120] = true }
if (t[n]) then
game.trees[i].current[2] = (game.trees[i].current[2] + 1);local n = game.trees[i].current[2]
removeJoint(game.trees[i].id);translateJoint(game.trees[i].id, treesJoint[n], game.trees[i].x, (n == 1 and 326 or 300))
end

game.players[name].inGame = true

break
end
end
end
end

function eventPlayerDied(name)
if (game.currentMode == 'shamanWar') then
local i = 0
for k, v in next, tfm.get.room.playerList do
if (not v.isDead) then i = (i + 1);game.survivors[k] = i end
end
if (i <= 1) then game.currentMode = 'end' tfm.exec.setGameTime(4) end
if (not game.deadPlayers[name]) then game.survivors[name], game.deadPlayers[name] = (i + 1), true end
end
end

tfm.exec.newGame(mapsXml[1])
Rap
« Citoyen »
1545682680000
    • Rap#9678
    • Profil
    • Derniers messages
#1800
  1
vlw!....
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 90 / 133 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27