Map search default target change?

Discussion in 'Civ6 - Requests & Ideas' started by Battered, Sep 9, 2020.

  1. Battered

    Battered Chieftain

    Joined:
    Sep 9, 2020
    Messages:
    3
    Gender:
    Male
    Hi folks! When you bring up the map search, there are four targets in a menu: Antiquity Site, Tribal Village, Luxury Resource and Strategic Resource. Overlooking the fact that having antiquity sites be a default strikes me as bonkers, I'd like to change those to things I actually do search for often: Floodplain, Hill, etc.

    I can't find this in an .xml, nor have forum searches returned anything useful. Anyone know if these terms are changeable and if so, where they're stored?

    Thanks!
     
  2. FearSunn

    FearSunn Warlord

    Joined:
    Dec 10, 2017
    Messages:
    277
    Gender:
    Male
    MapSearchPanel.lua
    lines 1264-1267:
    table.insert(m_SearchHistory, Locale.Lookup("LOC_TOOLTIP_STRATEGIC_RESOURCE"));
    table.insert(m_SearchHistory, Locale.Lookup("LOC_TOOLTIP_LUXURY_RESOURCE"));
    table.insert(m_SearchHistory, Locale.Lookup("LOC_IMPROVEMENT_GOODY_HUT_NAME"));
    table.insert(m_SearchHistory, Locale.Lookup("LOC_RESOURCE_ANTIQUITY_SITE_NAME"));
     
    Battered likes this.
  3. Battered

    Battered Chieftain

    Joined:
    Sep 9, 2020
    Messages:
    3
    Gender:
    Male
    Thanks!
     

Share This Page