ogamejs 2.1.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +22 -31
  2. package/{build → src}/buildings/crystal.js +16 -24
  3. package/{build → src}/buildings/deut.js +12 -22
  4. package/{build → src}/buildings/fusion-reactor.js +12 -22
  5. package/src/buildings/index.js +17 -0
  6. package/src/buildings/infocompte.js +91 -0
  7. package/{build → src}/buildings/metal.js +12 -21
  8. package/{build → src}/buildings/solar-plant.js +8 -17
  9. package/src/fleets/getDebris.js +20 -0
  10. package/src/fleets/index.js +7 -0
  11. package/src/index.js +17 -0
  12. package/{build → src}/models/buildings.js +14 -20
  13. package/{build → src}/models/destroyable.js +425 -332
  14. package/src/trades/crystal.js +16 -0
  15. package/src/trades/deut.js +16 -0
  16. package/src/trades/index.js +13 -0
  17. package/src/trades/metal.js +16 -0
  18. package/src/trades/parseRate.js +49 -0
  19. package/src/trades/utils.js +9 -0
  20. package/CHANGELOG.md +0 -50
  21. package/build/buildings/crystal.test.js +0 -32
  22. package/build/buildings/deut.test.js +0 -32
  23. package/build/buildings/fusion-reactor.test.js +0 -22
  24. package/build/buildings/index.js +0 -31
  25. package/build/buildings/infocompte.js +0 -150
  26. package/build/buildings/infocompte.test.js +0 -107
  27. package/build/buildings/metal.test.js +0 -32
  28. package/build/buildings/solar-plant.test.js +0 -21
  29. package/build/fleets/getDebris.js +0 -27
  30. package/build/fleets/getDebris.test.js +0 -26
  31. package/build/fleets/index.js +0 -16
  32. package/build/index.js +0 -30
  33. package/build/trades/crystal.js +0 -33
  34. package/build/trades/crystal.test.js +0 -16
  35. package/build/trades/deut.js +0 -33
  36. package/build/trades/deut.test.js +0 -16
  37. package/build/trades/index.js +0 -25
  38. package/build/trades/metal.js +0 -33
  39. package/build/trades/metal.test.js +0 -16
  40. package/build/trades/parseRate.js +0 -60
  41. package/build/trades/parseRate.test.js +0 -40
  42. package/build/trades/trades.js +0 -119
  43. package/build/trades/trades.test.js +0 -65
  44. package/build/trades/utils.js +0 -17
  45. package/build/trades/utils.test.js +0 -16
  46. package/build/winston.js +0 -16
@@ -1,22 +1,17 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var ATTRIBUTES = Object.freeze({
1
+ const ATTRIBUTES = Object.freeze({
8
2
  TYPES: {
9
3
  ATTACK: 'attack',
10
4
  CIVIL: 'civil',
11
- DEFENSE: 'defense'
5
+ DEFENSE: 'defense',
12
6
  },
13
7
  CATEGORIES: {
14
8
  SHIPS: 'ships',
15
9
  DEFENSES: 'defenses',
16
- MISSILE: 'missiles'
17
- }
10
+ MISSILE: 'missiles',
11
+ },
18
12
  });
19
- var DESTROYABLE = Object.freeze({
13
+
14
+ const DESTROYABLE = Object.freeze({
20
15
  1: {
21
16
  name: 'chasseur léger',
22
17
  structure: 4000,
@@ -27,21 +22,25 @@ var DESTROYABLE = Object.freeze({
27
22
  deutCost: 10,
28
23
  type: ATTRIBUTES.TYPES.ATTACK,
29
24
  category: ATTRIBUTES.CATEGORIES.SHIPS,
30
- rapidFire: [{
31
- target: 15,
32
- fire: 5
33
- }, {
34
- target: 16,
35
- fire: 5
36
- }, {
37
- target: 17,
38
- fire: 5
39
- }],
25
+ rapidFire: [
26
+ {
27
+ target: 15,
28
+ fire: 5,
29
+ },
30
+ {
31
+ target: 16,
32
+ fire: 5,
33
+ },
34
+ {
35
+ target: 17,
36
+ fire: 5,
37
+ },
38
+ ],
40
39
  cost: {
41
40
  metal: 3000,
42
41
  crystal: 1000,
43
- deut: 0
44
- }
42
+ deut: 0,
43
+ },
45
44
  },
46
45
  2: {
47
46
  name: 'chasseur lourd',
@@ -53,24 +52,29 @@ var DESTROYABLE = Object.freeze({
53
52
  deutCost: 37.5,
54
53
  type: ATTRIBUTES.TYPES.ATTACK,
55
54
  category: ATTRIBUTES.CATEGORIES.SHIPS,
56
- rapidFire: [{
57
- target: 11,
58
- fire: 3
59
- }, {
60
- target: 15,
61
- fire: 5
62
- }, {
63
- target: 16,
64
- fire: 5
65
- }, {
66
- target: 17,
67
- fire: 5
68
- }],
55
+ rapidFire: [
56
+ {
57
+ target: 11,
58
+ fire: 3,
59
+ },
60
+ {
61
+ target: 15,
62
+ fire: 5,
63
+ },
64
+ {
65
+ target: 16,
66
+ fire: 5,
67
+ },
68
+ {
69
+ target: 17,
70
+ fire: 5,
71
+ },
72
+ ],
69
73
  cost: {
70
74
  metal: 6000,
71
75
  crystal: 4000,
72
- deut: 0
73
- }
76
+ deut: 0,
77
+ },
74
78
  },
75
79
  3: {
76
80
  name: 'Croiseurs',
@@ -82,27 +86,33 @@ var DESTROYABLE = Object.freeze({
82
86
  deutCost: 150,
83
87
  type: ATTRIBUTES.TYPES.ATTACK,
84
88
  category: ATTRIBUTES.CATEGORIES.SHIPS,
85
- rapidFire: [{
86
- target: 1,
87
- fire: 6
88
- }, {
89
- target: 15,
90
- fire: 5
91
- }, {
92
- target: 16,
93
- fire: 5
94
- }, {
95
- target: 17,
96
- fire: 5
97
- }, {
98
- target: 201,
99
- fire: 10
100
- }],
89
+ rapidFire: [
90
+ {
91
+ target: 1,
92
+ fire: 6,
93
+ },
94
+ {
95
+ target: 15,
96
+ fire: 5,
97
+ },
98
+ {
99
+ target: 16,
100
+ fire: 5,
101
+ },
102
+ {
103
+ target: 17,
104
+ fire: 5,
105
+ },
106
+ {
107
+ target: 201,
108
+ fire: 10,
109
+ },
110
+ ],
101
111
  cost: {
102
112
  metal: 20000,
103
113
  crystal: 7000,
104
- deut: 2000
105
- }
114
+ deut: 2000,
115
+ },
106
116
  },
107
117
  4: {
108
118
  name: 'Vaisseau de bataille',
@@ -114,21 +124,25 @@ var DESTROYABLE = Object.freeze({
114
124
  deutCost: 250,
115
125
  type: ATTRIBUTES.TYPES.ATTACK,
116
126
  category: ATTRIBUTES.CATEGORIES.SHIPS,
117
- rapidFire: [{
118
- target: 15,
119
- fire: 5
120
- }, {
121
- target: 16,
122
- fire: 5
123
- }, {
124
- target: 17,
125
- fire: 5
126
- }],
127
+ rapidFire: [
128
+ {
129
+ target: 15,
130
+ fire: 5,
131
+ },
132
+ {
133
+ target: 16,
134
+ fire: 5,
135
+ },
136
+ {
137
+ target: 17,
138
+ fire: 5,
139
+ },
140
+ ],
127
141
  cost: {
128
142
  metal: 45000,
129
143
  crystal: 15000,
130
- deut: 0
131
- }
144
+ deut: 0,
145
+ },
132
146
  },
133
147
  5: {
134
148
  name: 'Traqueur',
@@ -140,36 +154,45 @@ var DESTROYABLE = Object.freeze({
140
154
  deutCost: 125,
141
155
  type: ATTRIBUTES.TYPES.ATTACK,
142
156
  category: ATTRIBUTES.CATEGORIES.SHIPS,
143
- rapidFire: [{
144
- target: 2,
145
- fire: 4
146
- }, {
147
- target: 3,
148
- fire: 4
149
- }, {
150
- target: 4,
151
- fire: 7
152
- }, {
153
- target: 11,
154
- fire: 3
155
- }, {
156
- target: 12,
157
- fire: 3
158
- }, {
159
- target: 15,
160
- fire: 5
161
- }, {
162
- target: 16,
163
- fire: 5
164
- }, {
165
- target: 17,
166
- fire: 5
167
- }],
157
+ rapidFire: [
158
+ {
159
+ target: 2,
160
+ fire: 4,
161
+ },
162
+ {
163
+ target: 3,
164
+ fire: 4,
165
+ },
166
+ {
167
+ target: 4,
168
+ fire: 7,
169
+ },
170
+ {
171
+ target: 11,
172
+ fire: 3,
173
+ },
174
+ {
175
+ target: 12,
176
+ fire: 3,
177
+ },
178
+ {
179
+ target: 15,
180
+ fire: 5,
181
+ },
182
+ {
183
+ target: 16,
184
+ fire: 5,
185
+ },
186
+ {
187
+ target: 17,
188
+ fire: 5,
189
+ },
190
+ ],
168
191
  cost: {
169
192
  metal: 30000,
170
193
  crystal: 40000,
171
- deut: 15000
172
- }
194
+ deut: 15000,
195
+ },
173
196
  },
174
197
  6: {
175
198
  name: 'Bombardier',
@@ -181,39 +204,49 @@ var DESTROYABLE = Object.freeze({
181
204
  deutCost: 350,
182
205
  type: ATTRIBUTES.TYPES.ATTACK,
183
206
  category: ATTRIBUTES.CATEGORIES.SHIPS,
184
- rapidFire: [{
185
- target: 15,
186
- fire: 5
187
- }, {
188
- target: 16,
189
- fire: 5
190
- }, {
191
- target: 17,
192
- fire: 5
193
- }, {
194
- target: 201,
195
- fire: 20
196
- }, {
197
- target: 202,
198
- fire: 20
199
- }, {
200
- target: 203,
201
- fire: 10
202
- }, {
203
- target: 204,
204
- fire: 5
205
- }, {
206
- target: 205,
207
- fire: 10
208
- }, {
209
- target: 206,
210
- fire: 5
211
- }],
207
+ rapidFire: [
208
+ {
209
+ target: 15,
210
+ fire: 5,
211
+ },
212
+ {
213
+ target: 16,
214
+ fire: 5,
215
+ },
216
+ {
217
+ target: 17,
218
+ fire: 5,
219
+ },
220
+ {
221
+ target: 201,
222
+ fire: 20,
223
+ },
224
+ {
225
+ target: 202,
226
+ fire: 20,
227
+ },
228
+ {
229
+ target: 203,
230
+ fire: 10,
231
+ },
232
+ {
233
+ target: 204,
234
+ fire: 5,
235
+ },
236
+ {
237
+ target: 205,
238
+ fire: 10,
239
+ },
240
+ {
241
+ target: 206,
242
+ fire: 5,
243
+ },
244
+ ],
212
245
  cost: {
213
246
  metal: 50000,
214
247
  crystal: 25000,
215
- deut: 15000
216
- }
248
+ deut: 15000,
249
+ },
217
250
  },
218
251
  7: {
219
252
  name: 'Destructeur',
@@ -225,27 +258,33 @@ var DESTROYABLE = Object.freeze({
225
258
  deutCost: 500,
226
259
  type: ATTRIBUTES.TYPES.ATTACK,
227
260
  category: ATTRIBUTES.CATEGORIES.SHIPS,
228
- rapidFire: [{
229
- target: 15,
230
- fire: 5
231
- }, {
232
- target: 16,
233
- fire: 5
234
- }, {
235
- target: 17,
236
- fire: 5
237
- }, {
238
- target: 5,
239
- fire: 2
240
- }, {
241
- target: 202,
242
- fire: 10
243
- }],
261
+ rapidFire: [
262
+ {
263
+ target: 15,
264
+ fire: 5,
265
+ },
266
+ {
267
+ target: 16,
268
+ fire: 5,
269
+ },
270
+ {
271
+ target: 17,
272
+ fire: 5,
273
+ },
274
+ {
275
+ target: 5,
276
+ fire: 2,
277
+ },
278
+ {
279
+ target: 202,
280
+ fire: 10,
281
+ },
282
+ ],
244
283
  cost: {
245
284
  metal: 60000,
246
285
  crystal: 50000,
247
- deut: 15000
248
- }
286
+ deut: 15000,
287
+ },
249
288
  },
250
289
  8: {
251
290
  name: 'Étoile de la mort',
@@ -257,75 +296,97 @@ var DESTROYABLE = Object.freeze({
257
296
  deutCost: 0.5,
258
297
  type: ATTRIBUTES.TYPES.ATTACK,
259
298
  category: ATTRIBUTES.CATEGORIES.SHIPS,
260
- rapidFire: [{
261
- target: 1,
262
- fire: 200
263
- }, {
264
- target: 2,
265
- fire: 100
266
- }, {
267
- target: 3,
268
- fire: 33
269
- }, {
270
- target: 4,
271
- fire: 30
272
- }, {
273
- target: 5,
274
- fire: 15
275
- }, {
276
- target: 6,
277
- fire: 25
278
- }, {
279
- target: 7,
280
- fire: 5
281
- }, {
282
- target: 9,
283
- fire: 10
284
- }, {
285
- target: 10,
286
- fire: 30
287
- }, {
288
- target: 11,
289
- fire: 250
290
- }, {
291
- target: 12,
292
- fire: 250
293
- }, {
294
- target: 13,
295
- fire: 250
296
- }, {
297
- target: 14,
298
- fire: 250
299
- }, {
300
- target: 15,
301
- fire: 1250
302
- }, {
303
- target: 16,
304
- fire: 1250
305
- }, {
306
- target: 17,
307
- fire: 1250
308
- }, {
309
- target: 201,
310
- fire: 200
311
- }, {
312
- target: 202,
313
- fire: 200
314
- }, {
315
- target: 203,
316
- fire: 100
317
- }, {
318
- target: 204,
319
- fire: 50
320
- }, {
321
- target: 205,
322
- fire: 100
323
- }],
299
+ rapidFire: [
300
+ {
301
+ target: 1,
302
+ fire: 200,
303
+ },
304
+ {
305
+ target: 2,
306
+ fire: 100,
307
+ },
308
+ {
309
+ target: 3,
310
+ fire: 33,
311
+ },
312
+ {
313
+ target: 4,
314
+ fire: 30,
315
+ },
316
+ {
317
+ target: 5,
318
+ fire: 15,
319
+ },
320
+ {
321
+ target: 6,
322
+ fire: 25,
323
+ },
324
+ {
325
+ target: 7,
326
+ fire: 5,
327
+ },
328
+ {
329
+ target: 9,
330
+ fire: 10,
331
+ },
332
+ {
333
+ target: 10,
334
+ fire: 30,
335
+ },
336
+ {
337
+ target: 11,
338
+ fire: 250,
339
+ },
340
+ {
341
+ target: 12,
342
+ fire: 250,
343
+ },
344
+ {
345
+ target: 13,
346
+ fire: 250,
347
+ },
348
+ {
349
+ target: 14,
350
+ fire: 250,
351
+ },
352
+ {
353
+ target: 15,
354
+ fire: 1250,
355
+ },
356
+ {
357
+ target: 16,
358
+ fire: 1250,
359
+ },
360
+ {
361
+ target: 17,
362
+ fire: 1250,
363
+ },
364
+ {
365
+ target: 201,
366
+ fire: 200,
367
+ },
368
+ {
369
+ target: 202,
370
+ fire: 200,
371
+ },
372
+ {
373
+ target: 203,
374
+ fire: 100,
375
+ },
376
+ {
377
+ target: 204,
378
+ fire: 50,
379
+ },
380
+ {
381
+ target: 205,
382
+ fire: 100,
383
+ },
384
+ ],
324
385
  cost: {
325
386
  metal: 5000000,
326
387
  crystal: 4000000,
327
- deut: 1000000
328
- }
388
+ deut: 1000000,
389
+ },
329
390
  },
330
391
  9: {
331
392
  name: 'Faucheur',
@@ -337,30 +398,37 @@ var DESTROYABLE = Object.freeze({
337
398
  deutCost: 550,
338
399
  type: ATTRIBUTES.TYPES.ATTACK,
339
400
  category: ATTRIBUTES.CATEGORIES.SHIPS,
340
- rapidFire: [{
341
- target: 15,
342
- fire: 5
343
- }, {
344
- target: 16,
345
- fire: 5
346
- }, {
347
- target: 17,
348
- fire: 5
349
- }, {
350
- target: 4,
351
- fire: 7
352
- }, {
353
- target: 6,
354
- fire: 4
355
- }, {
356
- target: 7,
357
- fire: 3
358
- }],
401
+ rapidFire: [
402
+ {
403
+ target: 15,
404
+ fire: 5,
405
+ },
406
+ {
407
+ target: 16,
408
+ fire: 5,
409
+ },
410
+ {
411
+ target: 17,
412
+ fire: 5,
413
+ },
414
+ {
415
+ target: 4,
416
+ fire: 7,
417
+ },
418
+ {
419
+ target: 6,
420
+ fire: 4,
421
+ },
422
+ {
423
+ target: 7,
424
+ fire: 3,
425
+ },
426
+ ],
359
427
  cost: {
360
428
  metal: 85000,
361
429
  crystal: 55000,
362
- deut: 20000
363
- }
430
+ deut: 20000,
431
+ },
364
432
  },
365
433
  10: {
366
434
  name: 'Éclaireur',
@@ -372,30 +440,37 @@ var DESTROYABLE = Object.freeze({
372
440
  deutCost: 150,
373
441
  type: ATTRIBUTES.TYPES.ATTACK,
374
442
  category: ATTRIBUTES.CATEGORIES.SHIPS,
375
- rapidFire: [{
376
- target: 1,
377
- fire: 3
378
- }, {
379
- target: 2,
380
- fire: 2
381
- }, {
382
- target: 3,
383
- fire: 3
384
- }, {
385
- target: 15,
386
- fire: 5
387
- }, {
388
- target: 16,
389
- fire: 5
390
- }, {
391
- target: 17,
392
- fire: 5
393
- }],
443
+ rapidFire: [
444
+ {
445
+ target: 1,
446
+ fire: 3,
447
+ },
448
+ {
449
+ target: 2,
450
+ fire: 2,
451
+ },
452
+ {
453
+ target: 3,
454
+ fire: 3,
455
+ },
456
+ {
457
+ target: 15,
458
+ fire: 5,
459
+ },
460
+ {
461
+ target: 16,
462
+ fire: 5,
463
+ },
464
+ {
465
+ target: 17,
466
+ fire: 5,
467
+ },
468
+ ],
394
469
  cost: {
395
470
  metal: 8000,
396
471
  crystal: 15000,
397
- deut: 8000
398
- }
472
+ deut: 8000,
473
+ },
399
474
  },
400
475
  11: {
401
476
  name: 'Petit transporteur',
@@ -407,21 +482,25 @@ var DESTROYABLE = Object.freeze({
407
482
  deutCost: 5,
408
483
  type: ATTRIBUTES.TYPES.CIVIL,
409
484
  category: ATTRIBUTES.CATEGORIES.SHIPS,
410
- rapidFire: [{
411
- target: 15,
412
- fire: 5
413
- }, {
414
- target: 16,
415
- fire: 5
416
- }, {
417
- target: 17,
418
- fire: 5
419
- }],
485
+ rapidFire: [
486
+ {
487
+ target: 15,
488
+ fire: 5,
489
+ },
490
+ {
491
+ target: 16,
492
+ fire: 5,
493
+ },
494
+ {
495
+ target: 17,
496
+ fire: 5,
497
+ },
498
+ ],
420
499
  cost: {
421
500
  metal: 2000,
422
501
  crystal: 2000,
423
- deut: 0
424
- }
502
+ deut: 0,
503
+ },
425
504
  },
426
505
  12: {
427
506
  name: 'Grand transporteur',
@@ -433,21 +512,25 @@ var DESTROYABLE = Object.freeze({
433
512
  deutCost: 25,
434
513
  type: ATTRIBUTES.TYPES.CIVIL,
435
514
  category: ATTRIBUTES.CATEGORIES.SHIPS,
436
- rapidFire: [{
437
- target: 15,
438
- fire: 5
439
- }, {
440
- target: 16,
441
- fire: 5
442
- }, {
443
- target: 17,
444
- fire: 5
445
- }],
515
+ rapidFire: [
516
+ {
517
+ target: 15,
518
+ fire: 5,
519
+ },
520
+ {
521
+ target: 16,
522
+ fire: 5,
523
+ },
524
+ {
525
+ target: 17,
526
+ fire: 5,
527
+ },
528
+ ],
446
529
  cost: {
447
530
  metal: 6000,
448
531
  crystal: 6000,
449
- deut: 0
450
- }
532
+ deut: 0,
533
+ },
451
534
  },
452
535
  13: {
453
536
  name: 'Vaisseaux de colonisation',
@@ -459,21 +542,25 @@ var DESTROYABLE = Object.freeze({
459
542
  deutCost: 500,
460
543
  type: ATTRIBUTES.TYPES.CIVIL,
461
544
  category: ATTRIBUTES.CATEGORIES.SHIPS,
462
- rapidFire: [{
463
- target: 15,
464
- fire: 5
465
- }, {
466
- target: 16,
467
- fire: 5
468
- }, {
469
- target: 17,
470
- fire: 5
471
- }],
545
+ rapidFire: [
546
+ {
547
+ target: 15,
548
+ fire: 5,
549
+ },
550
+ {
551
+ target: 16,
552
+ fire: 5,
553
+ },
554
+ {
555
+ target: 17,
556
+ fire: 5,
557
+ },
558
+ ],
472
559
  cost: {
473
560
  metal: 10000,
474
561
  crystal: 20000,
475
- deut: 10000
476
- }
562
+ deut: 10000,
563
+ },
477
564
  },
478
565
  14: {
479
566
  name: 'Recycleur',
@@ -485,21 +572,25 @@ var DESTROYABLE = Object.freeze({
485
572
  deutCost: 150,
486
573
  type: ATTRIBUTES.TYPES.CIVIL,
487
574
  category: ATTRIBUTES.CATEGORIES.SHIPS,
488
- rapidFire: [{
489
- target: 15,
490
- fire: 5
491
- }, {
492
- target: 16,
493
- fire: 5
494
- }, {
495
- target: 17,
496
- fire: 5
497
- }],
575
+ rapidFire: [
576
+ {
577
+ target: 15,
578
+ fire: 5,
579
+ },
580
+ {
581
+ target: 16,
582
+ fire: 5,
583
+ },
584
+ {
585
+ target: 17,
586
+ fire: 5,
587
+ },
588
+ ],
498
589
  cost: {
499
590
  metal: 10000,
500
591
  crystal: 6000,
501
- deut: 2000
502
- }
592
+ deut: 2000,
593
+ },
503
594
  },
504
595
  15: {
505
596
  name: 'Sonde espionnage',
@@ -515,8 +606,8 @@ var DESTROYABLE = Object.freeze({
515
606
  cost: {
516
607
  metal: 0,
517
608
  crystal: 1000,
518
- deut: 0
519
- }
609
+ deut: 0,
610
+ },
520
611
  },
521
612
  16: {
522
613
  name: 'Satellite solaire',
@@ -532,8 +623,8 @@ var DESTROYABLE = Object.freeze({
532
623
  cost: {
533
624
  metal: 0,
534
625
  crystal: 2000,
535
- deut: 500
536
- }
626
+ deut: 500,
627
+ },
537
628
  },
538
629
  17: {
539
630
  name: 'Foreuse',
@@ -549,8 +640,8 @@ var DESTROYABLE = Object.freeze({
549
640
  cost: {
550
641
  metal: 2000,
551
642
  crystal: 2000,
552
- deut: 1000
553
- }
643
+ deut: 1000,
644
+ },
554
645
  },
555
646
  201: {
556
647
  name: 'Lanceur missile',
@@ -566,8 +657,8 @@ var DESTROYABLE = Object.freeze({
566
657
  cost: {
567
658
  metal: 2000,
568
659
  crystal: 0,
569
- deut: 0
570
- }
660
+ deut: 0,
661
+ },
571
662
  },
572
663
  202: {
573
664
  name: 'Artillerie laser légère',
@@ -583,8 +674,8 @@ var DESTROYABLE = Object.freeze({
583
674
  cost: {
584
675
  metal: 1500,
585
676
  crystal: 500,
586
- deut: 0
587
- }
677
+ deut: 0,
678
+ },
588
679
  },
589
680
  203: {
590
681
  name: 'Artillerie laser lourde',
@@ -600,8 +691,8 @@ var DESTROYABLE = Object.freeze({
600
691
  cost: {
601
692
  metal: 6000,
602
693
  crystal: 2000,
603
- deut: 0
604
- }
694
+ deut: 0,
695
+ },
605
696
  },
606
697
  204: {
607
698
  name: 'Canon de gauss',
@@ -617,8 +708,8 @@ var DESTROYABLE = Object.freeze({
617
708
  cost: {
618
709
  metal: 20000,
619
710
  crystal: 15000,
620
- deut: 2000
621
- }
711
+ deut: 2000,
712
+ },
622
713
  },
623
714
  205: {
624
715
  name: 'Artillerie à ion',
@@ -630,15 +721,17 @@ var DESTROYABLE = Object.freeze({
630
721
  deutCost: 0,
631
722
  type: ATTRIBUTES.TYPES.DEFENSE,
632
723
  category: ATTRIBUTES.CATEGORIES.DEFENSES,
633
- rapidFire: [{
634
- target: 9,
635
- fire: 2
636
- }],
724
+ rapidFire: [
725
+ {
726
+ target: 9,
727
+ fire: 2,
728
+ },
729
+ ],
637
730
  cost: {
638
731
  metal: 5000,
639
732
  crystal: 3000,
640
- deut: 0
641
- }
733
+ deut: 0,
734
+ },
642
735
  },
643
736
  206: {
644
737
  name: 'Lanceur plasma',
@@ -654,8 +747,8 @@ var DESTROYABLE = Object.freeze({
654
747
  cost: {
655
748
  metal: 50000,
656
749
  crystal: 50000,
657
- deut: 30000
658
- }
750
+ deut: 30000,
751
+ },
659
752
  },
660
753
  207: {
661
754
  name: 'Petit bouclier',
@@ -671,8 +764,8 @@ var DESTROYABLE = Object.freeze({
671
764
  cost: {
672
765
  metal: 10000,
673
766
  crystal: 10000,
674
- deut: 0
675
- }
767
+ deut: 0,
768
+ },
676
769
  },
677
770
  208: {
678
771
  name: 'Grand bouclier',
@@ -688,8 +781,8 @@ var DESTROYABLE = Object.freeze({
688
781
  cost: {
689
782
  metal: 50000,
690
783
  crystal: 50000,
691
- deut: 0
692
- }
784
+ deut: 0,
785
+ },
693
786
  },
694
787
  301: {
695
788
  name: "Missile d'interception",
@@ -705,8 +798,8 @@ var DESTROYABLE = Object.freeze({
705
798
  cost: {
706
799
  metal: 8000,
707
800
  crystal: 0,
708
- deut: 2000
709
- }
801
+ deut: 2000,
802
+ },
710
803
  },
711
804
  302: {
712
805
  name: 'Missile interplanétaire',
@@ -722,9 +815,9 @@ var DESTROYABLE = Object.freeze({
722
815
  cost: {
723
816
  metal: 12500,
724
817
  crystal: 2500,
725
- deut: 10000
726
- }
727
- }
818
+ deut: 10000,
819
+ },
820
+ },
728
821
  });
729
- var _default = DESTROYABLE;
730
- exports["default"] = _default;
822
+
823
+ export default DESTROYABLE;