1 from constants import TEST_SPEEDUP
2 import objects
25
33 buildTime = 20 / TEST_SPEEDUP
34 level = 1
35 uid = 2
36
37 @classmethod
39 player.unitActionLists["SoftwareUpdater"].remove("RPortScanner")
40
41 @classmethod
43 player.unitActionLists["SoftwareUpdater"].append("RPortScanner")
44
45 @classmethod
51
54 buildTime = 20 / TEST_SPEEDUP
55 level = 1
56 uid = 3
57
58 @classmethod
60 player.unitActionLists["SoftwareUpdater"].remove("RPingResearch")
61
62 @classmethod
64 player.unitActionLists["SoftwareUpdater"].append("RPingResearch")
65
66 @classmethod
68 Research.on_completion(player)
69 player.unitActionLists["Ping"].append("UPingOfDeath")
70 player.unitActionLists["AlgorithmFactory"].append("TBufferOverflow")
71 player.unitActionLists["SoftwareUpdater"].append("RNetworkTopology")
72 player.unitActionLists["SoftwareUpdater"].append("RFPGA")
73
74 -class FPGA(Research):
75 buildTime = 25 / TEST_SPEEDUP
76 level = 1
77
78 @classmethod
80 player.unitActionLists["SoftwareUpdater"].remove("RFPGA")
81
82 @classmethod
84 player.unitActionLists["SoftwareUpdater"].append("RFPGA")
85
86 @classmethod
92
95 buildTime = 25 / TEST_SPEEDUP
96 level = 1
97
98 @classmethod
100 player.unitActionLists["SoftwareUpdater"].remove("RBigData")
101
102 @classmethod
104 player.unitActionLists["SoftwareUpdater"].append("RBigData")
105
106 @classmethod
108 Research.on_completion(player)
109 player.unitActionLists["APTGet"].append("BDatabase")
110 player.unitActionLists["AlgorithmFactory"].append("TSQLInjection")
111 player.unitActionLists["SoftwareUpdater"].append("RHandshake")
112 player.unitActionLists["SoftwareUpdater"].append("RRSA")
113
128
148
151 buildTime = 30 / TEST_SPEEDUP
152 level = 3
153 dependencies = 385
154 uid = 13
155
156 @classmethod
158 player.unitActionLists["SoftwareUpdater"].remove("RAdvancedAlgorithms")
159
160 @classmethod
162 player.unitActionLists["SoftwareUpdater"].append("RAdvancedAlgorithms")
163
164 @classmethod
169
189
190
191
192 -class RSA(Research):
210
211
212 -class EMP(Research):
225
226
227 '''RESEARCH_OPTIONS'''
228
229 RESEARCH = {
230 "RPortScanner": PortScanner, "RPingResearch": PingResearch,
231 "RFPGA": FPGA, "RPandD": ParallelDistributed, "RBigData" : BigData, "RHandshake": Handshake,
232 "RAdvancedAlgorithms": AdvancedAlgorithm, "RNetworkTopology": NetworkTopology, "RRSA": RSA,
233 "REMP": EMP
234 }
235