-
Notifications
You must be signed in to change notification settings - Fork 0
/
Consts.cs
398 lines (361 loc) · 24.4 KB
/
Consts.cs
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
/*******************************************************************************
*
* Space Trader for Windows 1.00
*
* Copyright (C) 2016 Keith Banner, All Rights Reserved
*
* Port to Windows by David Pierron & Jay French
* Original coding by Pieter Spronck, Sam Anderson, Samuel Goldstein, Matt Lee
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option) any
* later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* If you'd like a copy of the GNU General Public License, go to
* http://www.gnu.org/copyleft/gpl.html.
*
* You can contact the author at [email protected]
*
******************************************************************************/
using System;
using System.Collections;
using System.Drawing;
using System.IO;
namespace SpaceTrader
{
public class Consts
{
#region Individual Constants
// Directory structure and File constants.
public static string BaseDirectory = Environment.CurrentDirectory;
public static string CustomDirectory = Path.Combine(BaseDirectory, "custom");
public static string DataDirectory = Path.Combine(BaseDirectory, "data");
public static string SaveDirectory = Path.Combine(BaseDirectory, "save");
public static string CustomImagesDirectory = Path.Combine(CustomDirectory, "images");
public static string CustomTemplatesDirectory = Path.Combine(CustomDirectory, "templates");
public static string HighScoreFile = Path.Combine(DataDirectory, "HighScores.bin");
public static string DefaultSettingsFile = Path.Combine(DataDirectory, "DefaultSettings.bin");
public const string CurrentVersion = "2.00";
// Price paid by government for each negative PoliceScore point
public const int BountyModifier = 1000;
public const int GalaxyWidth = 154;
public const int GalaxyHeight = 110;
public const int MinDistance = 7;
public const int CloseDistance = 13;
public const int MaxRange = 20;
public const int WormDist = 25;
public const int DebtWarning = 75000;
public const int DebtTooLarge = 100000;
public const double InsRate = 0.0025;
public const double IntRate = 0.1;
public const int MaxNoClaim = 90;
public const int SkillBonus = 3;
public const int CloakBonus = 2;
public const int MaxSkill = 10;
public const int StartClicks = 20;
public const int MaxFuelTanks = 20;
public const int FuelCompactorTanks = 3;
public const int HullUpgrade = 50;
public const int MaxShip = 9;
public const int MaxSlots = 5;
public const int FleaConversionCost = 500;
public const int PodTransferCost = 200;
public const int ImagesPerShip = 4;
public const int ShipImgOffsetNormal = 0;
public const int ShipImgOffsetDamage = 1;
public const int ShipImgOffsetShield = 2;
public const int ShipImgOffsetSheildDamage = 3;
public const int ShipImgUseDefault = -1;
public const int EncounterImgAlien = 0;
public const int EncounterImgPirate = 1;
public const int EncounterImgPolice = 2;
public const int EncounterImgSpecial = 3;
public const int EncounterImgTrader = 4;
public const int StoryProbability = 50 / 8;
public const int FabricRipInitialProbability = 25;
public const int DirectionUp = 0;
public const int DirectionDown = 1;
public const int DirectionLeft = 2;
public const int DirectionRight = 3;
public const int DisruptorSystemsMultiplier = 3;
public const int MaxTribbles = 100000;
public const int PoliceRecordScorePsychopath = -100;
public const int PoliceRecordScoreVillain = -70;
public const int PoliceRecordScoreCriminal = -30;
public const int PoliceRecordScoreCrook = -10;
public const int PoliceRecordScoreDubious = -5;
public const int PoliceRecordScoreClean = 0;
public const int PoliceRecordScoreLawful = 5;
public const int PoliceRecordScoreTrusted = 10;
public const int PoliceRecordScoreLiked = 25;
public const int PoliceRecordScoreHero = 75;
public const int ReputationScoreHarmless = 0;
public const int ReputationScoreMostlyHarmless = 10;
public const int ReputationScorePoor = 20;
public const int ReputationScoreAverage = 40;
public const int ReputationScoreAboveAverage = 80;
public const int ReputationScoreCompetent = 150;
public const int ReputationScoreDangerous = 300;
public const int ReputationScoreDeadly = 600;
public const int ReputationScoreElite = 1500;
public const int ScoreAttackPirate = 0;
public const int ScoreAttackPolice = -3;
public const int ScoreAttackTrader = -2;
public const int ScoreCaughtWithWild = -4;
public const int ScoreFleePolice = -2;
public const int ScoreKillCaptain = 100;
public const int ScoreKillPirate = 1;
public const int ScoreKillPolice = -6;
public const int ScoreKillTrader = -4;
public const int ScorePlunderPirate = -1;
public const int ScorePlunderTrader = -2;
public const int ScoreTrafficking = -1;
public const string ShipTemplateSeparator = "----------------------------";
#endregion
#region Constant Arrays
#region Gadgets
public static Gadget[] Gadgets = new Gadget[]
{
new Gadget(GadgetType.ExtraCargoBays, SkillType.Na, 2500, TechLevel.EarlyIndustrial, 35), // 5 extra holds
new Gadget(GadgetType.AutoRepairSystem, SkillType.Engineer, 7500, TechLevel.Industrial, 20), // Increases engineer's effectivity
new Gadget(GadgetType.NavigatingSystem, SkillType.Pilot, 15000, TechLevel.PostIndustrial, 20), // Increases pilot's effectivity
new Gadget(GadgetType.TargetingSystem, SkillType.Fighter, 25000, TechLevel.PostIndustrial, 20), // Increases fighter's effectivity
new Gadget(GadgetType.CloakingDevice, SkillType.Pilot, 100000, TechLevel.HiTech, 5), // If you have a good engineer, neither pirates nor police will notice you
// The gadgets below can't be bought
new Gadget(GadgetType.FuelCompactor, SkillType.Na, 30000, TechLevel.Unavailable, 0),
new Gadget(GadgetType.HiddenCargoBays, SkillType.Na, 60000, TechLevel.Unavailable, 0)
};
#endregion
#region PoliceRecords
public static PoliceRecord[] PoliceRecords = new PoliceRecord[]
{
new PoliceRecord(PoliceRecordType.Psychopath, PoliceRecordScorePsychopath),
new PoliceRecord(PoliceRecordType.Villain, PoliceRecordScoreVillain),
new PoliceRecord(PoliceRecordType.Criminal, PoliceRecordScoreCriminal),
new PoliceRecord(PoliceRecordType.Crook, PoliceRecordScoreCrook),
new PoliceRecord(PoliceRecordType.Dubious, PoliceRecordScoreDubious),
new PoliceRecord(PoliceRecordType.Clean, PoliceRecordScoreClean),
new PoliceRecord(PoliceRecordType.Lawful, PoliceRecordScoreLawful),
new PoliceRecord(PoliceRecordType.Trusted, PoliceRecordScoreTrusted),
new PoliceRecord(PoliceRecordType.Liked, PoliceRecordScoreLiked),
new PoliceRecord(PoliceRecordType.Hero, PoliceRecordScoreHero)
};
#endregion
#region PoliticalSystems
public static PoliticalSystem[] PoliticalSystems = new PoliticalSystem[]
{
new PoliticalSystem(PoliticalSystemType.Anarchy, 0, Activity.Absent, Activity.Swarms, Activity.Minimal, TechLevel.PreAgricultural, TechLevel.Industrial, 7, true, true, TradeItemType.Food),
new PoliticalSystem(PoliticalSystemType.Capitalist, 2, Activity.Some, Activity.Few, Activity.Swarms, TechLevel.EarlyIndustrial, TechLevel.HiTech, 1, true, true, TradeItemType.Ore),
new PoliticalSystem(PoliticalSystemType.Communist, 6, Activity.Abundant, Activity.Moderate, Activity.Moderate, TechLevel.Agricultural, TechLevel.Industrial, 5, true, true, TradeItemType.Na),
new PoliticalSystem(PoliticalSystemType.Confederacy, 5, Activity.Moderate, Activity.Some, Activity.Many, TechLevel.Agricultural, TechLevel.PostIndustrial, 3, true, true, TradeItemType.Games),
new PoliticalSystem(PoliticalSystemType.Corporate, 2, Activity.Abundant, Activity.Few, Activity.Swarms, TechLevel.EarlyIndustrial, TechLevel.HiTech, 2, true, true, TradeItemType.Robots),
new PoliticalSystem(PoliticalSystemType.Cybernetic, 0, Activity.Swarms, Activity.Swarms, Activity.Many, TechLevel.PostIndustrial, TechLevel.HiTech, 0, false, false, TradeItemType.Ore),
new PoliticalSystem(PoliticalSystemType.Democracy, 4, Activity.Some, Activity.Few, Activity.Many, TechLevel.Renaissance, TechLevel.HiTech, 2, true, true, TradeItemType.Games),
new PoliticalSystem(PoliticalSystemType.Dictatorship, 3, Activity.Moderate, Activity.Many, Activity.Some, TechLevel.PreAgricultural, TechLevel.HiTech, 2, true, true, TradeItemType.Na),
new PoliticalSystem(PoliticalSystemType.Fascist, 7, Activity.Swarms, Activity.Swarms, Activity.Minimal, TechLevel.EarlyIndustrial, TechLevel.HiTech, 0, false, true, TradeItemType.Machines),
new PoliticalSystem(PoliticalSystemType.Feudal, 1, Activity.Minimal, Activity.Abundant, Activity.Few, TechLevel.PreAgricultural, TechLevel.Renaissance, 6, true, true, TradeItemType.Firearms),
new PoliticalSystem(PoliticalSystemType.Military, 7, Activity.Swarms, Activity.Absent, Activity.Abundant, TechLevel.Medieval, TechLevel.HiTech, 0, false, true, TradeItemType.Robots),
new PoliticalSystem(PoliticalSystemType.Monarchy, 3, Activity.Moderate, Activity.Some, Activity.Moderate, TechLevel.PreAgricultural, TechLevel.Industrial, 4, true, true, TradeItemType.Medicine),
new PoliticalSystem(PoliticalSystemType.Pacifist, 7, Activity.Few, Activity.Minimal, Activity.Many, TechLevel.PreAgricultural, TechLevel.Renaissance, 1, true, false, TradeItemType.Na),
new PoliticalSystem(PoliticalSystemType.Socialist, 4, Activity.Few, Activity.Many, Activity.Some, TechLevel.PreAgricultural, TechLevel.Industrial, 6, true, true, TradeItemType.Na),
new PoliticalSystem(PoliticalSystemType.Satori, 0, Activity.Minimal, Activity.Minimal, Activity.Minimal, TechLevel.PreAgricultural, TechLevel.Agricultural, 0, false, false, TradeItemType.Na),
new PoliticalSystem(PoliticalSystemType.Technocracy, 1, Activity.Abundant, Activity.Some, Activity.Abundant, TechLevel.EarlyIndustrial, TechLevel.HiTech, 2, true, true, TradeItemType.Water),
new PoliticalSystem(PoliticalSystemType.Theocracy, 5, Activity.Abundant, Activity.Minimal, Activity.Moderate, TechLevel.PreAgricultural, TechLevel.EarlyIndustrial, 0, true, true, TradeItemType.Narcotics)
};
#endregion
#region Reputations
public static Reputation[] Reputations = new Reputation[]
{
new Reputation(ReputationType.Harmless, ReputationScoreHarmless),
new Reputation(ReputationType.MostlyHarmless, ReputationScoreMostlyHarmless),
new Reputation(ReputationType.Poor, ReputationScorePoor),
new Reputation(ReputationType.Average, ReputationScoreAverage),
new Reputation(ReputationType.AboveAverage, ReputationScoreAboveAverage),
new Reputation(ReputationType.Competent, ReputationScoreCompetent),
new Reputation(ReputationType.Dangerous, ReputationScoreDangerous),
new Reputation(ReputationType.Deadly, ReputationScoreDeadly),
new Reputation(ReputationType.Elite, ReputationScoreElite)
};
#endregion
#region Shields
public static Shield[] Shields = new Shield[]
{
new Shield(ShieldType.Energy, 100, 5000, TechLevel.Industrial, 70),
new Shield(ShieldType.Reflective, 200, 20000, TechLevel.PostIndustrial, 30),
// The weapons below cannot be bought
new Shield(ShieldType.Lightning, 350, 45000, TechLevel.Unavailable, 0)
};
#endregion
#region ShipImageOffsets
public static Rectangle[] ShipImageOffsets = new Rectangle[]
{
// We only care about X and Width, so set Y and Height to 0.
new Rectangle(22, 0, 19, 0), // Flea
new Rectangle(18, 0, 27, 0), // Gnat
new Rectangle(18, 0, 27, 0), // Firefly
new Rectangle(18, 0, 27, 0), // Mosquito
new Rectangle(12, 0, 40, 0), // Bumblebee
new Rectangle(12, 0, 40, 0), // Beetle
new Rectangle( 7, 0, 50, 0), // Hornet
new Rectangle( 7, 0, 50, 0), // Grasshopper
new Rectangle( 2, 0, 60, 0), // Termite
new Rectangle( 2, 0, 60, 0), // Wasp
new Rectangle( 7, 0, 49, 0), // Space Monster
new Rectangle(21, 0, 22, 0), // Dragonfly
new Rectangle(15, 0, 34, 0), // Mantis
new Rectangle( 7, 0, 49, 0), // Scarab
new Rectangle( 9, 0, 46, 0), // Bottle
new Rectangle( 2, 0, 60, 0), // Custom
new Rectangle( 2, 0, 60, 0) // Scorpion
};
#endregion
#region ShipSpecs
public static ShipSpec[] ShipSpecs = new ShipSpec[]
{
// Type Size Bays W S G Cr F FC Hull RC Price % Police Pirates Traders MinTechLevel
new ShipSpec(ShipType.Flea, Size.Tiny, 10, 0, 0, 0, 1, 20, 1, 25, 1, 2000, 2, Activity.Na, Activity.Na, Activity.Absent, TechLevel.EarlyIndustrial),
new ShipSpec(ShipType.Gnat, Size.Small, 15, 1, 0, 1, 1, 14, 1, 100, 2, 10000, 28, Activity.Absent, Activity.Absent, Activity.Absent, TechLevel.Industrial),
new ShipSpec(ShipType.Firefly, Size.Small, 20, 1, 1, 1, 1, 17, 1, 100, 3, 25000, 20, Activity.Absent, Activity.Absent, Activity.Absent, TechLevel.Industrial),
new ShipSpec(ShipType.Mosquito, Size.Small, 15, 2, 1, 1, 1, 13, 1, 100, 5, 30000, 20, Activity.Absent, Activity.Minimal, Activity.Absent, TechLevel.Industrial),
new ShipSpec(ShipType.Bumblebee, Size.Medium, 25, 1, 2, 2, 2, 15, 1, 100, 7, 60000, 15, Activity.Minimal, Activity.Minimal, Activity.Absent, TechLevel.Industrial),
new ShipSpec(ShipType.Beetle, Size.Medium, 50, 0, 1, 1, 3, 14, 1, 50, 10, 80000, 3, Activity.Na, Activity.Na, Activity.Absent, TechLevel.Industrial),
new ShipSpec(ShipType.Hornet, Size.Large, 20, 3, 2, 1, 2, 16, 2, 150, 15, 100000, 6, Activity.Few, Activity.Some, Activity.Minimal, TechLevel.PostIndustrial),
new ShipSpec(ShipType.Grasshopper, Size.Large, 30, 2, 2, 3, 3, 15, 3, 150, 15, 150000, 2, Activity.Some, Activity.Moderate, Activity.Few, TechLevel.PostIndustrial),
new ShipSpec(ShipType.Termite, Size.Huge, 60, 1, 3, 2, 3, 13, 4, 200, 20, 225000, 2, Activity.Moderate, Activity.Many, Activity.Some, TechLevel.HiTech),
new ShipSpec(ShipType.Wasp, Size.Huge, 35, 3, 2, 2, 3, 14, 5, 200, 20, 300000, 2, Activity.Many, Activity.Abundant, Activity.Moderate, TechLevel.HiTech),
// The ships below can't be bought (mostly)
new ShipSpec(ShipType.SpaceMonster, Size.Huge, 0, 3, 0, 0, 1, 1, 1, 500, 1, 500000, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Dragonfly, Size.Small, 0, 2, 3, 2, 1, 1, 1, 10, 1, 500000, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Mantis, Size.Medium, 0, 3, 1, 3, 3, 1, 1, 300, 1, 500000, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Scarab, Size.Large, 20, 2, 0, 0, 2, 1, 1, 400, 1, 500000, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Bottle, Size.Small, 0, 0, 0, 0, 0, 1, 1, 10, 1, 100, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Custom, Size.Huge, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable),
new ShipSpec(ShipType.Scorpion, Size.Huge, 30, 2, 2, 2, 2, 1, 1, 300, 1, 500000, 0, Activity.Na, Activity.Na, Activity.Na, TechLevel.Unavailable)
};
#endregion
#region Shipyards
public static Shipyard[] Shipyards = new Shipyard[]
{
new Shipyard(ShipyardId.Corellian, Size.Large, ShipyardSkill.CrewQuarters),
new Shipyard(ShipyardId.Incom, Size.Medium, ShipyardSkill.ShieldSlotUnits),
new Shipyard(ShipyardId.Kuat, Size.Huge, ShipyardSkill.HullPerUnit),
new Shipyard(ShipyardId.Sienar, Size.Tiny, ShipyardSkill.WeaponSlotUnits),
new Shipyard(ShipyardId.Sorosuub, Size.Small, ShipyardSkill.FuelBase)
};
#endregion
#region SpecialCrewMemberIds
public static ArrayList SpecialCrewMemberIds = new ArrayList(new CrewMemberId[]
{
CrewMemberId.Commander,
CrewMemberId.Dragonfly,
CrewMemberId.FamousCaptain,
CrewMemberId.Jarek,
CrewMemberId.Opponent,
CrewMemberId.Princess,
CrewMemberId.Scarab,
CrewMemberId.Scorpion,
CrewMemberId.SpaceMonster,
CrewMemberId.Wild
});
#endregion
#region SpecialEvents
public static SpecialEvent[] SpecialEvents = new SpecialEvent[]
{
new SpecialEvent(SpecialEventType.Artifact, 0, 1, false),
new SpecialEvent(SpecialEventType.ArtifactDelivery, -20000, 0, true),
new SpecialEvent(SpecialEventType.CargoForSale, 1000, 3, false),
new SpecialEvent(SpecialEventType.Dragonfly, 0, 1, true),
new SpecialEvent(SpecialEventType.DragonflyBaratas, 0, 0, true),
new SpecialEvent(SpecialEventType.DragonflyDestroyed, 0, 0, true),
new SpecialEvent(SpecialEventType.DragonflyMelina, 0, 0, true),
new SpecialEvent(SpecialEventType.DragonflyRegulas, 0, 0, true),
new SpecialEvent(SpecialEventType.DragonflyShield, 0, 0, false),
new SpecialEvent(SpecialEventType.EraseRecord, 5000, 3, false),
new SpecialEvent(SpecialEventType.Experiment, 0, 0, true),
new SpecialEvent(SpecialEventType.ExperimentFailed, 0, 0, true),
new SpecialEvent(SpecialEventType.ExperimentStopped, 0, 0, true),
new SpecialEvent(SpecialEventType.Gemulon, 0, 0, true),
new SpecialEvent(SpecialEventType.GemulonFuel, 0, 0, false),
new SpecialEvent(SpecialEventType.GemulonInvaded, 0, 0, true),
new SpecialEvent(SpecialEventType.GemulonRescued, 0, 0, true),
new SpecialEvent(SpecialEventType.Japori, 0, 1, false),
new SpecialEvent(SpecialEventType.JaporiDelivery, 0, 0, true),
new SpecialEvent(SpecialEventType.Jarek, 0, 1, false),
new SpecialEvent(SpecialEventType.JarekGetsOut, 0, 0, true),
new SpecialEvent(SpecialEventType.Lottery, -1000, 0, true),
new SpecialEvent(SpecialEventType.Moon, 500000, 4, false),
new SpecialEvent(SpecialEventType.MoonRetirement, 0, 0, false),
new SpecialEvent(SpecialEventType.Reactor, 0, 0, false),
new SpecialEvent(SpecialEventType.ReactorDelivered, 0, 0, true),
new SpecialEvent(SpecialEventType.ReactorLaser, 0, 0, false),
new SpecialEvent(SpecialEventType.Scarab, 0, 1, true),
new SpecialEvent(SpecialEventType.ScarabDestroyed, 0, 0, true),
new SpecialEvent(SpecialEventType.ScarabUpgradeHull, 0, 0, false),
new SpecialEvent(SpecialEventType.Skill, 3000, 3, false),
new SpecialEvent(SpecialEventType.SpaceMonster, 0, 1, true),
new SpecialEvent(SpecialEventType.SpaceMonsterKilled, -15000, 0, true),
new SpecialEvent(SpecialEventType.Tribble, 1000, 1, false),
new SpecialEvent(SpecialEventType.TribbleBuyer, 0, 3, false),
new SpecialEvent(SpecialEventType.Wild, 0, 1, false),
new SpecialEvent(SpecialEventType.WildGetsOut, 0, 0, true),
new SpecialEvent(SpecialEventType.Sculpture, -2000, 0, false),
new SpecialEvent(SpecialEventType.SculptureDelivered, 0, 0, true),
new SpecialEvent(SpecialEventType.SculptureHiddenBays, 0, 0, false),
new SpecialEvent(SpecialEventType.Princess, 0, 0, true),
new SpecialEvent(SpecialEventType.PrincessCentauri, 0, 0, true),
new SpecialEvent(SpecialEventType.PrincessInthara, 0, 0, true),
new SpecialEvent(SpecialEventType.PrincessQonos, 0, 0, false),
new SpecialEvent(SpecialEventType.PrincessQuantum, 0, 0, false),
new SpecialEvent(SpecialEventType.PrincessReturned, 0, 0, true)
};
#endregion
#region TradeItems
public static TradeItem[] TradeItems = new TradeItem[]
{
new TradeItem(TradeItemType.Water, TechLevel.PreAgricultural, TechLevel.PreAgricultural, TechLevel.Medieval, 30, 3, 4, SystemPressure.Drought, SpecialResource.SweetOceans, SpecialResource.Desert, 30, 50, 1),
new TradeItem(TradeItemType.Furs, TechLevel.PreAgricultural, TechLevel.PreAgricultural, TechLevel.PreAgricultural, 250, 10, 10, SystemPressure.Cold, SpecialResource.RichFauna, SpecialResource.Lifeless, 230, 280, 5),
new TradeItem(TradeItemType.Food, TechLevel.Agricultural, TechLevel.PreAgricultural, TechLevel.Agricultural, 100, 5, 5, SystemPressure.CropFailure, SpecialResource.RichSoil, SpecialResource.PoorSoil, 90, 160, 5),
new TradeItem(TradeItemType.Ore, TechLevel.Medieval, TechLevel.Medieval, TechLevel.Renaissance, 350, 20, 10, SystemPressure.War, SpecialResource.MineralRich, SpecialResource.MineralPoor, 350, 420, 10),
new TradeItem(TradeItemType.Games, TechLevel.Renaissance, TechLevel.Agricultural, TechLevel.PostIndustrial, 250, -10, 5, SystemPressure.Boredom, SpecialResource.Artistic, SpecialResource.Na, 160, 270, 5),
new TradeItem(TradeItemType.Firearms, TechLevel.Renaissance, TechLevel.Agricultural, TechLevel.Industrial, 1250, -75, 100, SystemPressure.War, SpecialResource.Warlike, SpecialResource.Na, 600, 1100, 25),
new TradeItem(TradeItemType.Medicine, TechLevel.EarlyIndustrial, TechLevel.Agricultural, TechLevel.PostIndustrial, 650, -20, 10, SystemPressure.Plague, SpecialResource.SpecialHerbs, SpecialResource.Na, 400, 700, 25),
new TradeItem(TradeItemType.Machines, TechLevel.EarlyIndustrial, TechLevel.Renaissance, TechLevel.Industrial, 900, -30, 5, SystemPressure.Employment, SpecialResource.Na, SpecialResource.Na, 600, 800, 25),
new TradeItem(TradeItemType.Narcotics, TechLevel.Industrial, TechLevel.PreAgricultural, TechLevel.Industrial, 3500, -125, 150, SystemPressure.Boredom, SpecialResource.WeirdMushrooms, SpecialResource.Na, 2000, 3000, 50),
new TradeItem(TradeItemType.Robots, TechLevel.PostIndustrial, TechLevel.EarlyIndustrial, TechLevel.HiTech, 5000, -150, 100, SystemPressure.Employment, SpecialResource.Na, SpecialResource.Na, 3500, 5000, 100)
};
#endregion
#region Weapons
public static Weapon[] Weapons = new Weapon[]
{
new Weapon(WeaponType.PulseLaser, 15, false, 2000, TechLevel.Industrial, 50),
new Weapon(WeaponType.BeamLaser, 25, false, 12500, TechLevel.PostIndustrial, 35),
new Weapon(WeaponType.MilitaryLaser, 35, false, 35000, TechLevel.HiTech, 15),
new Weapon(WeaponType.MorgansLaser, 85, false, 50000, TechLevel.Unavailable, 0),
new Weapon(WeaponType.PhotonDisruptor, 20, true, 15000, TechLevel.PostIndustrial, 0),
new Weapon(WeaponType.QuantumDistruptor, 60, true, 50000, TechLevel.Unavailable, 0)
};
#endregion
#region EquipmentForSale (This comes at the end because it depends on other Constant Arrays)
public static Equipment[] EquipmentForSale = new Equipment[]
{
Weapons[(int)WeaponType.PulseLaser],
Weapons[(int)WeaponType.BeamLaser],
Weapons[(int)WeaponType.MilitaryLaser],
Weapons[(int)WeaponType.PhotonDisruptor],
Shields[(int)ShieldType.Energy],
Shields[(int)ShieldType.Reflective],
Gadgets[(int)GadgetType.ExtraCargoBays],
Gadgets[(int)GadgetType.AutoRepairSystem],
Gadgets[(int)GadgetType.NavigatingSystem],
Gadgets[(int)GadgetType.TargetingSystem],
Gadgets[(int)GadgetType.CloakingDevice]
};
#endregion
#endregion
}
}