forked from elaskavaia/bga-eminentdomain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaterial.inc.php
2540 lines (2515 loc) · 72.6 KB
/
material.inc.php
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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* EminentDomain implementation : © Alena Laskavaia <[email protected]>
*
* This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
* See http://en.boardgamearena.com/#!doc/Studio for more information.
* -----
*
* material.inc.php
*
* EminentDomain game material description
*
* Here, you can describe the material of your game with PHP variables.
*
* This file is loaded in your game logic class constructor, ie these variables
* are available everywhere in your game logic code.
*
*/
$this->token_types = array(
// --- gen php begin ---
'deck' => [
'type' => 'deck',
'name' => clienttranslate("Deck"),
'tooltip' => clienttranslate("Player's Card Deck"),
'tooltip_action' => clienttranslate("Click to inspect"),
'loc'=>2,'content'=>1,'counter'=>1 ,
],
'discard' => [
'type' => 'discard',
'name' => clienttranslate("Discard"),
'tooltip' => clienttranslate("Player's Discard Pile"),
'tooltip_action' => clienttranslate("Click to inspect"),
'loc'=>2,'content'=>1,'counter'=>1 ,
],
'setaside' => [
'type' => 'zone',
'name' => clienttranslate("Set Aside Zone"),
],
'preferences' => [
'type' => 'preferences',
'name' => clienttranslate("User Preferences"),
'loc'=>2,'content'=>0,'counter'=>0,'showname'=>false,
],
'hand' => [
'type' => 'hand',
'name' => clienttranslate("Hand"),
'loc'=>2,'content'=>2,'counter'=>1,'showname'=>false ,
],
'handwrapper' => [
'type' => 'handwrapper',
'name' => clienttranslate("Hand Size"),
'tooltip' => clienttranslate("Player's Current Hand Size"),
],
'tableau' => [
'type' => 'tableau',
'name' => clienttranslate("Empire"),
'loc'=>2,'content'=>1,'counter'=>0,'showname'=>false ,
],
'discard_planets' => [
'type' => 'discard_planets',
'name' => clienttranslate("Planets Discard"),
'tooltip' => clienttranslate("Planets Discard Pile"),
'tooltip_action' => clienttranslate("Click to inspect"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_planets' => [
'type' => 'supply_planets',
'name' => clienttranslate("Planets Deck"),
'tooltip' => clienttranslate("Planets Supply Deck"),
'tooltip_action' => clienttranslate("Cannot inspect"),
'loc'=>1,'content'=>0,'counter'=>1 ,
],
'starting_worlds' => [
'type' => 'supply_planets',
'name' => clienttranslate("Starting Worlds Deck"),
'tooltip' => clienttranslate("Starting Worlds Supply Deck"),
'tooltip_action' => clienttranslate("Cannot inspect"),
'loc'=>1,'content'=>0,'counter'=>1 ,
],
'fighter_F' => [
'type' => 'fighter',
'name' => clienttranslate("Fighter"),
'p'=>'F',
],
'fighter_j1' => [
'type' => 'fighter fighter_F',
'name' => clienttranslate("Fighter"),
'p'=>'F',
],
'fighter_D' => [
'type' => 'fighter',
'name' => clienttranslate("Destroyer"),
'p'=>'D',
],
'fighter_B' => [
'type' => 'fighter',
'name' => clienttranslate("Battlecruiser"),
'tooltip' => clienttranslate("You may only have 1 [Battlecruiser] in play at a time. While in play, it is worth 2 and grants you a 1 discount (2 with Improved Fleet) on all Warfare costs."),
'p'=>'B', 'hid'=>'BATTLECRUISER',
],
'card_fleet_b' => [
'type' => 'card fleet fleet_basic tech sprite_tilesE actionable',
'name' => clienttranslate("Basic Fleet"),
'tooltip' => clienttranslate("Discard 3 [Fighter] to gain a [Destroyer] (x1) OR Discard 2 [Destroyer] to gain a [Battlecruiser] (x1). <p><p>You may only have 1 [Battlecruiser] in play at a time. While in play, it is worth 2 VP and grants you 1 [Fighter] discount (with Basic Fleet) on all Warfare costs. <p>When leading or following a Research role, you may upgrade Basic Fleet to Improved Fleet by paying 3 [Research] or 3 [Fighter]."),
'hid'=>'BASIC_FLEET', 'b'=>3, 'bm'=>'3F', 't'=>'M', 'a'=>'FFF>D/DD>B', 'side'=>1,
],
'card_fleet_i' => [
'type' => 'card fleet fleet_advanced tech sprite_tilesE actionable',
'name' => clienttranslate("Improved Fleet"),
'tooltip' => clienttranslate("For every 2 [Fighter] you discard in this action, gain 1 [Destroyer] OR Discard 2 [Destroyer] to gain a [Battlecruiser] (x1). <p>You may spend 1 [Battlecruiser] when attacking any Planet instead of the printed Warfare cost. <p>You may only have 1 [Battlecruiser] in play at a time. While in play, it is worth 2 VP and grants you 2 [Fighter] discount (with Improved Fleet) on all Warfare costs."),
'hid'=>'IMPROVED_FLEET', 'p'=>'','a'=>'FF>D+/DD>B','b'=>3, 'bm'=>'3F', 'flip'=>'card_fleet_b', 'side'=>2,
],
'stock' => [
'type' => 'stock',
'name' => clienttranslate("General Supply"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'vp' => [
'type' => 'vp',
'name' => clienttranslate("Influence"),
],
'tableau_fighter' => [
'type' => 'fighter_counter',
'name' => clienttranslate("Fighter Counter"),
'tooltip' => clienttranslate("Shows how many fighters you have"),
],
'tableau_vp' => [
'type' => 'vp_counter',
'name' => clienttranslate("Influence Counter"),
'tooltip' => clienttranslate("Shows how many Influence tokens you have"),
],
'resource_w' => [
'type' => 'resource_w',
'name' => clienttranslate("Water"),
'p'=>'w',
],
'resource_f' => [
'type' => 'resource_f',
'name' => clienttranslate("Food"),
'p'=>'f',
],
'resource_i' => [
'type' => 'resource_i',
'name' => clienttranslate("Iron"),
'p'=>'i',
],
'resource_s' => [
'type' => 'resource_s',
'name' => clienttranslate("Silicon"),
'p'=>'s',
],
'iconperm_C' => [
'type' => 'icon C',
'name' => clienttranslate("Settle Permanents"),
'tooltip' => clienttranslate("When settling subtract number of visible settle symbols from planet requirement"),
],
'iconperm_W' => [
'type' => 'icon W',
'name' => clienttranslate("Warfare Permanents"),
'tooltip' => clienttranslate("When collecting fighters add number of visible warfare symbols to total count"),
],
'iconperm_S' => [
'type' => 'icon S',
'name' => clienttranslate("Survey Permanents"),
'tooltip' => clienttranslate("When surveying planets add number of visible survey symbols to total count"),
],
'iconperm_P' => [
'type' => 'icon P',
'name' => clienttranslate("Produce Permanents"),
'tooltip' => clienttranslate("When producing resources add number of visible produce symbols to total count"),
],
'iconperm_T' => [
'type' => 'icon T',
'name' => clienttranslate("Trade Permanents"),
'tooltip' => clienttranslate("When trading resources add number of visible trade symbols to total count"),
],
'iconperm_R' => [
'type' => 'icon R',
'name' => clienttranslate("Research Permanents"),
'tooltip' => clienttranslate("When researching technology add number of visible research symbols to total count"),
],
'supply_survey' => [
'type' => 'supply',
'name' => clienttranslate("Survey Roles Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_warfare' => [
'type' => 'supply',
'name' => clienttranslate("Warfare Roles Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_colonize' => [
'type' => 'supply',
'name' => clienttranslate("Colonize Roles Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_produce' => [
'type' => 'supply',
'name' => clienttranslate("Produce Roles Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_research' => [
'type' => 'supply',
'name' => clienttranslate("Research Roles Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_scenarios' => [
'type' => 'supply',
'name' => clienttranslate("Scenarios Deck"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_tech_A' => [
'type' => 'supply',
'name' => clienttranslate("Advanced Technologies"),
'tooltip' => clienttranslate("Play Research Role to select any Technology you can afford."),
'tooltip_action' => clienttranslate("Click to expand/collapse"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_tech_E' => [
'type' => 'supply',
'name' => clienttranslate("Fertile Technologies"),
'tooltip' => clienttranslate("Play Research Role to select any Technology you can afford."),
'tooltip_action' => clienttranslate("Click to expand/collapse"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_tech_M' => [
'type' => 'supply',
'name' => clienttranslate("Metallic Technologies"),
'tooltip' => clienttranslate("Play Research Role to select any Technology you can afford."),
'tooltip_action' => clienttranslate("Click to expand/collapse"),
'loc'=>1,'content'=>1,'counter'=>1 ,
],
'supply_survey_counter' => [
'type' => 'supply_counter',
'name' => clienttranslate("Supply Card Counter"),
'tooltip' => clienttranslate("This number indicates how many cards left in the deck."),
],
'supply_warfare_counter' => [
'type' => 'supply_counter',
'name' => clienttranslate("Supply Card Counter"),
'tooltip' => clienttranslate("This number indicates how many cards left in the deck."),
],
'supply_colonize_counter' => [
'type' => 'supply_counter',
'name' => clienttranslate("Supply Card Counter"),
'tooltip' => clienttranslate("This number indicates how many cards left in the deck."),
],
'supply_produce_counter' => [
'type' => 'supply_counter',
'name' => clienttranslate("Supply Card Counter"),
'tooltip' => clienttranslate("This number indicates how many cards left in the deck."),
],
'supply_research_counter' => [
'type' => 'supply_counter',
'name' => clienttranslate("Supply Card Counter"),
'tooltip' => clienttranslate("This number indicates how many cards left in the deck."),
],
'card_role_warfare' => [
'type' => 'card_role',
'name' => clienttranslate("Warfare"),
'tooltip' => clienttranslate("ACTION: Attack 1 Planet OR Collect 1 Fighter<br/><br/>ROLE: Collect 1 Fighter per <div class='icon warfare'></div><br/><span class='yellow'>Leader:</span> May attack 1 Planet instead"),
'b'=>0,'p'=>'','i'=>'W','v'=>0,'a'=>'a/F','r'=>'W', 'l'=>'a',
],
'card_role_survey' => [
'type' => 'card_role',
'name' => clienttranslate("Survey"),
'tooltip' => clienttranslate("ACTION: Draw 2 Cards<br/><br/>ROLE: Look at <div class='icon survey'></div> - 1 planet cards, keep 1<br/> <span class='yellow'>Leader:</span> Look at 1 additional card"),
'b'=>0,'p'=>'','i'=>'S','v'=>0,'a'=>'dd','r'=>'S', 'l'=>'v',
],
'card_role_colonize' => [
'type' => 'card_role',
'name' => clienttranslate("Colonize"),
'tooltip' => clienttranslate("ACTION: Settle 1 Planet OR +1 Colony<br/><br/>ROLE: +1 Colony per <div class='icon colonize'></div><br/><span class='yellow'>Leader:</span> May settle 1 Planet instead"),
'b'=>0,'p'=>'','i'=>'C','v'=>0,'a'=>'s','r'=>'C','l'=>'s',
],
'card_role_produce' => [
'type' => 'card_role',
'name' => clienttranslate("Produce/Trade"),
'tooltip' => clienttranslate("<h2>Produce</h2><div>ACTION: Produce 1 resource<br/><br/>ROLE: Produce 1 resource per <div class='icon produce'></div></div><h2>Trade</h2><div>ACTION: Trade 1 resource for <div class='icon vp'></div><br/><br/>ROLE: Trade 1 resource per <div class='icon trade'></div> for 1 <div class='icon vp'></div> each</div>"),
'b'=>0,'p'=>'','i'=>'PT','v'=>0,'a'=>'p/t','r'=>'P/T','l'=>'',
],
'card_role_research' => [
'type' => 'card_role',
'name' => clienttranslate("Research"),
'tooltip' => clienttranslate("ACTION: Remove up to 2 cards in hand from the game<br/><br/>ROLE: Acquire 1 technology card after satisfying <div class='icon research'></div> cost and planet requirements"),
'b'=>0,'p'=>'','i'=>'R','v'=>0,'a'=>'ee!','r'=>'R','l'=>'',
],
'card_role_politics' => [
'type' => 'card_role',
'name' => clienttranslate("Politics"),
'tooltip' => clienttranslate("ACTION: Remove this card from the game. Take 1 Role card from the stocks into your hand."),
'b'=>0,'p'=>'','i'=>'','v'=>0,'a'=>'l',
],
'x_warfare_bottom' => [
'type' => 'card_role',
'name' => clienttranslate("Warfare"),
'tooltip' => clienttranslate("ROLE: +<div class='icon warfare'></div>. Collect 1 Fighter per <div class='icon warfare'></div><br/><span class='yellow'>Leader:</span> May attack 1 Planet instead"),
'b'=>0,'p'=>'','i'=>'W','v'=>0,'a'=>'a/F','r'=>'W', 'l'=>'a',
],
'x_survey_bottom' => [
'type' => 'card_role',
'name' => clienttranslate("Survey"),
'tooltip' => clienttranslate("ACTION: Draw 2 Cards<br/><br/>ROLE: Look at <div class='icon survey'></div> - 1 planet cards, keep 1<br/> <span class='yellow'>Leader:</span> Look at 1 additional card"),
'b'=>0,'p'=>'','i'=>'S','v'=>0,'a'=>'dd','r'=>'S', 'l'=>'v',
],
'x_colonize_bottom' => [
'type' => 'card_role',
'name' => clienttranslate("Colonize"),
'tooltip' => clienttranslate("ACTION: Settle 1 Planet OR +1 Colony<br/><br/>ROLE: +1 Colony per <div class='icon colonize'></div><br/><span class='yellow'>Leader:</span> May settle 1 Planet instead"),
'b'=>0,'p'=>'','i'=>'C','v'=>0,'a'=>'s','r'=>'C','l'=>'s',
],
'x_produce_bottom' => [
'type' => 'card_role',
'name' => clienttranslate("Produce/Trade"),
'tooltip' => clienttranslate("<h2>Produce</h2><div>ACTION: Produce 1 resource<br/><br/>ROLE: Produce 1 resource per <div class='icon produce'></div></div><h2>Trade</h2><div>ACTION: Trade 1 resource for influence<br/><br/>ROLE: Trade 1 resource per <div class='icon trade'></div> for 1 influence each</div>"),
'b'=>0,'p'=>'','i'=>'PT','v'=>0,'a'=>'p/t','r'=>'P/T','l'=>'',
],
'x_research_bottom' => [
'type' => 'card_role',
'name' => clienttranslate("Research"),
'tooltip' => clienttranslate("ROLE: Acquire 1 technology card after satisfying <div class='icon research'></div> cost and planet requirements"),
'b'=>0,'p'=>'','i'=>'R','v'=>0,'a'=>'ee!','r'=>'R','l'=>'',
],
'card_planet_1_1' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Lyttle"),
't'=>'A','i'=>'R', 'slots'=>'s', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_1_2' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Echo Rose"),
't'=>'A','i'=>'R', 'slots'=>'s', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_1_3' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Srod Avain N2"),
't'=>'A','i'=>'R', 'slots'=>'', 'v'=>4,'w'=>6,'c'=>3,
],
'card_planet_1_4' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Ral Gai'Gaw"),
't'=>'A','i'=>'T', 'slots'=>'s', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_1_5' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Hanoj - T"),
't'=>'A','i'=>'T', 'slots'=>'s', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_1_6' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Zhephan"),
't'=>'A','i'=>'T', 'slots'=>'', 'v'=>4,'w'=>6,'c'=>3,
],
'card_planet_1_7' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Oknow"),
't'=>'A','i'=>'', 'slots'=>'s', 'v'=>2,'h'=>1,'w'=>5,'c'=>4,
],
'card_planet_1_8' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Sima-07C"),
't'=>'A','i'=>'', 'slots'=>'s', 'v'=>2,'h'=>1,'w'=>4,'c'=>5,
],
'card_planet_1_9' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Sholmican"),
't'=>'A','i'=>'', 'slots'=>'s', 'v'=>4,'w'=>6,'c'=>3,
],
'card_planet_2_1' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Styku"),
't'=>'E','i'=>'C', 'slots'=>'w', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_2_2' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Mik-Mik"),
't'=>'E','i'=>'C', 'slots'=>'f', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_2_3' => [
'type' => 'planet card_planet',
'name' => clienttranslate("New Texas"),
't'=>'E','i'=>'C', 'slots'=>'fw', 'v'=>2,'w'=>6,'c'=>3,
],
'card_planet_2_4' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Gerdland"),
't'=>'E','i'=>'P', 'slots'=>'w', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_2_5' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Mishburr ITO-A"),
't'=>'E','i'=>'P', 'slots'=>'f', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_2_6' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Artigas GNS-111"),
't'=>'E','i'=>'P', 'slots'=>'fw', 'v'=>2,'w'=>6,'c'=>3,
],
'card_planet_2_7' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Spielbany VI"),
't'=>'E','i'=>'', 'slots'=>'w', 'v'=>2,'h'=>1,'w'=>5,'c'=>4,
],
'card_planet_2_8' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Nelos IV"),
't'=>'E','i'=>'', 'slots'=>'f', 'v'=>2,'h'=>1,'w'=>4,'c'=>5,
],
'card_planet_2_9' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Angus Daffy"),
't'=>'E','i'=>'', 'slots'=>'fw', 'v'=>3,'w'=>6,'c'=>3,
],
'card_planet_3_1' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Voson"),
't'=>'M','i'=>'S', 'slots'=>'i', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_3_2' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Pink Sonar"),
't'=>'M','i'=>'S', 'slots'=>'i', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_3_3' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Kyrie & Juno"),
't'=>'M','i'=>'S', 'slots'=>'', 'v'=>4,'w'=>6,'c'=>3,
],
'card_planet_3_4' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Tankahshin"),
't'=>'M','i'=>'W', 'slots'=>'i', 'v'=>3,'w'=>5,'c'=>4,
],
'card_planet_3_5' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Erkam-W"),
't'=>'M','i'=>'W', 'slots'=>'i', 'v'=>3,'w'=>4,'c'=>5,
],
'card_planet_3_6' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Overlord Betzel's Domain"),
't'=>'M','i'=>'W', 'slots'=>'', 'v'=>4,'w'=>6,'c'=>3,
],
'card_planet_3_7' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Marghannah Prime"),
't'=>'M','i'=>'', 'slots'=>'', 'v'=>3,'h'=>1,'w'=>5,'c'=>4,
],
'card_planet_3_8' => [
'type' => 'planet card_planet',
'name' => clienttranslate("8910 Spielen"),
't'=>'M','i'=>'', 'slots'=>'i', 'v'=>2,'h'=>1,'w'=>4,'c'=>5,
],
'card_planet_3_9' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Idroyos"),
't'=>'M','i'=>'', 'slots'=>'', 'v'=>5,'w'=>6,'c'=>3,
],
'card_planet_0_1' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Pomerene"),
't'=>'A','i'=>'', 'slots'=>'s', 'v'=>2,'w'=>2,'c'=>2,
],
'card_planet_0_2' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Drawde"),
't'=>'E','i'=>'', 'slots'=>'f', 'v'=>2,'w'=>2,'c'=>2,
],
'card_planet_0_3' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Piedra Seca"),
't'=>'M','i'=>'', 'slots'=>'i', 'v'=>2,'w'=>2,'c'=>2,
],
'card_planet_0_4' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Mesia Sednim"),
't'=>'E','i'=>'', 'slots'=>'w', 'v'=>2,'w'=>2,'c'=>2,
],
'card_planet_0_5' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Chrispen"),
't'=>'M','i'=>'', 'slots'=>'i', 'v'=>2,'w'=>2,'c'=>2,
],
'card_planet_0_6' => [
'type' => 'planet card_planet',
'name' => clienttranslate("Liagiba"),
't'=>'A','i'=>'', 'slots'=>'s', 'v'=>2,'w'=>2,'c'=>2,
],
// --- gen php end ---
// --- gen php begin basic_tech ---
// #||||b- research|p – prereq|I – symbols|v - influence|A - action||flip – id of flip card|e perm action|||
'card_tech_1_11' => [
'type' => 'tech',
'name' => clienttranslate("Improved Survey"),
'b' => 3,
'p' => 'A',
'i' => 'ST',
'v' => 0,
'a' => 'ddd',
'side' => 0,
'tooltip' => clienttranslate("Draw 3 cards."),
],
'card_tech_1_12' => [
'type' => 'tech',
'name' => clienttranslate("Improved Survey"),
'b' => 3,
'p' => 'A',
'i' => 'SR',
'v' => 0,
'a' => 'ddd',
'side' => 0,
'tooltip' => clienttranslate("Draw 3 cards."),
],
'card_tech_1_13' => [
'type' => 'tech',
'name' => clienttranslate("Improved Survey"),
'b' => 3,
'p' => 'E',
'i' => 'SC',
'v' => 0,
'a' => 'ddd',
'side' => 0,
'tooltip' => clienttranslate("Draw 3 cards."),
],
'card_tech_1_14' => [
'type' => 'tech',
'name' => clienttranslate("Improved Survey"),
'b' => 3,
'p' => 'E',
'i' => 'SP',
'v' => 0,
'a' => 'ddd',
'side' => 0,
'tooltip' => clienttranslate("Draw 3 cards."),
],
'card_tech_1_21' => [
'type' => 'tech',
'name' => clienttranslate("Improved Colonize"),
'b' => 3,
'p' => 'A',
'i' => 'CR',
'v' => 0,
'a' => 'Ss',
'side' => 0,
'tooltip' => clienttranslate("Settle 1 Planet. Settle another planet OR +1 Colony."),
],
'card_tech_1_22' => [
'type' => 'tech',
'name' => clienttranslate("Improved Colonize"),
'b' => 3,
'p' => 'A',
'i' => 'CT',
'v' => 0,
'a' => 'Ss',
'side' => 0,
'tooltip' => clienttranslate("Settle 1 Planet. Settle another planet OR +1 Colony."),
],
'card_tech_1_23' => [
'type' => 'tech',
'name' => clienttranslate("Improved Colonize"),
'b' => 3,
'p' => 'M',
'i' => 'CS',
'v' => 0,
'a' => 'Ss',
'side' => 0,
'tooltip' => clienttranslate("Settle 1 Planet. Settle another planet OR +1 Colony."),
],
'card_tech_1_24' => [
'type' => 'tech',
'name' => clienttranslate("Improved Colonize"),
'b' => 3,
'p' => 'M',
'i' => 'CW',
'v' => 0,
'a' => 'Ss',
'side' => 0,
'tooltip' => clienttranslate("Settle 1 Planet. Settle another planet OR +1 Colony."),
],
'card_tech_1_31' => [
'type' => 'tech',
'name' => clienttranslate("Improved Warfare"),
'b' => 3,
'p' => 'A',
'i' => 'WR',
'v' => 0,
'a' => 'FF/a',
'side' => 0,
'tooltip' => clienttranslate("Collect 2 Fighters OR Attack 1 Planet."),
],
'card_tech_1_32' => [
'type' => 'tech',
'name' => clienttranslate("Improved Warfare"),
'b' => 3,
'p' => 'A',
'i' => 'WT',
'v' => 0,
'a' => 'FF/a',
'side' => 0,
'tooltip' => clienttranslate("Collect 2 Fighters OR Attack 1 Planet."),
],
'card_tech_1_33' => [
'type' => 'tech',
'name' => clienttranslate("Improved Warfare"),
'b' => 3,
'p' => 'E',
'i' => 'WC',
'v' => 0,
'a' => 'FF/a',
'side' => 0,
'tooltip' => clienttranslate("Collect 2 Fighters OR Attack 1 Planet."),
],
'card_tech_1_34' => [
'type' => 'tech',
'name' => clienttranslate("Improved Warfare"),
'b' => 3,
'p' => 'E',
'i' => 'WP',
'v' => 0,
'a' => 'FF/a',
'side' => 0,
'tooltip' => clienttranslate("Collect 2 Fighters OR Attack 1 Planet."),
],
'card_tech_1_41' => [
'type' => 'tech',
'name' => clienttranslate("Improved Production"),
'b' => 3,
'p' => 'A',
'i' => 'PR',
'v' => 0,
'a' => 'pp',
'side' => 0,
'tooltip' => clienttranslate("Produce 2 Resources."),
],
'card_tech_1_42' => [
'type' => 'tech',
'name' => clienttranslate("Improved Production"),
'b' => 3,
'p' => 'A',
'i' => 'PT',
'v' => 0,
'a' => 'pp',
'side' => 0,
'tooltip' => clienttranslate("Produce 2 Resources."),
],
'card_tech_1_43' => [
'type' => 'tech',
'name' => clienttranslate("Improved Production"),
'b' => 3,
'p' => 'M',
'i' => 'PS',
'v' => 0,
'a' => 'pp',
'side' => 0,
'tooltip' => clienttranslate("Produce 2 Resources."),
],
'card_tech_1_44' => [
'type' => 'tech',
'name' => clienttranslate("Improved Production"),
'b' => 3,
'p' => 'M',
'i' => 'PW',
'v' => 0,
'a' => 'pp',
'side' => 0,
'tooltip' => clienttranslate("Produce 2 Resources."),
],
'card_tech_1_51' => [
'type' => 'tech',
'name' => clienttranslate("Improved Trade"),
'b' => 3,
'p' => 'E',
'i' => 'TP',
'v' => 0,
'a' => 'i',
'side' => 0,
'tooltip' => clienttranslate("Collect 1 Influence from the supply."),
],
'card_tech_1_52' => [
'type' => 'tech',
'name' => clienttranslate("Improved Trade"),
'b' => 3,
'p' => 'E',
'i' => 'TC',
'v' => 0,
'a' => 'i',
'side' => 0,
'tooltip' => clienttranslate("Collect 1 Influence from the supply."),
],
'card_tech_1_53' => [
'type' => 'tech',
'name' => clienttranslate("Improved Trade"),
'b' => 3,
'p' => 'M',
'i' => 'TS',
'v' => 0,
'a' => 'i',
'side' => 0,
'tooltip' => clienttranslate("Collect 1 Influence from the supply."),
],
'card_tech_1_54' => [
'type' => 'tech',
'name' => clienttranslate("Improved Trade"),
'b' => 3,
'p' => 'M',
'i' => 'TW',
'v' => 0,
'a' => 'i',
'side' => 0,
'tooltip' => clienttranslate("Collect 1 Influence from the supply."),
],
'card_tech_1_61' => [
'type' => 'tech',
'name' => clienttranslate("Improved Research"),
'b' => 3,
'p' => 'E',
'i' => 'RP',
'v' => 0,
'a' => 'd.eee!',
'side' => 0,
'tooltip' => clienttranslate("Draw 1 Card. Remove up to 3 cards in hand from the game."),
],
'card_tech_1_62' => [
'type' => 'tech',
'name' => clienttranslate("Improved Research"),
'b' => 3,
'p' => 'E',
'i' => 'RC',
'v' => 0,
'a' => 'd.eee!',
'side' => 0,
'tooltip' => clienttranslate("Draw 1 Card. Remove up to 3 cards in hand from the game."),
],
'card_tech_1_63' => [
'type' => 'tech',
'name' => clienttranslate("Improved Research"),
'b' => 3,
'p' => 'M',
'i' => 'RS',
'v' => 0,
'a' => 'd.eee!',
'side' => 0,
'tooltip' => clienttranslate("Draw 1 Card. Remove up to 3 cards in hand from the game."),
],
'card_tech_1_64' => [
'type' => 'tech',
'name' => clienttranslate("Improved Research"),
'b' => 3,
'p' => 'M',
'i' => 'RW',
'v' => 0,
'a' => 'd.eee!',
'side' => 0,
'tooltip' => clienttranslate("Draw 1 Card. Remove up to 3 cards in hand from the game."),
],
'card_tech_2_71' => [
'type' => 'tech',
'name' => clienttranslate("Diverse Markets"),
'b' => 5,
'p' => 'AA',
'i' => 'RT',
'v' => 2,
'a' => '?',
'side' => 0,
'eot'=>'div_r','lasting'=>true,
'tooltip' => clienttranslate("+1 Influence for each TYPE of Resource you trade this turn."),
],
'card_tech_2_72' => [
'type' => 'tech',
'name' => clienttranslate("Data Network"),
'b' => 5,
'p' => 'AA',
'i' => 'RR',
'v' => 2,
'a' => 'dd.E',
'side' => 0,
'tooltip' => clienttranslate("Draw 2 Cards. Remove any number of cards in hand from the game."),
],
'card_tech_2_73' => [
'type' => 'tech',
'name' => clienttranslate("Specialization"),
'b' => 5,
'p' => 'AA',
'i' => 'TT',
'v' => 2,
'a' => 'y',
'side' => 0,
'eot'=>'max_r','lasting'=>true,
'tooltip' => clienttranslate("Choose 1 Resource TYPE.<br> +1 Influence for each resource of that TYPE you trade this turn."),
],
'card_tech_2_74' => [
'type' => 'tech',
'name' => clienttranslate("Weapon Emporium"),
'b' => 5,
'p' => 'AA',
'v' => 2,
'side' => 1,
'flip' => 'card_tech_2_75',
'tooltip' => clienttranslate("You may trade Fighters as if they were Resources."),
],
'card_tech_2_75' => [
'type' => 'tech',
'name' => clienttranslate("Streamlining"),
'b' => 5,
'p' => 'AA',
'v' => 2,
'side' => 2,
'flip' => 'card_tech_2_74',
'e' => 'e!',
'tooltip' => clienttranslate("You may remove 1 card in hand from the game each turn."),
],
'card_tech_3_76' => [
'type' => 'tech',
'name' => clienttranslate("Adaptability"),
'b' => 7,
'p' => 'AAA',
'v' => 5,
'side' => 1,
'flip' => 'card_tech_3_77',
'tooltip' => clienttranslate("Your standard Research Role cards gain all symbols. They can be used to boost or follow any role."),
],
'card_tech_3_77' => [
'type' => 'tech',
'name' => clienttranslate("Hyperefficiency"),
'b' => 7,
'p' => 'AAA',
'v' => 5,
'side' => 2,
'flip' => 'card_tech_3_76',
'e' => 'E',
'tooltip' => clienttranslate("You may remove any number of cards from hand each turn."),
],
'card_tech_2_81' => [
'type' => 'tech',
'name' => clienttranslate("Mobilization"),
'b' => 5,
'p' => 'MM',
'i' => 'SW',
'v' => 2,
'a' => 'FF',
'side' => 0,
'e' => 'a',
'trig'=>'l-.:a/x','lasting'=>1,
'tooltip' => clienttranslate("Collect 2 Fighters. You may Attack 1 Planet after your Role Phase this turn."),
],
'card_tech_2_82' => [
'type' => 'tech',
'name' => clienttranslate("Survey Team"),
'b' => 5,
'p' => 'MM',
'i' => 'SS',
'v' => 2,
'a' => 'u',
'side' => 0,
'tooltip' => clienttranslate("Take top Planet of the planet deck and put it into your Empire face down."),
],
'card_tech_2_83' => [
'type' => 'tech',
'name' => clienttranslate("War Path"),
'b' => 5,
'p' => 'MM',
'i' => 'WW',
'v' => 2,
'a' => 'aa',
'side' => 0,
'tooltip' => clienttranslate("Attack up to 2 Planets."),
],
'card_tech_2_84' => [
'type' => 'tech',
'name' => clienttranslate("Imperialism"),
'b' => 5,
'p' => 'MM',
'i' => 'STW',
'v' => 2,
'side' => 1,
'flip' => 'card_tech_2_85',
],
'card_tech_2_85' => [
'type' => 'tech',
'name' => clienttranslate("Scorched Earth Policy"),
'b' => 5,
'p' => 'MM',
'v' => 2,
'side' => 2,
'flip' => 'card_tech_2_84',
'tooltip' => clienttranslate("-2 to your Warfare costs. When you Attack a Planet leave a Fighter on it. That Planet cannot store resources."),
],
'card_tech_3_86' => [
'type' => 'tech',
'name' => clienttranslate("Logistics"),
'b' => 7,
'p' => 'MMM',
'v' => 5,
'side' => 1,
'flip' => 'card_tech_3_87',
'tooltip' => clienttranslate("Play the Action and Role phases of your turn in any order. At the end of the game, take an additional turn."),
'rulings' => 'This rule is from Escalation errata.',
],
'card_tech_3_87' => [
'type' => 'tech',
'name' => clienttranslate("Productivity"),
'b' => 7,
'p' => 'MMM',
'v' => 5,
'side' => 2,
'flip' => 'card_tech_3_86',
'tooltip' => clienttranslate("You may play an additional card for its Action effect during your Action phase."),
],
'card_tech_2_91' => [
'type' => 'tech',
'name' => clienttranslate("Artificial Intelligence"),
'b' => 5,
'p' => 'EE',
'i' => 'CP',
'v' => 2,
'a' => 'll',
'side' => 0,
'tooltip' => clienttranslate("Take any 2 Role cards from the stacks into your hand."),
],
'card_tech_2_92' => [
'type' => 'tech',
'name' => clienttranslate("Genetic Engineering"),
'b' => 5,
'p' => 'EE',
'i' => 'PP',
'v' => 2,
'a' => '?',
'side' => 0,
'eot'=>'div_r','lasting'=>true,
'tooltip' => clienttranslate("+1 Influence for each TYPE of Resource your produce this turn."),
],
'card_tech_2_93' => [
'type' => 'tech',
'name' => clienttranslate("Terraforming"),
'b' => 5,
'p' => 'EE',
'i' => 'CC',
'v' => 2,
'a' => 'c',
'side' => 0,
'tooltip' => clienttranslate("Add this card to a Planet as 2 Colonies. If this fulfills Colonized cost, Settle the planet."),
'rulings' => 'Terraforming can be used in conjunction with Colonize symbols on Planets and permanent Technology cards in your Empire. This rule is from Escalation Errata.',
],
'card_tech_2_94' => [
'type' => 'tech',
'name' => clienttranslate("Fertile Ground"),
'b' => 5,
'p' => 'EE',
'i' => 'CPR',
'v' => 2,
'side' => 1,
'flip' => 'card_tech_2_95',
],
'card_tech_2_95' => [
'type' => 'tech',
'name' => clienttranslate("Abundance"),
'b' => 5,
'p' => 'EE',
'v' => 2,
'side' => 2,
'flip' => 'card_tech_2_94',
'trig'=>['enter:pppp','settle:pp','attack:pp'],
'tooltip' => clienttranslate("Produce 4 Resources. When you Settle or Attack a Planet produce 2 Resources."),
'rulings' => 'This rule is from Escalation errata.',
],
'card_tech_3_96' => [
'type' => 'tech',
'name' => clienttranslate("Dissension"),
'b' => 7,
'p' => 'EEE',
'v' => 5,
'side' => 1,
'flip' => 'card_tech_3_97',
'tooltip' => clienttranslate("Draw 1 additional card when Dissenting."),
],
'card_tech_3_97' => [
'type' => 'tech',
'name' => clienttranslate("Bureaucracy"),
'b' => 7,
'p' => 'EEE',
'v' => 5,
'side' => 2,
'flip' => 'card_tech_3_96',
'tooltip' => clienttranslate("When following a role +<div class='icon survey'></div><div class='icon warfare'></div><div class='icon produce'></div><div class='icon trade'></div><div class='icon research'></div>.<p> You may use Leader Bonus when Following the Colonize and Warfare roles."),
'rulings' => 'This rule is from Escalation errata.',
],
// --- gen php end basic_tech ---
// --- gen php begin escalation_tech ---
// #--- EDIT IN EXCEL --- |||card name|number in pdf|number in sprite|side 0 single,1 front, 2 back|planet type|action codes||direct php code|permanent|research cost|military cost|cost|influence points|symbol icons|produce slots||action/card text/tooltip|
'card_tech_E_1' => [
'type' => 'tech tech_E tech_E_1',
'exp' => 'E',
'name' => clienttranslate("PEACE TREATY"),