Files
Grinch-AP/worlds/civ_6/data/new_tech.py

469 lines
10 KiB
Python
Raw Normal View History

New Game Implementation: Civilization VI (#3736) * Init * remove submodule * Init * Update docs * Fix tests * Update to use apcivvi * Update Readme and codeowners * Minor changes * Remove .value from options (except starting hint) * Minor updates * remove unnecessary property * Cleanup Rules and Region * Fix output file generation * Implement feedback * Remove 'AP' tag and fix issue with format strings and using same quotes * Update worlds/civ_6/__init__.py Co-authored-by: Scipio Wright <scipiowright@gmail.com> * Minor docs changes * minor updates * Small rework of create items * Minor updates * Remove unused variable * Move client to Launcher Components with rest of similar clients * Revert "Move client to Launcher Components with rest of similar clients" This reverts commit f9fd5df9fdf19eaf4f1de54e21e3c33a74f02364. * modify component * Fix generation issues * Fix tests * Minor change * Add improvement and test case * Minor options changes * . * Preliminary Review * Fix failing test due to slot data serialization * Format json * Remove exclude missable boosts * Update options (update goody hut text, make research multiplier a range) * Update docs punctuation and slot data init * Move priority/excluded locations into options * Implement docs PR feedback * PR Feedback for options * PR feedback misc * Update location classification and fix client type * Fix typings * Update research cost multiplier * Remove unnecessary location priority code * Remove extrenous use of items() * WIP PR Feedback * WIP PR Feedback * Add victory event * Add option set for death link effect * PR improvements * Update post fill hint to support items with multiple classifications * remove unnecessary len * Move location exclusion logic * Update test to use set instead of accidental dict * Update docs around progressive eras and boost locations * Update docs for options to be more readable * Fix issue with filler items and prehints * Update filler_data to be static * Update links in docs * Minor updates and PR feedback * Update boosts data * Update era required items * Update existing techs * Update existing techs * move boost data class * Update reward data * Update prereq data * Update new items and progressive districts * Remove unused code * Make filler item name func more efficient * Update death link text * Move Civ6 to the end of readme * Fix bug with hidden locations and location.name * Partial PR Feedback Implementation * Format changes * Minor review feedback * Modify access rules to use list created in generate_early * Modify boost rules to precalculate requirements * Remove option checks from access rules * Fix issue with pre initialized dicts * Add inno setup for civ6 client * Update inno_setup.iss --------- Co-authored-by: Scipio Wright <scipiowright@gmail.com> Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Co-authored-by: Exempt-Medic <ExemptMedic@Gmail.com> Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
2025-03-10 07:53:26 -06:00
from typing import List
from ..ItemData import NewItemData
new_tech: List[NewItemData] = [
{
"Type": "TECH_AP_ANCIENT_00",
"Cost": 25,
"UITreeRow": 0,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_01",
"Cost": 25,
"UITreeRow": 1,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_02",
"Cost": 25,
"UITreeRow": 3,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_03",
"Cost": 50,
"UITreeRow": -3,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_04",
"Cost": 50,
"UITreeRow": -2,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_05",
"Cost": 50,
"UITreeRow": -1,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_06",
"Cost": 50,
"UITreeRow": 1,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_07",
"Cost": 50,
"UITreeRow": 0,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_08",
"Cost": 80,
"UITreeRow": 2,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_09",
"Cost": 80,
"UITreeRow": 3,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_ANCIENT_10",
"Cost": 80,
"UITreeRow": 4,
"EraType": "ERA_ANCIENT",
},
{
"Type": "TECH_AP_CLASSICAL_11",
"Cost": 120,
"UITreeRow": -2,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_12",
"Cost": 120,
"UITreeRow": 0,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_13",
"Cost": 120,
"UITreeRow": 1,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_14",
"Cost": 120,
"UITreeRow": 3,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_15",
"Cost": 200,
"UITreeRow": -3,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_16",
"Cost": 200,
"UITreeRow": -1,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_17",
"Cost": 200,
"UITreeRow": 2,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_CLASSICAL_18",
"Cost": 200,
"UITreeRow": 4,
"EraType": "ERA_CLASSICAL",
},
{
"Type": "TECH_AP_MEDIEVAL_19",
"Cost": 300,
"UITreeRow": -2,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_20",
"Cost": 300,
"UITreeRow": 0,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_21",
"Cost": 300,
"UITreeRow": 4,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_22",
"Cost": 390,
"UITreeRow": -1,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_23",
"Cost": 390,
"UITreeRow": 1,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_24",
"Cost": 390,
"UITreeRow": 2,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MEDIEVAL_25",
"Cost": 390,
"UITreeRow": 3,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_RENAISSANCE_26",
"Cost": 600,
"UITreeRow": -3,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_27",
"Cost": 600,
"UITreeRow": -2,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_28",
"Cost": 600,
"UITreeRow": 0,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_29",
"Cost": 600,
"UITreeRow": 1,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_30",
"Cost": 600,
"UITreeRow": 4,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_31",
"Cost": 730,
"UITreeRow": -3,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_32",
"Cost": 730,
"UITreeRow": -1,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_33",
"Cost": 730,
"UITreeRow": 1,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_RENAISSANCE_34",
"Cost": 730,
"UITreeRow": 3,
"EraType": "ERA_RENAISSANCE",
},
{
"Type": "TECH_AP_INDUSTRIAL_35",
"Cost": 930,
"UITreeRow": -2,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_36",
"Cost": 930,
"UITreeRow": -1,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_37",
"Cost": 930,
"UITreeRow": 1,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_38",
"Cost": 930,
"UITreeRow": 3,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_39",
"Cost": 1070,
"UITreeRow": -3,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_40",
"Cost": 1070,
"UITreeRow": -1,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_41",
"Cost": 1070,
"UITreeRow": 0,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_INDUSTRIAL_42",
"Cost": 1070,
"UITreeRow": 2,
"EraType": "ERA_INDUSTRIAL",
},
{
"Type": "TECH_AP_MODERN_43",
"Cost": 1250,
"UITreeRow": -2,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_44",
"Cost": 1250,
"UITreeRow": 0,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_45",
"Cost": 1250,
"UITreeRow": 1,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_46",
"Cost": 1370,
"UITreeRow": -3,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_47",
"Cost": 1370,
"UITreeRow": -2,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_48",
"Cost": 1370,
"UITreeRow": -1,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_MODERN_49",
"Cost": 1370,
"UITreeRow": 2,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_ATOMIC_50",
"Cost": 1480,
"UITreeRow": -2,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_51",
"Cost": 1480,
"UITreeRow": -1,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_52",
"Cost": 1480,
"UITreeRow": 0,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_53",
"Cost": 1480,
"UITreeRow": 1,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_54",
"Cost": 1480,
"UITreeRow": 2,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_55",
"Cost": 1660,
"UITreeRow": -3,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_56",
"Cost": 1660,
"UITreeRow": 1,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_ATOMIC_57",
"Cost": 1660,
"UITreeRow": 2,
"EraType": "ERA_ATOMIC",
},
{
"Type": "TECH_AP_INFORMATION_58",
"Cost": 1850,
"UITreeRow": -3,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_59",
"Cost": 1850,
"UITreeRow": -1,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_60",
"Cost": 1850,
"UITreeRow": 0,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_61",
"Cost": 1850,
"UITreeRow": 1,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_62",
"Cost": 1850,
"UITreeRow": 2,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_63",
"Cost": 1850,
"UITreeRow": 3,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_64",
"Cost": 2155,
"UITreeRow": -2,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_65",
"Cost": 2155,
"UITreeRow": 2,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_INFORMATION_66",
"Cost": 2155,
"UITreeRow": 1,
"EraType": "ERA_INFORMATION",
},
{
"Type": "TECH_AP_MEDIEVAL_67",
"Cost": 300,
"UITreeRow": -3,
"EraType": "ERA_MEDIEVAL",
},
{
"Type": "TECH_AP_MODERN_68",
"Cost": 1250,
"UITreeRow": 3,
"EraType": "ERA_MODERN",
},
{
"Type": "TECH_AP_FUTURE_69",
"Cost": 2200,
"UITreeRow": -3,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_70",
"Cost": 2200,
"UITreeRow": -2,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_71",
"Cost": 2200,
"UITreeRow": -1,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_72",
"Cost": 2200,
"UITreeRow": 0,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_73",
"Cost": 2200,
"UITreeRow": 1,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_74",
"Cost": 2200,
"UITreeRow": 2,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_75",
"Cost": 2500,
"UITreeRow": 0,
"EraType": "ERA_FUTURE",
},
{
"Type": "TECH_AP_FUTURE_76",
"Cost": 2600,
"UITreeRow": 0,
"EraType": "ERA_FUTURE",
},
]