-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCoreRamships.ars
619 lines (527 loc) · 12.2 KB
/
CoreRamships.ars
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
// CoreRamships.ars
//
// Anacreon Core Library
// Copyright (c) 2014 by Kronosaur Productions, LLC. All Rights Reserved.
// Designations ---------------------------------------------------------------
Trait core.ramshipAutofacDesignation {
category: designation
name: "ramjet components autofac"
minTechLevel: 6
requirements: (core.inNebula)
industry: (
{ type:core.ramshipAutofac alloc:max }
{ type:core.aetheriumProcessor alloc:demand }
{ type:core.chronimiumProcessor alloc:demand }
{ type:core.chtholonExtractor alloc:demand }
{ type:core.hexacarbideFoundry alloc:demand }
{ type:core.trillumExtractor alloc:demand }
{ type:core.imperialAdministration alloc:demand }
{ type:core.consumerGoodsAutofac alloc:demand }
)
description: "This autofac produces components required for building ramjets."
imageMedium: { type:constant
resource: core.designationIcons
pos: (128 1408)
size: (128 128)
}
imageSmall: { type:constant
resource: core.designationIconsSmall
pos: (48 528)
size: (48 48)
}
}
Trait core.ramshipYardsDesignation {
category: designation
name: "ramjet yards"
role: shipyard
minTechLevel: 5
requirements: (core.inNebula)
industry: (
{ type:core.ramshipYards alloc:max }
{ type:core.aetheriumProcessor alloc:demand }
{ type:core.chronimiumProcessor alloc:demand }
{ type:core.chtholonExtractor alloc:demand }
{ type:core.hexacarbideFoundry alloc:demand }
{ type:core.trillumExtractor alloc:demand }
{ type:core.imperialAdministration alloc:demand }
{ type:core.consumerGoodsAutofac alloc:demand }
)
description: "A ramjet yards builds ramjets, which use nebular gas for propulsion."
imageMedium: { type:constant
resource: core.designationIcons
pos: (0 1408)
size: (128 128)
}
imageSmall: { type:constant
resource: core.designationIconsSmall
pos: (0 528)
size: (48 48)
}
}
// Units ----------------------------------------------------------------------
ResourceType core.gunshipHammerhead {
category: maneuveringUnit
name: "Hammerhead-class gunship"
shortName: "Hammerhead(s)"
role: gunship
FTL: { type:ramjet speed:3.0 }
mass: 10.0
maxDeltaV: 1.0
scanner: 0.1
visibility: 0.10
halfLife: 10.0
attack: { name:"AX1 recoilless cannon" count:1 damage:48 type:direct range:10.0 area:0.0 }
defense: { armor:120 }
unitsPerCell: 16
production: {
workUnits: 525.0
inputs: (
{ type:core.aetherium amount:8.0 }
{ type:core.hexacarbide amount:10.0 }
)
minTechLevel: 5
maxTechLevel: 7
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (0 0)
size: (256 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (0 0)
size: (64 64)
}
}
ResourceType core.transportCetus {
category: maneuveringUnit
name: "Cetus-class transport"
shortName: "Cetus|Cetus"
role: transport
FTL: { type:ramjet speed:1.0 }
canLand: true
cargoSpace: 100.0
mass: 100.0
maxDeltaV: 0.2
scanner: 0.0
visibility: 1.0
halfLife: 20.0
attack: { name:"A9 recoilless cannon" count:1 damage:10 type:direct range:10.0 area:0.0 }
defense: { armor:120 counters:{ missile:1 } }
unitsPerCell: 8
production: {
workUnits: 650.0
inputs: (
{ type:core.aetherium amount:8.0 }
{ type:core.hexacarbide amount:20.0 }
)
minTechLevel: 5
maxTechLevel: 7
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (512 0)
size: (384 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (128 0)
size: (96 64)
}
}
ResourceType core.starfrigateManta {
category: maneuveringUnit
name: "Manta-class starfrigate"
shortName: "Manta(s)"
role: starfrigate
FTL: { type:ramjet speed:1.0 }
mass: 200.0
maxDeltaV: 0.2
scanner: 0.5
visibility: 2.0
halfLife: 20.0
attack: { name:"Tholin particle cannon" count:1 damage:144 type:direct range:15.0 area:0.1 }
defense: { armor:240 counters:{ missile:1 } }
unitsPerCell: 2
production: {
workUnits: 5700.0
inputs: (
{ type:core.aetherium amount:25.0 }
{ type:core.hexacarbide amount:100.0 }
{ type:core.heavyRamscoop amount:1.0 }
)
minTechLevel: 6
maxTechLevel: 8
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (256 0)
size: (256 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (64 0)
size: (64 64)
}
}
ResourceType core.starcruiserBehemoth {
category: maneuveringUnit
name: "Behemoth-class starcruiser"
shortName: "Behemoth(s)"
role: starcruiser
FTL: { type:ramjet speed:1.0 }
mass: 2000.0
maxDeltaV: 0.1
scanner: 0.5
visibility: 20.0
halfLife: 20.0
attack: { name:"AR200 missile" count:1 damage:480 type:missile strength:2 range:20.0 area:0.4 }
defense: { armor:4800 }
unitsPerCell: 1
production: {
workUnits: 10500.0
inputs: (
{ type:core.aetherium amount:25.0 }
{ type:core.chtholon amount:25.0 }
{ type:core.hexacarbide amount:250.0 }
{ type:core.heavyRamscoop amount:1.0 }
{ type:core.ARMissileLauncher amount:1.0 }
)
minTechLevel: 7
maxTechLevel: 9
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (896 0)
size: (384 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (224 0)
size: (96 64)
}
}
ResourceType core.gunshipCerberus {
category: maneuveringUnit
name: "Cerberus-class gunship"
shortName: "Cerberus|Cerberus"
role: gunship
FTL: { type:ramjet speed:5.0 }
mass: 20.0
maxDeltaV: 1.0
scanner: 0.1
visibility: 0.20
halfLife: 10.0
attack: { name:"Trident cannon" count:1 damage:96 type:direct range:15.0 area:0.1 }
defense: { armor:240 }
unitsPerCell: 16
production: {
workUnits: 750.0
inputs: (
{ type:core.aetherium amount:15.0 }
{ type:core.chtholon amount:15.0 }
{ type:core.hexacarbide amount:10.0 }
)
minTechLevel: 8
minTechLevelToDisplay: 8
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (0 256)
size: (256 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (0 64)
size: (64 64)
}
}
ResourceType core.transportLuna {
category: maneuveringUnit
name: "Luna-class transport"
shortName: "Luna(s)"
role: transport
FTL: { type:ramjet speed:3.0 }
canLand: true
cargoSpace: 100.0
mass: 180.0
maxDeltaV: 0.2
scanner: 0.0
visibility: 1.8
halfLife: 20.0
attack: { name:"AX1 recoilless cannon" count:1 damage:48 type:direct range:10.0 area:0.0 }
defense: { armor:240 counters:{ missile:2 } }
unitsPerCell: 8
production: {
workUnits: 1300.0
inputs: (
{ type:core.aetherium amount:30.0 }
{ type:core.chtholon amount:25.0 }
{ type:core.hexacarbide amount:30.0 }
)
minTechLevel: 8
minTechLevelToDisplay: 8
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (512 256)
size: (384 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (128 64)
size: (96 64)
}
}
ResourceType core.starfrigateCyclops {
category: maneuveringUnit
name: "Cyclops-class starfrigate"
shortName: "Cyclops|Cyclops"
role: starfrigate
FTL: { type:ramjet speed:1.0 }
mass: 300.0
maxDeltaV: 0.2
scanner: 0.5
visibility: 3.0
halfLife: 25.0
attack: { name:"Hellfire cannon" count:1 damage:192 type:direct range:20.0 area:0.3 }
defense: { armor:450 counters:{ missile:1 } }
unitsPerCell: 2
production: {
workUnits: 5000.0
inputs: (
{ type:core.aetherium amount:25.0 }
{ type:core.chtholon amount:30.0 }
{ type:core.hexacarbide amount:125.0 }
{ type:core.advancedRamscoop amount:1.0 }
{ type:core.hellfireCannon amount:1.0 }
)
minTechLevel: 9
minTechLevelToDisplay: 9
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (256 256)
size: (256 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (64 64)
size: (64 64)
}
}
ResourceType core.starcruiserTyphon {
category: maneuveringUnit
name: "Typhon-class starcruiser"
shortName: "Typhon(s)"
role: starcruiser
FTL: { type:ramjet speed:1.0 }
mass: 900.0
maxDeltaV: 0.2
scanner: 0.5
visibility: 9.0
halfLife: 25.0
attack: { name:"HK90 missile" count:1 damage:960 type:missile strength:4 range:25.0 area:0.5 }
defense: { armor:9600 counters:{ missile:2 } }
unitsPerCell: 1
production: {
workUnits:10000.0
inputs: (
{ type:core.aetherium amount:50.0 }
{ type:core.chtholon amount:100.0 }
{ type:core.hexacarbide amount:200.0 }
{ type:core.advancedRamscoop amount:1.0 }
{ type:core.HKMissileLauncher amount:1.0 }
)
minTechLevel: 10
minTechLevelToDisplay: 10
}
imageLarge: { type:constant
resource: core.ramshipIcons
pos: (896 256)
size: (384 256)
}
imageSmall: { type:constant
resource: core.ramshipIconsSmall
pos: (224 64)
size: (96 64)
}
}
// Commodities and Materials --------------------------------------------------
ResourceType core.advancedRamscoop {
category: commodity
name: "advanced ramscoop"
role: shipComponent
isCargo: true
mass: 10
halfLife: 10.0
production: {
workUnits: 1500.0
inputs: (
{ type:core.aetherium amount:100.0 }
{ type:core.chtholon amount:50.0 }
{ type:core.hexacarbide amount:10.0 }
)
minTechLevel: 9
}
imageLarge: { type:constant
resource: core.resourceIcons
pos: (0 640)
size: (128 128)
}
imageSmall: { type:constant
resource: core.resourceIconsSmall
pos: (0 240)
size: (48 48)
}
}
ResourceType core.ARMissileLauncher {
category: commodity
name: "AR missile launcher"
role: shipComponent
isCargo: true
mass: 5
halfLife: 10.0
production: {
workUnits: 600.0
inputs: (
{ type:core.aetherium amount:10.0 }
{ type:core.chtholon amount:2.0 }
{ type:core.hexacarbide amount:5.0 }
)
minTechLevel: 7
}
imageLarge: { type:constant
resource: core.resourceIcons
pos: (0 640)
size: (128 128)
}
imageSmall: { type:constant
resource: core.resourceIconsSmall
pos: (0 240)
size: (48 48)
}
}
ResourceType core.heavyRamscoop {
category: commodity
name: "heavy ramscoop"
role: shipComponent
isCargo: true
mass: 5
halfLife: 10.0
production: {
workUnits: 580.0
inputs: (
{ type:core.aetherium amount:10.0 }
{ type:core.hexacarbide amount:5.0 }
)
minTechLevel: 6
}
imageLarge: { type:constant
resource: core.resourceIcons
pos: (0 640)
size: (128 128)
}
imageSmall: { type:constant
resource: core.resourceIconsSmall
pos: (0 240)
size: (48 48)
}
}
ResourceType core.hellfireCannon {
category: commodity
name: "Hellfire cannon"
role: shipComponent
isCargo: true
mass: 5
halfLife: 10.0
production: {
workUnits: 650.0
inputs: (
{ type:core.aetherium amount:10.0 }
{ type:core.chtholon amount:15.0 }
{ type:core.hexacarbide amount:5.0 }
)
minTechLevel: 9
}
imageLarge: { type:constant
resource: core.resourceIcons
pos: (0 640)
size: (128 128)
}
imageSmall: { type:constant
resource: core.resourceIconsSmall
pos: (0 240)
size: (48 48)
}
}
ResourceType core.HKMissileLauncher {
category: commodity
name: "HK missile launcher"
role: shipComponent
isCargo: true
mass: 20
halfLife: 10.0
production: {
workUnits: 1500.0
inputs: (
{ type:core.aetherium amount:75.0 }
{ type:core.chtholon amount:75.0 }
{ type:core.hexacarbide amount:20.0 }
)
minTechLevel: 10
}
imageLarge: { type:constant
resource: core.resourceIcons
pos: (0 640)
size: (128 128)
}
imageSmall: { type:constant
resource: core.resourceIconsSmall
pos: (0 240)
size: (48 48)
}
}
// Industry -------------------------------------------------------------------
Trait core.ramshipAutofac {
name: "ramjet autofac"
category: industry
role: componentIndustry
production: (
core.heavyRamscoop
core.ARMissileLauncher
core.hellfireCannon
core.advancedRamscoop
core.HKMissileLauncher
)
defaultAlloc: { alloc:max }
designationOnly: true
autoProductAlloc: true
workingConditions: 7
}
Trait core.ramshipYards {
name: "ramjet yards"
category: industry
role: shipyardIndustry
production: (
core.gunshipHammerhead
core.transportCetus
core.starfrigateManta
core.starcruiserBehemoth
core.gunshipCerberus
core.transportLuna
core.starfrigateCyclops
core.starcruiserTyphon
)
defaultAlloc: { alloc:max }
designationOnly: true
workingConditions: 7
}
Image core.ramshipIcons
{
filename: "RamshipIcons.png"
}
Image core.ramshipIconsSmall
{
filename: "RamshipIconsSmall.png"
}