-
Notifications
You must be signed in to change notification settings - Fork 1
/
Anvilwar_1.36.1.lua
3422 lines (3403 loc) · 166 KB
/
Anvilwar_1.36.1.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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--[[ Script contendo o module #anvilwar, #mestre, #fall, #objects, #pistas, e #true_false. Compilado às 21h03 (UTC) 23/01/2019. ]]--
local modulo = {
_NOME = "anvilwar",
_VERSION = "1.36.1",
_AUTHOR = "Jessiewind26#2546"
}
active = ""
initAnvilwar = function()
for _,f in next,{"AutoShaman","AutoScore","AutoNewGame","AutoTimeLeft","PhysicalConsumables","DebugCommand","AfkDeath"} do
tfm.exec["disable"..f](true)
end
tfm.exec.setRoomMaxPlayers(30)
powerups={double=false,chuva=false,count=0,choosed="",bomba=false,objeto=false,explosion=false,triple=false,selective=false,r_azul=false,r_vermelho=false,multiple=false,multi_count=0,int_azul=2,int_vermelho=2}
play_azul={}
players_table={}
objetos={1,2,3,4,6,7,10,23,28,29,30,31,32,33,34,35,39,40,45,46,54,59,60,61,62,65,67,68,69,80,85,89,90,95,201,202,203,301,302,303,401,402,403,601,604,2806}
caps={azul="",vermelho=""}
play_vermelho={}
avs_list={}
mods_list={"Flaysama#5935","Ashearcher#0000","Leonardodsss#0000","Jarvanfender#0000"}
managers_list={"Nasus_assassin#1534","Spectra_phantom#6089"}
admins_list={"Jessiewind26#2546","Zed#9431"}
level6_list={"Titan50#0000","Forzaldenon#0000","Varusofeyzan#0000","Jeredy_suno#0886"}
scoreloop=0
sudden_death=false
local temp_name=""
local temp_name2=""
local temp_name3=""
actual_player=""
count_int=20
tempo=0
players=0
time_limit=10
team=1
kills=0
data={}
ratos=0
loop=8
power=5
valendo=false
anvil_launched=false
set=false
object=10
select_obj=0
set_name=""
reset=false
intervalo=false
count=0
count_azul=0
count_vermelho=0
for _,f in next,{"help","powerups","set","tc","p","rank","data_score","score","kill","tt","rv","cap","cmd","acmd","ban","unban","rodar","reset","so"} do
system.disableChatCommandDisplay(f)
end
anvils={10,1002,1003,1004,1005}
mapas={"@7467262","@7463118","@7436867","@7412348","@7467977","@7470456","@7480017","@7433435","@7483583","@7485139","@7486518","@7486596","@7486946","@7487828","@7488212","@7487008","@7493568","@7375714","@7495501","@7495286","@7495744","@7497388","@7499355","@7501996","@7511352","@7522536","@7522330","@7521998","@7540655","@7532950","@7542639","@7512942","@7114424","@7546132","@7546118","@7545653","@7543543","@7547908","@7544349","@7553313","@7554201","@7554203","@7554206","@7559566","@7560668","@7557788","@7559595","@7560873","@7562374"}
map_names={"The Dual-Sided Fight Area","","Inside the Castle","Hell and Water","A very simple waterfall","","The Frozen Arena","The Golden Flying Arena","The Beach Test Map","Inside the Theasure Cave","A random fall map","","The first #anvilwar map","The Beach Test Map 2","","","The Six Attributes","Inside the Ocean","","","","","","","The Stone Platforms","Inside the Hell","Let's fly!","Inside the Volcano","The Dance of Anvils on Stone","On the Space Tower","On the Edge of Void","","","On the Seabed","The Palace of Swords","The Castle of Fire","","The Example of Map","Fitting The Anvil","The Beach Test Map 3","Dead Maze Map #1","Dead Maze Map #2","Dead Maze Map #3","The Clouds Under Trampoline","Dead Maze Map #4","","Anvilwar Prison","The Pyramid of Grass","The Stone of Driftblade"}
lang = {}
lang.br = {
win_vermelho = "<R><b>GG Time Vermelho!</b><br>A próxima partida será iniciada em 15 segundos.",
win_azul = "<BL><b>GG Time Azul!</b><br>A próxima partida será iniciada em 15 segundos.",
sudden_death = "<VP><b>Morte Súbita!</b><br>A equipe que conseguir eliminar qualquer um adversário será declarada a vencedora.",
empate_text = "<J><b>Houve um empate!</b><br>A próxima partida será iniciada em 15 segundos.",
instructions = "Use as teclas de 1 a 9 para alterar a potência da bigorna e barra de espaço para atirar. Para ajuda digite !help. Para ver poderes especiais digite !powerups.",
turn = "<VP>É a vez de",
timeout = "<J>Tempo esgotado! O atirador será alterado.",
enter_vermelho = "Entrar no time vermelho",
enter_azul = "Entrar no time azul",
exit = "Sair do time",
double = "acionou o powerup Bigorna Dupla!",
double2 = "<br>Neste powerup, você atira 2 bigornas de uma vez.",
triple = "acionou o powerup Bigorna Tripla!",
triple2 = "<br>Neste powerup, você atira 3 bigornas de uma vez.",
bomba1 = "acionou o powerup Bomba Relógio!",
bomba2 = "<br>Neste powerup, uma explosão em um lugar aleatório do time adversário ocorrerá.",
objeto1 = "acionou o powerup Tiro Aleatório!",
objeto2 = "<br>Neste powerup, ao pressionar a barra de espaço, você vai atirar um objeto aleatório de shaman. Caso você tenha usado a habilidade Bigorna Dupla, você irá atirar 2 objetos ao invés de um.",
exp1 = "acionou o powerup Olha a Explosão!",
exp2 = "<br>Neste powerup, você pode gerar uma explosão clicando em um local do time inimigo.<br>Você possui 5 segundos para explodir!",
chuva1 = "acionou o powerup Chuva de Objetos!",
chuva2 = "<br>Neste powerup, ao atirar uma bigorna, irão aparecer diversos objetos continuamente até a troca de jogador.",
fly1 = "acionou o powerup Rato Pequeno!",
fly2 = "<br>Neste powerup, seu rato diminuirá 50% de tamanho. Esta habilidade só pode ser usada uma vez por jogador.",
inv1 = "acionou o powerup Modo Imortal!",
inv2 = "<br>Neste powerup, você ficará imortal durante 4 turnos do seu time. Esta habilidade só pode ser utilizada uma vez por partida.",
inv3 = "Sua habilidade Modo Imortal expirou.",
invi1 = "acionou o powerup Meteoro de Bigornas!",
invi2 = "<br>Neste powerup, você terá 5 segundos para clicar em um local do time inimigo. Várias bigornas cairão do céu na coordenada selecionada.",
bar = "#anvilwar - RTM 9375.090",
intensity = "Intensidade",
your_turn = "<J>É a sua vez de jogar. Pressione ESPAÇO para atirar e use as teclas de 1 a 9 para alterar a potência da bigorna. Use as teclas F1 a F9 para usar poderes especiais.",
help = "Pressione ESPAÇO para atirar e use as teclas de 1 a 9 para alterar a potência da bigorna. Use as teclas de F1 a F9 para usar poderes especiais (para saber quais são, digite !powerups). A equipe que conseguir eliminar todos do time adversário vencerá a partida.<br><br>Digite !cmd para ver todos os comandos do jogo.<br><br><b>Créditos:</b><br>Desenvolvimento: Jessiewind26#2546 e Zed#9431<br>Powerups: Jhinsword350#0000 e Vidaloka9999#0000<br>Tradução: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) e Puiguirata#0000 (DE)",
teamkill1 = "Oh não! ",
teamKill2 = "matou um companheiro de equipe",
ajuda = "Ajuda",
credits = "Créditos",
mostrar = "Mostrar",
seconds = "<ROSE>Faltam 60 segundos!",
seconds30 = "<ROSE>Faltam 30 segundos!",
seconds10 = "<ROSE>Faltam 10 segundos!",
powerups1 = "F1 = Bigorna Dupla<br>F2 = Bigorna Tripla<br>F3 = Bomba Relógio<br>F4 = Tiro Aleatório<br>F5 = Olha a Explosão<br>F6 = Chuva de Objetos<br>F7 = Rato Pequeno<br>F8 = Modo Imortal<br>F9 = Meteoro de Bigornas",
powerups2 = "6pts<br>12pts<br>5pts<br>4pts<br>18pts<br>15pts<br>15pts<br>24pts<br>15pts",
powerups3 = "<a href='event:power1'>Mostrar</a><br><a href='event:power2'>Mostrar</a><br><a href='event:power3'>Mostrar</a><br><a href='event:power4'>Mostrar</a><br><a href='event:power5'>Mostrar</a><br><a href='event:power6'>Mostrar</a><br><a href='event:power7'>Mostrar</a><br><a href='event:power8'>Mostrar</a><br><a href='event:power9'>Mostrar</a><b",
powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
teamchat = "<J>Você pode usar o comando !tc [mensagem] para falar apenas com o seu time.<br><br>Você pode ver seu perfil no jogo digitando !p e o ranking temporário digitando !rank.",
menu_bar = "<p align='center'><a href='event:help'>Ajuda</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Perfil</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitão</a> | <a href='event:cmd'>Comandos</a>",
powerupslist = "Lista de Poderes",
profile = "Use o comando !p para ver o seu perfil. Use !p [nome] para ver o perfil de outra pessoa.",
starting = "<VP>A partida está prestes a começar. Preparem-se!",
suicide = "O seguinte jogador cometeu suicídio: ",
ban = " foi banido da sala #anvilwar por ",
unban = " teve seu banimento removido da sala.",
caps = " foi escolhido para ser o capitão da equipe.",
cap = "Este tipo de jogador (escolhido aleatoriamente) receberá 50% a mais de pontuação que os outros e poderá transferir seus pontos para outro jogador de sua equipe usando o comando !tt [nome].<br>Você também poderá utilizar o comando !rv [nome] para reviver UM membro morto de sua equipe.",
cap_text = "<br><VP>Você é o capitão da sua equipe.<br><br>Você irá receber 50% mais pontos por tempo vivo e poderá transferir pontos para outros jogadores usando o comando !tt [nome].<br>Você também poderá utilizar o comando !rv [nome] para reviver UM membro morto de sua equipe. Você também pode usar a tecla END no teclado para pedir até 2 intervalos de 20 segundos cada.",
score30 = "<R>Você precisa de 30 pontos para usar isto.",
advanced = "<VP>Você acaba de avançar para o nível ",
tag_text = "<J>Não se esqueça de colocar a #tag no final do nome desejado! Caso contrário, o comando não irá funcionar!",
revivetext = "<J>O seguinte jogador reviveu: ",
yturn = "É a vez de: ",
level_error = "<R>Você não possível nível suficiente para usar isto.",
funct = "Função não permitida. (Você colocou a #tag no nome?)",
cmds = "Comandos do Jogo",
commands = "• !help = Exibe as instruções de como jogar.<br>• !p [jogador] = Exibe o perfil do jogador escolhido. Digite !p sem argumentos para ver o seu perfil.<br>• !rank = Exibe o ranking temporário de quem está na sala.<br>• !tc [mensagem] = Fala apenas com os jogadores do seu time.<br>• !skip = Envia um voto para pular o mapa atual. Este comando só pode ser usado quando a partida ainda não tiver começado.<br><ROSE>* <N>!rv [jogador] = Revive um jogador morto de sua equipe.<br><ROSE>* <N>!tt [jogador] = Transfere seus pontos para outro jogador<br><br>Os comandos marcados com <ROSE>* <N>são de uso exclusivo do capitão da equipe. Para saber mais sobre isso, digite !cap.",
admin_commands = "<BL>• <N>!skip = Pula o mapa atual.<br><BL>• <N>!pw [texto] = Adiciona uma senha na sala.<br><BL>• <N>!rodar [mapa] = Executa o mapa especificado.<br><J>• <N>!kill [nome] = Mata o jogador especificado.<br><R>• <N>!limit [número] = Limita a quantidade de ratos na sala.<br><br>Você só pode usar os comandos correspondentes a cor do seu nome.<br><br>Por motivos de segurança e estabilidade, nem todos os comandos especiais foram adicionados aqui.",
playingmap = "Rodando mapa",
created = "criado por",
red_int_text = "<R>A equipe vermelha pediu tempo.",
blue_int_text = "<BL>A equipe azul pediu tempo.",
points_text1 = "<N>Você agora possui ",
points_text2 = "<N> pontos para gastar com powerups.",
}
lang.en = {
win_vermelho = "<R><b>The RED team wins!</b><br>The next match will start in 15 seconds.",
win_azul = "<BL><b>The BLUE team wins!</b><br>The next match will start in 15 seconds.",
sudden_death = "<VP><b>SUDDEN DEATH!</b><br>The team that kill anyone of other team will won the match.",
empate_text = "<J><b>There was a draw!</b><br>The next match will start in 15 seconds.",
instructions = "Use the 1 to 9 keys to change the intensity of anvil and SPACEBAR to throw a anvil.",
turn = "<VP>It's turn of",
timeout = "<J>Time is over! The shooter will be changed.",
enter_vermelho = "Enter on RED team",
enter_azul = "Enter on BLUE team",
exit = "Leave this team",
double = "used the powerup Double Anvil!",
triple = "used the powerup Triple Anvil!",
bomba1 = "used the powerup Time Bomb!",
bomba2 = "<br>On this powerup, a explosion will occur on a random place of enemy area.",
objeto1 = "used the powerup Random Shoot!",
objeto2 = "<br>On this powerup, you will shoot a random shaman object instead of a anvil. If you have used the Double Anvil powerup, you can shoot 2 objects instead of one.",
exp1 = "used the powerup Explosion!",
exp2 = "<br>On this powerup, you can cause a explosion clicking on enemy area with your mouse.<br>You have 5 seconds to cause your explosion.",
chuva1 = "used the powerup Anvil Rain!",
chuva2 = "<br>On this powerup, you will shoot several anvils",
fly1 = "used the powerup Small Mice!",
fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
inv1 = "used the powerup Immortal Mode!",
inv2 = "<br>On this powerup, you be immortal during the next 4 turns. This powerup only can be used 1 time per game.",
inv3 = "Your immortality has ended.",
invi1 = "used the powerup Anvil Meteor!",
invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
bar = "#anvilwar - RTM 9375.090",
intensity = "Intensity",
your_turn = "<J>It's your turn to shoot. Press SPACEBAR to throw a anvil and use the 1 to 9 keys to change the intensity of anvil. Use the F1 to F9 keys to use powerups.",
help = "Press SPACEBAR to throw a anvil and use the 1 to 9 keys to change the intensity of anvil. Use the F1 to F9 keys to use powerups (type !powerups). The team that eliminates the enemy team wons the game.<br><br>Type !cmd to show all the game commands.<br><br><b>Credits:</b><br>Development: Jessiewind26#2546 and Zed#9431<br>Powerups: Jhinsword350#0000 and Vidaloka9999#0000<br>Translations: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) and Puiguirata#0000 (DE)",
teamkill1 = "Oh no! ",
teamKill2 = "has killed a player of her team",
ajuda = "Help",
credits = "Credits",
mostrar = "Show",
seconds = "<ROSE>60 seconds remaining!",
seconds30 = "<ROSE>30 seconds remaining!",
seconds10 = "<ROSE>10 seconds remaining!",
powerups1 = "F1 = Double Anvil<br>F2 = Triple Anvil<br>F3 = Time Bomb<br>F4 = Random Shoot<br>F5 = Explosion<br>F6 = Anvil Rain<br>F7 = Small Mice<br>F8 = Immortal Mode<br>F9 = Anvil Meteor",
powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
teamchat = "<J>You can use the command !tc [message] to speak with your team.<br><br>You can see your profile typing !p and the temporary tanking typing !rank.",
menu_bar = "<p align='center'><a href='event:help'>Help</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Profile</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitain</a> | <a href='event:cmd'>Commands</a>",
powerupslist = "Powerups List",
profile = "Use the !p command to view your profile and use !p [username] to view the profile of another user.",
starting = "<VP>The match will start on a few seconds. Get ready!",
suicide = "The following player committed suicide: ",
ban = " was banned of room by ",
unban = " was unbanned of room.",
caps = " was choosed to be the team capitain.",
cap = "This type of player (that is choosed randomly) will receive 50% more points and will get the ability of transfer your points to other players alive on the match using the !tt [name] command. You can use the !rv [name] command to revive ONE team player dead.",
cap_text = "<br><VP>You are the team capitain.<br><br>You will receive 50% more points than other team players and can transfer your points to other team players using the !tt [name] command. You can use the !rv [name] command to revive ONE team player dead. You also can use the END key on the keyboard to request up to 2 timeouts.",
score30 = "<R>You need 30 points to use this.",
advanced = "<VP>You reached the level ",
tag_text = "<J>Don't forget to insert the #tag on the target nickname, else this command don't will work!",
revivetext = "<J>The following player has been revived: ",
yturn = "Actual player: ",
level_error = "<R>You don't have level to use this. To view your level use the !p command.",
funct = "Function not allowed",
cmds = "Game commands",
commands = "• !help = Show the game help.<br>• !p [player] = Show the profile of selected player. Type !p without arguments to show your profile.<br>• !rank = Show the temporary room ranking.<br>• !tc [message] = Chat with other members of your team.<br>• !skip = Send a vote to skip the actual map. This command cannot be used during the match.<br><ROSE>* <N>!rv [player] = Revive a dead player of your team.<br><ROSE>* <N>!tt [player] = Transfer your points to another team member.<br><br>The commands marked with <ROSE>* <N>are of exclusive use of the team capitains. To see more info about this, use the !cap command.",
admin_commands = "<BL>• <N>!skip = Skip the actual map.<br><BL>• <N>!pw [texto] = Add a password on the room. Type only !pw to remove the password.<br><BL>• <N>!rodar [mapa] = Run the specified map.<br><J>• <N>!kill [nome] = Kill the specified player.<br><R>• <N>!limit [número] = Set a limit of mices on this room.<br><br>You only can use the commands that match with your name color.",
playingmap = "Playing map",
created = "created by",
red_int_text = "<R>The red team requested a timeout.",
blue_int_text = "<BL>The blue team requested a timeout.",
points_text1 = "<N>You now have ",
points_text2 = "<N> points to use powerups.",
}
lang.ar = {
win_vermelho = "<R><b>فاز الفريق الأحمر!</b><br>ستبدأ المباراة التالية في غضون 15 ثانية!",
win_azul = "<BL><b>فاز الفريق الأزرق!</b><br>ستبدأ المعركة التالية في غضون 15 ثانية!",
sudden_death = "<VP><b>المعركة النهائية!</b><br>إذا قام أي أحد بقتل عضو في أي فريق أخر، سوف يفوز الفريق الذي قتل!",
empate_text = "<J><b>تعادل!</b><br>ستبدأ المباراة التالية في غضون 15 ثانية!",
instructions = "إستخدم مفاتيح لوحة التحكم من 1 الى 9 للتحكم في سرعة وقوة السندان.",
turn = "<VP>إنه دور",
timeout = "<J>إنتهى الوقت! سيتم تغيير الضارب",
enter_vermelho = "قم بالدخول للفريق الأحمر",
enter_azul = "قم بالدخول للفريق الأزرق",
exit = "قم بالخروج من هذا الفريق",
double = "إستخدم السندان المزدوج!",
triple = "إستخدم السندان الثلاثي، إحترس!",
bomba1 = "إستخدم فرقعة الزمن، إحترس من الإنفجار!",
bomba2 = "<br>في هذه القوة، سوف يحدث إنفجار في بقعة مختلفة في مكان العدو",
objeto1 = "إستخدم الضربة العشوائية! قد يقوم بضرب أي شيئ الأن!",
objeto2 = "<br>في هذه القوة، يمكنك ضرب أداة شامان بدلآ من السندان، إذا قمت بإختيار السندان المزدوج، سيتم ضرب اداتان شامان بدلآ من سندان",
exp1 = "قام بإستخدام قوة الإنفجار!",
exp2 = "<br>بإستخدام هذه القوة، يمكنك إحداث إنفجار في منطقة العدو بإستخدام الفأرة (الماوس)، لديك 5 ثوانٍ فقط للقيام بإنفجار",
chuva1 = "إستخدم قوة مَطر السندان! إحتمي!",
chuva2 = "<br>في هذه القوة، يمكنك ضرب العديد من السندان",
fly1 = "used the powerup Small Mice!",
fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
inv1 = "إستخدم قوة عدم الموت",
inv2 = "<br>بإستخدام هذه القوة، لن يمكنك الموت لمدة 4 جولات من الضرب، يمكنك إستخدامها مرة واحدة فقط في الجولة الواحدة",
inv3 = "قوة عدم موتك قد إنتهت، أصبحت قابلآ للموت الأن!.",
invi1 = "used the powerup Anvil Meteor!",
invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
bar = "#anvilwar - RTM 9375.090",
intensity = "قوة الضرب وسرعته",
your_turn = "<J>إنه دورك للضرب! إضغط زر المسافة لإطلاق سندان مع استخدام الزر من 1 الى 9 للتحكم في سرعة السندان لتغيير قوة ضرب السندان، . إستخدم المفتاح إف 1 حتى إف 9 لإطلاق ضربات مختلفة! إكتشف!",
help = "إضغط زر المسافة لإطلاق سندان وللتحكم بسرعته يمكنك الضغط على زر الوجوه من 1 الى 9 ، إستخدم المفتاح من إف1 حتى إف9 لإطلاق ضربات القوة (أكتب !powerups) الفريق الذي يحطم العدو يفوز بالجولة <br><br>Type لترى جميع إيعازات اللعبة !cmds أكتب<br><br><b>Credits:</b><br>البرمجة والتطوير Jessiewind26#2546 and Zed#9431<br>نظام القوة: Jhinsword350#0000 and Vidaloka9999#0000<br>الترجمة: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) and Puiguirata#0000 (DE)",
teamkill1 = "أوه لا!! ",
teamKill2 = "قام بقتل عضو من فريقه!",
ajuda = "المساعدة",
credits = "Credits",
mostrar = "أظهر",
seconds = "<ROSE>60 ثانية متبقية",
seconds30 = "<ROSE>30 ثانية متبقية!",
seconds10 = "<ROSE>10 ثوانٍ متبقية!",
powerups1 = "F1 = سندان مزدوج<br>F2 =سندان ثلاثي <br>F3 =فرقعة بالفأرة<br>F4 = ضربة أداة شامان عشوائية<br>F5 = تفجير!<br>F6 =مطر السندان!<br>F7 = Small Mice<br>F8 = وضع عديم الموت<br>F9 = Anvil Meteor",
powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
teamchat = "<J>إستخم الإيعاز !tc [msg] للتكلم مع أعضاء فريقك<br><br>You can see your profile typing !p and the temporary tanking typing !rank.",
menu_bar = "<p align='center'><a href='event:help'>Help</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Profile</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitain</a> | <a href='event:cmd'>Commands</a>",
powerupslist = "Powerups List",
profile = "إستخدم !p لرؤية ملفك وأستخدم !p name لرؤية ملف لاعب أخر ",
starting = "<VP>ستبدأ المباراة غي غضون بضعة ثواني، إستعد!",
suicide = "قام بالإنتحار ",
ban = " تم حظره من الغرفة من قبل ",
unban = " تم فك حظره من الغرفة من قبل",
caps = " تم إختياره ليصبح قائد الفريق. لرؤية المزيد عن هذا أكتب !cap أو استخدم قسم القائد في القائمة, ",
cap = "الكابتن هو قائد الفريق، يتم إختياره عشوائيآ، سوف يحصل على نقاط بنسبة 50% أكثر من اللاعبين، اي جَني النقاط بسرعة!يمكنه تحويل النقاط للاعب أخر عن طريق الإيعاز ويمكنه إحياء لاعب مات من فريقه بإستخدام !rv [name] ولكن يتطلب 30 نقطة لذلك",
cap_text = "<br><VP>أنت قائد الفريق<br><br>سوف تحصل على نقاط زائدة بنسبة 50% ويمكنك نق لنقاطك للاعب أخر بإستخدام !tt name أو إحياء لاعب أخر بإستخدام !rv name يتطلب الإحياء 30 نقطة",
score30 = "<R>تحتاج 30 نقطة للقيام بهذا",
advanced = "<VP>وصلت للستوى ",
tag_text = "<J>لا تنسى بوضع الهاشتاج على الإسم الذي تم إختياره, أو لن يعمل هذا الإيعاز",
revivetext = "<J>هذا اللاعب قام بإستقبال : ",
yturn = "اللاعب الحالي: ",
level_error = "<R>لا تملك المستوى المطلوب لفعل هذا، لترى مستواك إكتب !p",
funct = "الإيعاز غير مسموح",
cmds = "إيعازات اللعبة : ",
commands = "• !help لرؤية المساعدة<br>• !p [player] = لرؤية ملف لاعب، أكتب !p بدون أي شيئ لرؤية ملفك<br>• !rank لرؤية الرتبة الحالية.<br>• !tc [message] = المحادثة مع أعضاء فريقك<br>• !skip = إرسال تصويت لتخطي الجولة الحالية هذا الإيعاز لن يتم إستخدامه في الجولات التي تم بدأها، فقط في الجولات التي لم تبدأ بعد (في وضع إختيار الفرق) فقط<br><ROSE>* <N>!rv [player] = إحياء لاعب مات من فريقك، تطلب ان تكون القائد ومعك 30 نقطة<br><ROSE>* <N>!tt [player] = تقوم بنقل نقاطك للاعب أخر في الغرفة<br><br>الإيعازات المُعلمة بـ <ROSE>* <N> إيعازات فقط للقائد، لرؤية المزيد أكتب !cap",
admin_commands = "<BL>• <N>!skip =تخطي الجولة الحالية map.<br><BL>• <N>!pw [text] = وضع كلمة سر للغرفة أكتب !pw لإزالة الباسورد<br><BL>• <N>!set_map [map] = تشغيل الخريطة المحددة<br><J>• <N>!kill [name] = قتل اللاعب المختار<br><R>• <N>!limit [number] = وضع حد للفئران في الغرفة<br><br>يمكنك إستخدام هذه الإيعازات عندما يكون إسمك باللون :.",
playingmap = "Playing map",
created = "created by",
red_int_text = "<R>The red team requested a timeout.",
blue_int_text = "<BL>The blue team requested a timeout.",
points_text1 = "<N>You now have ",
points_text2 = "<N> points to use powerups.",
}
lang.es = {
win_vermelho = "<R><b>¡Ha ganado el equipo ROJO!</b><br>La próxima ronda comenzará en 15 segundos.",
win_azul = "<BL><b>¡Ha ganado el equipo AZUL!</b><br>La próxima ronda comenzará en 15 segundos.",
sudden_death = "<VP><b>MUERTE SÚBITA!</b><br>El equipo que mate a alguien del otro equipo ganará esta ronda.",
empate_text = "<J><b>Hubo un empate!</b><br>La próxima ronda comenzará en 15 segundos.",
instructions = "Usa las teclas 1 al 9 para cambiar la intensidad del yunque y ESPACIO para lanzarlo.",
turn = "<VP>Es el turno de",
timeout = "<J>El tiempo ha terminado. El tirador será cambiado.",
enter_vermelho = "Unirse al equipo ROJO",
enter_azul = "Unirse al equipo AZUL",
exit = "Abandonar este equipo",
double = "usó el powerup Doble Yunque!",
triple = "usó el powerup Triple Yunque!",
bomba1 = "usó el powerup Bomba de Tiempo!",
bomba2 = "<br>Con este powerup se producirá una explosión en un lugar aleatorio del área enemigo.",
objeto1 = "usó el de powerup Tiro Aleatorio!",
objeto2 = "<br>Con este powerup lanzarás un objeto de chamán aleatorio en lugar de un yunque. Si has usado el powerup Doble Yunque puedes lanzar 2 objetos en vez de 1.",
exp1 = "usó el powerup Explosión!",
exp2 = "<br>Con este powerup puedes provocar una explosión clicando en área enemigo con tu ratón.<br>Tienes 5 segundos para provocar la explosión.",
chuva1 = "usó el powerup Lluvia de Yunques!",
chuva2 = "<br>Con este powerup lanzarás varios yunques.",
fly1 = "used the powerup Small Mice!",
fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
inv1 = "usó el powerup Modo Inmortal!",
inv2 = "<br>Con este powerup serás inmortal durante los próximos 4 turnos. Solo puedes usarlo 1 vez por ronda.",
inv3 = "Tu inmortalidad ha terminado.",
invi1 = "used the powerup Anvil Meteor!",
invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
bar = "#anvilwar - RTM 9375.090",
intensity = "Intensidad",
your_turn = "<J>Es tu turno de lanzar. Presiona ESPACIO para lanzar un yunque y usa las teclas 1 al 9 para cambiar la intensidad de este. Usa las teclas F1 al F9 para usar los powerups.",
help = "Presiona ESPACIO para lanzar un yunque y usa las teclas 1 al 9 para cambiar la intensidad de este. Usa las teclas F1 al F9 para usar los powerups (escribe !powerups). El equipo que elimine al enemigo ganará la ronda.<br><br>Escribe !cmd para mostrar todos los comandos del juego.<br><br><b>Créditos:</b><br>Desarrollo: Jessiewind26#2546 y Zed#9431<br>Powerups: Jhinsword350#0000 y Vidaloka9999#0000<br>Traducciones: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) y Puiguirata#0000 (DE)",
teamkill1 = "¡Oh no! ",
teamKill2 = "ha matado a un jugador de su equipo",
ajuda = "Ayuda",
credits = "Créditos",
mostrar = "Mostrar",
seconds = "<ROSE>¡Quedan 60 segundos!",
seconds30 = "<ROSE>¡Quedan 30 segundos!",
seconds10 = "<ROSE>¡Quedan 10 segundos!",
powerups1 = "F1 = Doble Yunque<br>F2 = Triple Yunque<br>F3 = Bomba de Tiempo<br>F4 = Tiro Aleatorio<br>F5 = Explosión<br>F6 = Lluvia de Yunques<br>F7 = Small Mice<br>F8 = Modo Inmortal<br>F9 = Anvil Meteor",
powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
powerups3 = "<a href='event:power1'>Mostrar</a><br><a href='event:power2'>Mostrar</a><br><a href='event:power3'>Mostrar</a><br><a href='event:power4'>Mostrar</a><br><a href='event:power5'>Mostrar</a><br><a href='event:power6'>Mostrar</a><br><a href='event:power7'>Mostrar</a><br><a href='event:power8'>Mostrar</a><br><a href='event:power9'>Mostrar</a>",
powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
teamchat = "<J>Puedes usar el comando !tc [mensaje] para hablar con tu equipo.<br><br>Puedes ver tu perfil escribiendo !p y el ranking temporal escribiendo !rank.",
menu_bar = "<p align='center'><a href='event:help'>Ayuda</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Perfil</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitán</a> | <a href='event:cmd'>Comandos</a>",
powerupslist = "Lista de Powerups",
profile = "Usa el comando !p para ver tu perfil y usa !p [apodo] para ver el de otra persona.",
starting = "<VP>La ronda comenzará en unos segundos. ¡Prepárate!",
suicide = "El siguiente jugador cometió suicidio: ",
ban = " fue baneado de la sala por ",
unban = " fue desbaneado de la sala.",
caps = " fue elegido para ser el capitán del equipo. Para ver más información acerca de esto, escribe el comando !cap o usa la sección de Capitán en el menú.",
cap = "En esta compilación fue incluido la funcionalidad de jugador capitán. Este tipo de jugador (es elegido aleatoriamente) recibirá un 50% más de puntos y la posibilidad de transferir tus puntos a otros jugadores vivos en la ronda usando el comando !tt [apodo]. Puedes usar el comando !rv [apodo] para revivir UN jugador muerto del equipo.",
cap_text = "<br><VP>Eres el capitán del equipo.<br><br>Recibirás un 50% más de puntos y la posibilidad de transferir tus puntos a otros jugadores del equipo usando el comando !tt [apodo]. Puedes usar el comando !rv [apodo] command para revivir UN jugador muerto del equipo.",
score30 = "<R>Necesitas 30 puntos para usar esto.",
advanced = "<VP>Has alcanzado el nivel ",
tag_text = "<J>No te olvides de colocar el #tag en el apodo del objetivo, o este comando no funcionará.",
revivetext = "<J>El siguiente jugador ha sido revivido: ",
yturn = "Jugador actual: ",
level_error = "<R>No tienes el nivel para usar esto. Para ver tu nivel usa el comando !p.",
funct = "Función no permitido",
cmds = "Comandos del juego",
commands = "• !help = Mostrar la ayuda del juego.<br>• !p [apodo] = Mostrar el perfil de un determinado jugador. Escribe !p solamente para mostrar tu perfil.<br>• !rank = Mostrar el ranking temporal de la sala.<br>• !tc [mensaje] = Hablar con otros miembros de tu equipo.<br>• !skip = Votar para saltar el mapa actual. Esto no puede ser usado durante la ronda.<br><ROSE>* <N>!rv [apodo] = Revivir a un jugador muerto de tu equipo.<br><ROSE>* <N>!tt [apodo] = Transferir tus puntos a otro miembro de tu equipo.<br><br>Los comandos marcados con <ROSE>* <N>son de uso exclusivo para capitanes de equipos. Para saber más de esto, usa el comando !cap.",
admin_commands = "<BL>• <N>!skip = Saltar el mapa actual.<br><BL>• <N>!pw [texto] = Agregar una contraseña a la sala. Escribe !pw nuevamente para remover la contraseña.<br><BL>• <N>!set_map [mapa] = Cargar un mapa en específico.<br><J>• <N>!kill [apodo] = Matar a un jugador en específico.<br><R>• <N>!limit [número] = Limitar el número de ratones en la sala.<br><br>Solo puedes utilizar los comandos que coincidan con el color de tu nombre.",
playingmap = "Jugando mapa",
created = "creado por",
red_int_text = "<R>The red team requested a timeout.",
blue_int_text = "<BL>The blue team requested a timeout.",
points_text1 = "<N>You now have ",
points_text2 = "<N> points to use powerups.",
}
lang.de = {
win_vermelho = "<R><b>Das ROTE Team gewinnt!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
win_azul = "<BL><b>Das BLAUE Team gewinnt!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
sudden_death = "<VP><b>PLÖTZLICHER TOD!</b><br>Das Team, das jemanden aus einem anderen Team tötet, gewinnt das Spiel.",
empate_text = "<J><b>Es gab ein Unentschieden!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
instructions = "Verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern und die Leertaste, um einen Amboss zu werfen.",
turn = "<VP>Es ist die Wende von",
timeout = "<J>Die Zeit ist vorbei! Der Schütze wird gewechselt.",
enter_vermelho = "Betreten Sie das ROTE Team",
enter_azul = "Betreten Sie das BLAUE Team",
exit = "Dieses Team verlassen",
double = "benutzte den Powerup Double Anvil!.",
triple = "benutzte den Powerup Triple Anvil!",
bomba1 = "benutzte den Powerup Time Bomb!",
bomba2 = "<br>Bei diesem Powerup kommt es zu einer Explosion an einem beliebigen Ort im feindlichen Gebiet.",
objeto1 = "benutzte den Powerup Random Shoot!",
objeto2 = "<br>Bei diesem Powerup schießt du ein zufälliges Schamanenobjekt anstelle eines Ambosses. Wenn du das Double Anvil Powerup benutzt hast, kannst du 2 Objekte anstelle von einem aufnehmen.",
exp1 = "benutzte den Powerup Explosion!",
exp2 = "<br>Bei diesem Powerup kannst du eine Explosion verursachen, indem du mit der Maus auf den gegnerischen Bereich klickst.<br>Sie haben 5 Sekunden Zeit, um deine Explosion zu verursachen.",
chuva1 = "benutzte den Powerup Anvil Rain!",
chuva2 = "<br>Bei diesem Powerup schießt du mehrere Ambosse.",
fly1 = "used the powerup Small Mice!",
fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
inv1 = "benutzte den Powerup Immortal Mode!",
inv2 = "<br>Bei diesem Powerup bist du in den nächsten 4 Runden unsterblich. Dieses Powerup kann nur einmal pro Spiel verwendet werden.",
inv3 = "Deine Unsterblichkeit ist vorbei.",
invi1 = "used the powerup Anvil Meteor!",
invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
bar = "#anvilwar - RTM 9375.090",
intensity = "Intensität",
your_turn = "<J>Du bist dran mit dem Schießen. Drücken Sie die LEERTASTE, um einen Amboss zu werfen, und verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern. Verwenden Sie die Tasten F1 bis F9, um Powerups zu verwenden.",
help = "Drücken Sie die LEERTASTE, um einen Amboss zu werfen, und verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern. Verwenden Sie die Tasten F1 bis F9, um Powerups zu verwenden (Typ !powerups). Das Team, das das gegnerische Team eliminiert, gewinnt das Spiel.<br><br>Geben Sie !cmd ein, um alle Spielbefehle anzuzeigen.<br><br><b>Credits:</b><br>Entwicklung: Jessiewind26#2546 und Zed#9431<br>Powerups: Jhinsword350#0000 und Vidaloka9999#0000<br>Übersetzungen: Nasus_assassin#1534 (EN) Alexsaky#7307 + Vigo#4765 (AR) Dejavu#2242 (ES) und Puiguirata#0000 (DE)",
teamkill1 = "Oh nein! ",
teamKill2 = "hat einen Spieler ihrer Mannschaft getötet.",
ajuda = "Hilfe",
credits = "Credits",
mostrar = "Zeigen",
seconds = "<ROSE>Noch 60 Sekunden!",
seconds30 = "<ROSE>Noch 30 Sekunden!",
seconds10 = "<ROSE>Noch 10 Sekunden!",
powerups1 = "F1 = Double Anvil<br>F2 = Triple Anvil<br>F3 = Time Bomb<br>F4 = Random Shoot<br>F5 = Explosion<br>F6 = Anvil Rain<br>F7 = Small Mice<br>F8 = Immortal Mode<br>F9 = Anvil Meteor",
powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
powerups4 = "1<br>2<br>2<br>2<br>3<br>4<br>3<br>5<br>3<br>3",
teamchat = "<J>Du kannst den Befehl !tc [message] um mit Ihrem Team zu sprechen.<br><br>Du kannst deine Profiltypisierung sehen !p und die Typisierung des temporären Tankens !rank.",
menu_bar = "<p align='center'><a href='event:help'>Help</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Profile</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitain</a> | <a href='event:cmd'>Commands</a>",
powerupslist = "Powerups List",
profile = "Verwenden Sie die !p Befehl, um Ihr Profil anzusehen und zu verwenden !p [username] um das Profil eines anderen Benutzers anzuzeigen.",
starting = "<VP>Das Spiel beginnt in wenigen Sekunden. Macht euch bereit!",
suicide = "Der folgende Spieler beging Selbstmord: ",
ban = " wurde aus dem Zimmer verbannt von ",
unban = " wurde nicht aus dem Zimmer verbannt.",
caps = " wurde als Teamchef ausgewählt. Um mehr Informationen darüber zu erhalten, geben Sie Folgendes ein !cap Befehl oder verwenden Sie den Abschnitt Capitain im Menü des Moduls.",
cap = "Auf dieser Zusammenstellung wurde die Funktionalität eines Capitain-Players integriert. Diese Art von Spieler (die zufällig ausgewählt wird) erhält 50% mehr Punkte und die Möglichkeit, Ihre Punkte auf andere Spieler zu übertragen, die im Spiel leben. !tt [name] Befehl. Sie können die Funktion !rv [name] Befehl, EINE Teamspielerin wiederzubeleben, die tot is.",
cap_text = "<br><VP>Du bist der Teamchef.<br><br>Du bekommst 50% mehr Punkte als andere Teammitglieder und kannst deine Punkte auf andere Teammitglieder übertragen !tt [name] Befehl. Sie können die Funktion !rv [name] Befehl, EINE Teamspielerin wiederzubeleben, die tot is.",
score30 = "<R>Du brauchst 30 Punkte, um das zu benutzen.",
advanced = "<VP>Du hast das Level erreicht ",
tag_text = "<J>Vergiss nicht, das #Tag auf dem Ziel-Nicknamen einzufügen, sonst funktioniert dieser Befehl nicht!",
revivetext = "<J>Der folgende Spieler wurde wiederbelebt: ",
yturn = "Aktueller Spieler: ",
level_error = "<R>Du hast kein Level, um das hier zu benutzen. Um dein Level zu sehen, benutze den !p Befehl.",
funct = "Funktion nicht erlaubt",
cmds = "Spielbefehle",
commands = "• !help = Zeigen Sie die Spielhilfe an.<br>• !p [player] = Zeigt das Profil des ausgewählten Spielers an. Typ !p ohne Argumente, um Ihr Profil anzuzeigen.<br>• !rank = Anzeige der Rangfolge der temporären Zimmer.<br>• !tc [message] = Chat Sie mit anderen Mitgliedern Ihres Teams.<br>• !skip = Senden Sie eine Abstimmung, um die aktuelle Karte zu überspringen. Dieser Befehl kann während des Spiels nicht verwendet werden.<br><ROSE>* <N>!rv [player] = Erwecke einen toten Spieler deines Teams zum Leben.<br><ROSE>* <N>!tt [player] = Übertragen Sie Ihre Punkte auf ein anderes Teammitglied.<br><br>Die * mit gekennzeichneten Befehle <ROSE>* <N>sind ausschließlich für die Teammitglieder bestimmt. Um weitere Informationen dazu zu erhalten, verwenden Sie die Option !cap Befehl.",
admin_commands = "<BL>• <N>!skip = Überspringen der aktuellen Karte.<br><BL>• <N>!pw [text] = Füge ein Passwort für den Zimmer hinzu. Geben Sie nur !pw ein, um das Passwort zu entfernen.<br><BL>• <N>!set_map [map] = Ausführen der angegebenen Karte.<br><J>• <N>!kill [name] = Töten des angegebenen Spielers.<br><R>• <N>!limit [number] = Setzen Sie ein Limit für Mäuse in diesem Zimmer.<br><br>Du kannst nur die Befehle verwenden, die mit deiner Namensfarbe übereinstimmen.",
playingmap = "Wiedergabekarte",
created = "erstellt von",
red_int_text = "<R>The red team requested a timeout.",
blue_int_text = "<BL>The blue team requested a timeout.",
points_text1 = "<N>You now have ",
points_text2 = "<N> points to use powerups.",
}
if tfm.get.room.community == "br" then
text = lang.br
elseif tfm.get.room.community == "ar" then
text = lang.ar
elseif tfm.get.room.community == "es" then
text = lang.es
elseif tfm.get.room.community == "de" then
text = lang.de
else
text = lang.en
end
function changeMap()
tfm.exec.newGame(mapas[math.random(#mapas)])
end
function resetPowers()
ui.removeTextArea(701,nil)
powerups.double=false
powerups.objeto=false
powerups.count=2
kills=0
powerups.bomba=false
powerups.explosion=false
powerups.chuva=false
powerups.fly=false
anvil_launched=false
powerups.triple=false
powerups.r_vermelho=false
powerups.r_azul=false
powerups.multi_count=2
powerups.multiple=false
set=false
advanceLevel()
end
changeMap()
function split(t,s)
local a={}
for i,v in string.gmatch(t,string.format("[^%s]+",s or "%s")) do
table.insert(a,i)
end
return a
end
function eventRanking(name)
local sc = {}
for id, name in pairs(players_table) do
sc[#sc+1] = {n=name,s=data[name].score,f=data[name].kills,l=data[name].nivel}
end
table.sort(sc,function(a,b) return a.s>b.s end)
str1 = ''
str2 = ''
str3 = ''
str4 = ''
str5 = ''
for k,v in pairs(sc) do
if k < 11 then
if str ~= '' then
str1=str1.."<br><N>"..k.."° | <VP>"..v.n..""
str2=str2.."<br><b><N>"..v.s.."</b>"
str3=str3.."<br><N>"..v.f..""
str5=str5.."<br><N>"..v.l..""
else
str1="<J>"..k.."° | <VP>"..v.n..""
str2="<J><b>"..v.s.."</b>"
str3="<J>"..v.f..""
str5="<J>"..v.l..""
end
end
end
ui.addTextArea(8000,'<B><J><font size="13"><p align="center">Temporary Ranking',name,100,100,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(8001,"<B><font size='13'><font face='Consolas'># Name Score Kills Level",name,110,110,580,20,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8002,"<B><font size='16'><font face='Consolas'>"..str1,name,110,130,580,220,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8003,"<p align='right'><font size='16'><font face='Consolas'>"..str2,name,400,130,60,220,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8004,"<p align='right'><font size='16'><font face='Consolas'>"..str3,name,485,130,60,220,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8007,"<p align='right'><font size='16'><font face='Consolas'>"..str5,name,635,130,45,220,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8006,"<p align='center'><font size='16'><R><a href='event:close'>Close</a>",name,300,350,210,20,0x3c5063,0x3c5063,nil,true)
end
function loadPowerups(name)
ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.powerupslist.."",name,100,80,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(9001,"<font size='14'><font face='Consolas'>Powerup Name Score Funct. Min Level",name,110,110,580,20,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9002,"<font size='14'><font face='Consolas'>"..text.powerups1.."",name,110,135,580,175,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9003,"<font size='14'><font face='Consolas'>"..text.powerups2.."",name,420,135,60,175,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9004,"<font size='14'><font face='Consolas'>"..text.powerups3.."",name,500,135,60,175,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9005,"<font size='14'><font face='Consolas'>"..text.powerups4.."",name,570,135,60,175,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9006,"<font size='14'><R><a href='event:closep'>Close</a>",name,300,320,190,20,0x3c5063,0x3c5063,nil,true)
end
function eventChatCommand(name,message)
local arg = split(message, " ")
if arg[1] == "p" then
if arg[2] then
nome = arg[2]:lower():gsub('%a', string.upper, 1)
else
nome = name
end
if tfm.get.room.playerList[nome] then
ui.addTextArea(8003,'<B><J><font size="17"><p align="center">'..nome,name,245,95,315,30,nil,0x2e424d,nil,true)
ui.addTextArea(8004,"<font size='12'><b>Level: "..data[nome].nivel.."</b><br><br>Experience: "..data[nome].exp.."/"..data[nome].maxp.."<br><br><br>Score: "..data[nome].score.."<br>Matchs played: "..data[nome].matchs.."<br><br>Kills: "..data[nome].kills.."<br>Wins: "..data[nome].wins.."<br>Max Killing Spree: "..data[nome].max.."<br>Multi Kills: "..data[nome].mks.."",name,255,125,290,200,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(8006,"",name,260,178,((data[nome].exp/data[nome].maxp)*270)+3,6,0xffffff,0x000001,nil,true)
ui.addTextArea(8005,"<R><p align='center'><B><a href='event:fechar'>Close</a>",name,255,320,290,20,0x3c5063,0x3c5063,nil,true)
else
tfm.exec.chatMessage(text.funct,name)
end
end
if message == "rank" then
eventRanking(name)
end
if(message:sub(0,4) == "kill") then
if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431" then
tfm.exec.killPlayer(message:sub(6))
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,5) == "rodar") then
if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
tfm.exec.newGame(message:sub(7))
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,3) == "ban") then
if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431" then
if data[message:sub(5)] then
tfm.exec.killPlayer(message:sub(5))
data[message:sub(5)].level=-1
tfm.exec.chatMessage(""..message:sub(5)..""..text.ban..""..name..".")
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,5) == "unban") then
if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
if data[message:sub(7)] then
data[message:sub(7)].level=0
tfm.exec.chatMessage(""..message:sub(7)..""..text.unban.."")
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,2) == "tc") then
local typer=name
if data[typer].team == "azul" then
for name,player in pairs(tfm.get.room.playerList) do
if data[name].team == "azul" then
tfm.exec.chatMessage("<font color='#0080ff'>• ["..typer.."] "..message:sub(4).."",name)
tfm.exec.chatMessage("<font color='#0080ff'>• ["..typer.."] "..message:sub(4).."","Jessiewind26#2546")
end
end
elseif data[typer].team == "vermelho" then
for name,player in pairs(tfm.get.room.playerList) do
if data[name].team == "vermelho" then
tfm.exec.chatMessage("<font color='#ff8000'>• ["..typer.."] "..message:sub(4).."",name)
tfm.exec.chatMessage("<font color='#ff8000'>• ["..typer.."] "..message:sub(4).."","Jessiewind26#2546")
end
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if message == "reset" then
if data[name].level >= 2 or name == "Jessiewind26#2546" or name == "Zed#9431" then
changeMap()
end
end
if(message:sub(0,3) == "set") then
if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
if data[message:sub(5)] then
set_name=message:sub(5)
set=true
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,2) == "so") then
if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
select_obj=tonumber(message:sub(4))
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,2) == "tt") then
if name == caps.azul or name == caps.vermelho and valendo == true and reset == false then
temp_name2=message:sub(4)
if data[temp_name2] then
ui.addPopup(1201,2,"1 = 5pts<br>2 = 10pts<br>3 = 15pts<br>4 = 20pts",name,350,225,200,true)
tfm.exec.chatMessage(text.tag_text,name)
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,2) == "rv") then
if name == caps.azul or name == caps.vermelho and valendo == true and reset == false then
temp_name3=message:sub(4)
if data[temp_name3] then
ui.addPopup(1204,1,"Revive "..temp_name3.."?",name,350,225,200,true)
tfm.exec.chatMessage(text.tag_text,name)
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
if(message:sub(0,5) == "score") then
if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431" then
temp_name=message:sub(7)
ui.addPopup(906,2,"Score",name,350,175,200,true)
else
tfm.exec.chatMessage(text.funct,name)
end
end
if message == "help" then
ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.ajuda.."",name,100,90,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.help.."",name,150,125,500,205,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,337,190,20,0x3c5063,0x3c5063,nil,true)
end
if message == "cmd" then
ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,90,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.commands.."",name,150,125,500,200,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,334,190,20,0x3c5063,0x3c5063,nil,true)
end
if message == "acmd" then
ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,90,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.admin_commands.."",name,150,125,500,190,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,324,190,20,0x3c5063,0x3c5063,nil,true)
end
if message == "cap" then
ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,110,600,30,nil,0x2e424d,nil,true)
ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.cap.."",name,150,145,500,100,0x0e232b,0x0e232b,nil,true)
ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,254,160,20,0x3c5063,0x3c5063,nil,true)
end
if message == "powerups" then
loadPowerups(name)
end
end
function eventPopupAnswer(id,name,message)
if id == 901 then
data[temp_name].score=tonumber(message)
return name
elseif id == 902 then
data[temp_name].kills=tonumber(message)
return name
elseif id == 903 then
data[temp_name].wins=tonumber(message)
return name
elseif id == 904 then
data[temp_name].matchs=tonumber(message)
return name
elseif id == 906 then
tfm.exec.setPlayerScore(temp_name,tonumber(message),true)
return name
elseif id == 1201 then
if data[temp_name2] then
if message == "1" then
if tfm.get.room.playerList[name].score < 5 then
tfm.exec.chatMessage(text.funct,name)
else
tfm.exec.setPlayerScore(temp_name2,5,true)
tfm.exec.setPlayerScore(name,-5,true)
return name
end
elseif message == "2" then
if tfm.get.room.playerList[name].score < 10 then
tfm.exec.chatMessage(text.funct,name)
else
tfm.exec.setPlayerScore(temp_name2,10,true)
tfm.exec.setPlayerScore(name,-10,true)
return name
end
elseif message == "3" then
if tfm.get.room.playerList[name].score < 15 then
tfm.exec.chatMessage(text.funct,name)
else
tfm.exec.setPlayerScore(temp_name2,15,true)
tfm.exec.setPlayerScore(name,-15,true)
return name
end
elseif message == "4" then
if tfm.get.room.playerList[name].score < 20 then
tfm.exec.chatMessage(text.funct,name)
else
tfm.exec.setPlayerScore(temp_name2,20,true)
tfm.exec.setPlayerScore(name,-20,true)
return name
end
else
tfm.exec.chatMessage(text.funct,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
elseif id == 1204 then
if message == "yes" then
if data[temp_name3] then
if tfm.get.room.playerList[name].score >= 30 then
tfm.exec.respawnPlayer(temp_name3)
if data[temp_name3].team == "azul" and powerups.r_azul == false then
powerups.r_azul=true
tfm.exec.movePlayer(temp_name3,math.random(850,1200),160,false,0,0,false)
data[temp_name3].killed=0
elseif data[temp_name3].team == "vermelho" and powerups.r_vermelho == false then
powerups.r_vermelho=true
tfm.exec.movePlayer(temp_name3,math.random(400,750),160,false,0,0,false)
data[temp_name3].killed=0
end
tfm.exec.setPlayerScore(name,-30,true)
tfm.exec.chatMessage(""..text.revivetext..""..temp_name3.."")
else
tfm.exec.chatMessage(text.score30,name)
end
else
tfm.exec.chatMessage(text.funct,name)
end
end
end
end
function showTeams(name)
if valendo == false then
if name:sub(1,1) == "*" then
tfm.exec.killPlayer(name)
tfm.exec.chatMessage("<R>You must be connected to a Transformice account to play #anvilwar.",name)
elseif data[name].level <= -1 then
tfm.exec.killPlayer(name)
tfm.exec.chatMessage("<R>This account was banned of #anvilwar room.",name)
else
ui.addTextArea(41, "<p align='center'><a href='event:enter_vermelho'>"..text.enter_vermelho.."</a></p>",name, 300, 165, 200, 20, 0x800000, 0x600000,1.0,true)
ui.addTextArea(42, "<p align='center'><a href='event:enter_azul'>"..text.enter_azul.."</a></p>",name, 300, 195, 200, 20, 0x80, 0x60,1.0,true)
end
end
end
function eventLoop(passado,faltando)
for name,player in pairs(tfm.get.room.playerList) do
if data[name] then
if data[name].team == "azul" then
if tfm.get.room.playerList[name].x < 805 then
tfm.exec.killPlayer(name)
end
end
if data[name].team == "vermelho" then
if tfm.get.room.playerList[name].x > 795 then
tfm.exec.killPlayer(name)
end
end
end
end
if intervalo == true then
tfm.exec.setGameTime(15)
anvil_launched=true
count_int=count_int-0.5
if count_int <= 0 then
intervalo=false
anvil_launched=false
count_int=20
end
end
if passado > 1200 and passado < 1700 then
for i=1,70 do
if mapas[i] == tfm.get.room.currentMap then
tfm.exec.chatMessage(""..text.playingmap.." <J>"..tfm.get.room.currentMap.."<BL> "..text.created.." <J>"..tfm.get.room.xmlMapInfo.author)
end
end
end
local minutos=math.floor(tempo/60)
local segundos=math.floor((minutos*60)-tempo) * -1
if valendo == true and tempo < 60 and tempo > 59 and sudden_death == false then
tfm.exec.chatMessage(text.seconds,nil)
end
if valendo == true and tempo < 30 and tempo > 29 then
tfm.exec.chatMessage(text.seconds30,nil)
end
if valendo == true and tempo < 10 and tempo > 9 then
tfm.exec.chatMessage(text.seconds10,nil)
end
if valendo == true and reset == false and intervalo == false then
tempo=tempo-0.5
if tempo < 0 then
tempo=0
end
scoreloop=scoreloop+1
if scoreloop >= 40 then
for name,player in pairs(tfm.get.room.playerList) do
if data[name].killed == 0 then
tfm.exec.setPlayerScore(name,2,true)
data[name].score=data[name].score+1
data[name].exp=data[name].exp+1
if name == caps.vermelho or name == caps.azul then
tfm.exec.setPlayerScore(name,2,true)
data[name].score=data[name].score+1
end
end
end
scoreloop=0
end
end
if anvil_launched == false and valendo == true and intervalo == false then
ui.addTextArea(501,"<font size='40'><p align='center'>"..math.ceil(faltando/1000).."",nil,360,65,80,55,0x000001,0x000001,1.0,true)
else
ui.removeTextArea(501,nil)
end
if valendo == true and reset == false and tempo <= 0 and sudden_death == true then
if count_vermelho > count_azul then
tfm.exec.chatMessage(text.win_vermelho)
elseif count_vermelho < count_azul then
tfm.exec.chatMessage(text.win_azul)
else
tfm.exec.chatMessage(text.empate_text)
end
count_azul=0
count_vermelho=0
valendo=false
reset=true
tfm.exec.setGameTime(15)
end
if reset == true then
if faltando < 1 then
changeMap()
end
end
if valendo == true and reset == false and anvil_launched == false then
time_limit=time_limit-0.5
if time_limit == 0 then
anvil_launched=true
time_limit=15
tfm.exec.chatMessage(text.timeout)
end
end
if valendo == false and reset == false and faltando < 1888 and count_azul > 0 and count_vermelho > 0 then
for i=11,297 do
ui.removeTextArea(i,nil)
end
end
if valendo == false and reset == false and faltando <= 1 then
if count_azul > 0 and count_vermelho > 0 then
if count == 0 then
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.chatMessage(text.starting,name)
if data[name].team == "azul" then
data[name].matchs=data[name].matchs+1
tfm.exec.respawnPlayer(name)
tfm.exec.movePlayer(name,1000,180,false,0,0,false)
table.insert(play_azul,name)
tfm.exec.setPlayerScore(name,0,false)
elseif data[name].team == "vermelho" then
data[name].matchs=data[name].matchs+1
tfm.exec.respawnPlayer(name)
tfm.exec.movePlayer(name,600,180,false,0,0,false)
table.insert(play_vermelho,name)
tfm.exec.setPlayerScore(name,0,false)
else
tfm.exec.movePlayer(name,800,-2000,false,0,0,false)
tfm.exec.setPlayerScore(name,-1,false)
kills=0
end
end
end
kills=0
count=count+0.5
if count >= 10 then
caps.azul=play_azul[math.random(#play_azul)]
caps.vermelho=play_vermelho[math.random(#play_vermelho)]
for name,player in pairs(tfm.get.room.playerList) do
if data[name].team == "azul" then
tfm.exec.chatMessage(""..caps.azul..""..text.caps.."",name)
elseif data[name].team == "vermelho" then
tfm.exec.chatMessage(""..caps.vermelho..""..text.caps.."",name)
end
if name == caps.azul or name == caps.vermelho then
tfm.exec.chatMessage(text.cap_text,name)
tfm.exec.setNameColor(name,0x8000ff)
end
end
valendo=true
players=count_azul+count_vermelho
tempo=120+(players*6)
for i=11,297 do
ui.removeTextArea(i,nil)
end
if team == 2 then
team=1
if set == false then
actual_player=play_vermelho[math.random(#play_vermelho)]
else
actual_player=set_name
end
else
team=2
if set == false then
actual_player=play_azul[math.random(#play_azul)]
else
actual_player=set_name
end
end
loop=10
anvil_launched=false
tfm.exec.setGameTime(15)
time_limit=15
if valendo == true and reset == false then
if data[actual_player] then
tfm.exec.chatMessage(text.your_turn,actual_player)
tfm.exec.chatMessage("<br>"..text.points_text1..""..tfm.get.room.playerList[actual_player].score..""..text.points_text2.."",actual_player)
end
end
end
else
tfm.exec.setGameTime(15)
end
end
if valendo == true and anvil_launched == true and intervalo == false then
loop=loop-1
if loop == 0 then
if kills >= 3 then
data[actual_player].mks=data[actual_player].mks+1
end
if tfm.get.room.community == "br" then
if kills == 2 then
tfm.exec.chatMessage("<ROSE>Double Kill de "..actual_player.."!")
elseif kills >= 3 then
tfm.exec.chatMessage("<ROSE>Multi Kill: "..kills.." kills de "..actual_player.."!")
end
else
if kills == 2 then
tfm.exec.chatMessage("<ROSE>Double Kill of "..actual_player.."!")
elseif kills >= 3 then
tfm.exec.chatMessage("<ROSE>Multi Kill: "..kills.." kills of "..actual_player.."!")
end
end
kills=0
play_azul={}
play_vermelho={}
count_azul=0
count_vermelho=0
for name,player in pairs(tfm.get.room.playerList) do
if data[name].team == "azul" then
if data[name].killed == 0 then
table.insert(play_azul,name)
count_azul=count_azul+1
end
end
if data[name].team == "vermelho" then
if data[name].killed == 0 then
table.insert(play_vermelho,name)
count_vermelho=count_vermelho+1
end
end
if data[name].immortal == true then
data[name].imatchs=data[name].imatchs+1
if data[name].imatchs >= 9 then
data[name].immortal=false
tfm.exec.chatMessage(text.inv3,name)
tfm.exec.setNameColor(name,0xd7d7e6)
end
end
end
if team == 2 then
team=1
if set == false then
actual_player=play_vermelho[math.random(#play_vermelho)]
else
actual_player=set_name
end
else
team=2
if set == false then