| """
|
| تعریف فناوریهای بازی
|
| """
|
|
|
| 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"
|
| }
|
| } |