Ay captain!
Data/world/maps/campaign/imperial campaign/descr_regions.txt
Search for Sparta.
Code:
Laconia
Sparta
greek_cities
Helots
244 13 24
copper, iron, sparta, slaves
5
6
The bold part is an example of a hidden resource. You can name them anything you want if you wish. Sparta makes more sense though.
Later in Export_descr_buildings.txt
This is from the top.
Code:
;This file is generated from a spreadsheet
;Please do not modify by hand
hidden_resources sparta
building core_building
{
levels governors_house governors_villa governors_palace proconsuls_palace imperial_palace
{
governors_house requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
Add sparta there too.
And after the unit you want to be recurited only in sparta. I show example here too.
Code:
imperial_palace requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability recruit "greek hoplite spartan" 0 requires factions { greek_cities, } and hidden_resource sparta
Hope it helps.
Don't forget to delete map.rwm, otherwise the changes will not work in campaign.
It's found in Data/world/maps/campaign/imperial campaign