File size: 12,985 Bytes
89dc309 |
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 |
"""
تعریف فناوریهای بازی
"""
TECHNOLOGIES = {
# فناوریهای نظامی
"military_1": {
"name": "سلاحهای گرم",
"description": "استفاده از باروت و سلاحهای گرم در جنگ",
"base_cost": 5000,
"tech_level_req": 1,
"prerequisites": [],
"effects": {
"military": 10,
"economy": {"industry": 5}
},
"category": "military"
},
"military_2": {
"name": "تکتیکهای جنگی پیشرفته",
"description": "استفاده از تاکتیکهای پیچیده در جنگ",
"base_cost": 8000,
"tech_level_req": 2,
"prerequisites": ["military_1"],
"effects": {
"military": 15,
"economy": {"trade": 5}
},
"category": "military"
},
"military_3": {
"name": "ساخت کشتیهای جنگی",
"description": "ساخت کشتیهای جنگی پیشرفته برای نیروی دریایی",
"base_cost": 10000,
"tech_level_req": 3,
"prerequisites": ["military_1"],
"effects": {
"military": {"navy": 20},
"economy": {"trade": 10}
},
"category": "military"
},
"military_4": {
"name": "ساختارهای دفاعی پیشرفته",
"description": "ساخت ساختارهای دفاعی پیشرفته برای محافظت از شهرها",
"base_cost": 12000,
"tech_level_req": 4,
"prerequisites": ["military_2"],
"effects": {
"military": {"defense": 25},
"economy": {"industry": 10}
},
"category": "military"
},
"military_5": {
"name": "ارتش حرفهای",
"description": "تشکیل ارتش حرفهای به جای نیروهای سربازی",
"base_cost": 15000,
"tech_level_req": 5,
"prerequisites": ["military_2", "military_4"],
"effects": {
"military": 30,
"economy": {"industry": 15, "trade": -5}
},
"category": "military"
},
# فناوریهای کشاورزی
"agriculture_1": {
"name": "کشاورزی پیشرفته",
"description": "استفاده از روشهای پیشرفته کشاورزی برای افزایش تولید",
"base_cost": 4000,
"tech_level_req": 1,
"prerequisites": [],
"effects": {
"economy": {"agriculture": 15},
"population": 5
},
"category": "agriculture"
},
"agriculture_2": {
"name": "آبیاری پیشرفته",
"description": "سیستمهای آبیاری پیشرفته برای کشاورزی",
"base_cost": 6000,
"tech_level_req": 2,
"prerequisites": ["agriculture_1"],
"effects": {
"economy": {"agriculture": 20},
"environment": {"water_usage": 10}
},
"category": "agriculture"
},
"agriculture_3": {
"name": "کشاورزی صنعتی",
"description": "استفاده از ماشینآلات در کشاورزی",
"base_cost": 9000,
"tech_level_req": 3,
"prerequisites": ["agriculture_2"],
"effects": {
"economy": {"agriculture": 25, "industry": 10},
"environment": {"pollution": 15}
},
"category": "agriculture"
},
"agriculture_4": {
"name": "ژنتیک گیاهان",
"description": "استفاده از ژنتیک برای بهبود محصولات کشاورزی",
"base_cost": 12000,
"tech_level_req": 4,
"prerequisites": ["agriculture_3"],
"effects": {
"economy": {"agriculture": 30},
"technology": {"agriculture": 5}
},
"category": "agriculture"
},
# فناوریهای تجارت
"trade_1": {
"name": "شبکههای تجاری",
"description": "ایجاد شبکههای تجاری برای گسترش تجارت",
"base_cost": 5000,
"tech_level_req": 1,
"prerequisites": [],
"effects": {
"economy": {"trade": 15},
"diplomacy_points": 5
},
"category": "trade"
},
"trade_2": {
"name": "ناوگان تجاری",
"description": "ساخت ناوگان تجاری برای گسترش تجارت دریایی",
"base_cost": 8000,
"tech_level_req": 2,
"prerequisites": ["trade_1"],
"effects": {
"economy": {"trade": 20},
"military": {"navy": 10}
},
"category": "trade"
},
"trade_3": {
"name": "بیمه تجاری",
"description": "سیستم بیمه برای کاهش ریسکهای تجاری",
"base_cost": 10000,
"tech_level_req": 3,
"prerequisites": ["trade_1", "trade_2"],
"effects": {
"economy": {"trade": 25, "industry": 5},
"gold": 2000 # درآمد سالانه
},
"category": "trade"
},
"trade_4": {
"name": "بازارهای جهانی",
"description": "عضویت در بازارهای جهانی برای گسترش تجارت",
"base_cost": 15000,
"tech_level_req": 4,
"prerequisites": ["trade_3"],
"effects": {
"economy": {"trade": 30},
"relations": {"+": 10}
},
"category": "trade"
},
# فناوریهای صنعتی
"industry_1": {
"name": "صنعت پیشرفته",
"description": "استفاده از روشهای پیشرفته در صنعت",
"base_cost": 6000,
"tech_level_req": 2,
"prerequisites": [],
"effects": {
"economy": {"industry": 15},
"environment": {"pollution": 10}
},
"category": "industry"
},
"industry_2": {
"name": "انقلاب صنعتی",
"description": "شروع انقلاب صنعتی و استفاده از ماشینآلات",
"base_cost": 10000,
"tech_level_req": 3,
"prerequisites": ["industry_1"],
"effects": {
"economy": {"industry": 25, "trade": 10},
"environment": {"pollution": 20}
},
"category": "industry"
},
"industry_3": {
"name": "تولید انبوه",
"description": "تولید انبوه کالاها با استفاده از خط تولید",
"base_cost": 14000,
"tech_level_req": 4,
"prerequisites": ["industry_2"],
"effects": {
"economy": {"industry": 35, "trade": 15},
"environment": {"pollution": 30}
},
"category": "industry"
},
"industry_4": {
"name": "فناوریهای پاک",
"description": "استفاده از فناوریهای پاک برای کاهش آلایندگی",
"base_cost": 18000,
"tech_level_req": 5,
"prerequisites": ["industry_3"],
"effects": {
"economy": {"industry": 25, "trade": 10},
"environment": {"pollution": -20}
},
"category": "industry"
},
# فناوریهای پزشکی
"medicine_1": {
"name": "پزشکی مدرن",
"description": "استفاده از روشهای مدرن در پزشکی",
"base_cost": 5000,
"tech_level_req": 2,
"prerequisites": [],
"effects": {
"health_index": 15,
"population": 10
},
"category": "medicine"
},
"medicine_2": {
"name": "واکسیناسیون",
"description": "سیستم واکسیناسیون برای پیشگیری از بیماریها",
"base_cost": 8000,
"tech_level_req": 3,
"prerequisites": ["medicine_1"],
"effects": {
"health_index": 25,
"population": 15
},
"category": "medicine"
},
"medicine_3": {
"name": "پزشکی پیشرفته",
"description": "استفاده از فناوریهای پیشرفته در پزشکی",
"base_cost": 12000,
"tech_level_req": 4,
"prerequisites": ["medicine_2"],
"effects": {
"health_index": 35,
"population": 20,
"happiness": 10
},
"category": "medicine"
},
# فناوریهای آموزشی
"education_1": {
"name": "سیستم آموزشی",
"description": "ایجاد سیستم آموزشی برای افزایش سواد",
"base_cost": 4000,
"tech_level_req": 1,
"prerequisites": [],
"effects": {
"literacy_rate": 15,
"happiness": 5
},
"category": "education"
},
"education_2": {
"name": "دانشگاهها",
"description": "تاسیس دانشگاهها برای پژوهش و آموزش عالی",
"base_cost": 7000,
"tech_level_req": 2,
"prerequisites": ["education_1"],
"effects": {
"literacy_rate": 25,
"happiness": 10,
"technology": {"education": 5}
},
"category": "education"
},
"education_3": {
"name": "آموزش حرفهای",
"description": "سیستم آموزش حرفهای برای نیروی کار ماهر",
"base_cost": 10000,
"tech_level_req": 3,
"prerequisites": ["education_2"],
"effects": {
"literacy_rate": 35,
"economy": {"industry": 10, "trade": 5}
},
"category": "education"
},
# فناوریهای محیط زیست
"environment_1": {
"name": "مدیریت پسماند",
"description": "سیستم مدیریت پسماند برای کاهش آلودگی",
"base_cost": 6000,
"tech_level_req": 2,
"prerequisites": [],
"effects": {
"environment": {"pollution": -10},
"happiness": 5
},
"category": "environment"
},
"environment_2": {
"name": "انرژیهای تجدیدپذیر",
"description": "استفاده از انرژیهای تجدیدپذیر مانند خورشیدی و بادی",
"base_cost": 10000,
"tech_level_req": 3,
"prerequisites": ["environment_1"],
"effects": {
"environment": {"pollution": -20, "renewable_energy": 30},
"economy": {"industry": 5}
},
"category": "environment"
},
"environment_3": {
"name": "حفاظت از محیط زیست",
"description": "برنامههای جامع برای حفاظت از محیط زیست",
"base_cost": 15000,
"tech_level_req": 4,
"prerequisites": ["environment_2"],
"effects": {
"environment": {"pollution": -30, "deforestation": -20},
"happiness": 15
},
"category": "environment"
},
# فناوریهای ارتباطی
"communication_1": {
"name": "سیستم پست",
"description": "ایجاد سیستم پست برای ارتباطات سریعتر",
"base_cost": 3000,
"tech_level_req": 1,
"prerequisites": [],
"effects": {
"diplomacy_points": 5,
"economy": {"trade": 5}
},
"category": "communication"
},
"communication_2": {
"name": "تلگراف",
"description": "استفاده از تلگراف برای ارتباطات فوری",
"base_cost": 7000,
"tech_level_req": 2,
"prerequisites": ["communication_1"],
"effects": {
"diplomacy_points": 10,
"economy": {"trade": 10},
"military": {"communication": 15}
},
"category": "communication"
},
"communication_3": {
"name": "اینترنت",
"description": "دسترسی به اینترنت برای ارتباطات جهانی",
"base_cost": 20000,
"tech_level_req": 5,
"prerequisites": ["communication_2"],
"effects": {
"diplomacy_points": 20,
"economy": {"trade": 20, "industry": 15},
"culture_score": 15
},
"category": "communication"
}
} |