As follow-up of this idea http://forum.paradoxplaza.com/forum/showpost.php?p=5746521&postcount=6
provinceimprovements.txt modified as follow (for now no matter the lasting effects but only if may works and what other files should be modified)
I think other modifications may be needed for compatibility:
Graphics of the 4th and 5th level castle (GFX folder files)
Advances.txt ????
advances_spread.txt ?????
advances_discovery.txt ????
other events related with castles ??????
provinceimprovements.txt modified as follow (for now no matter the lasting effects but only if may works and what other files should be modified)
I think other modifications may be needed for compatibility:
Graphics of the 4th and 5th level castle (GFX folder files)
Advances.txt ????
advances_spread.txt ?????
advances_discovery.txt ????
other events related with castles ??????
Code:
.....
medium_castle = #this will be the maximus castle type
{
cost = { gold = 1500 prestige = 6 piety = 1 }
construction_time = 60
required_province_improvements = { small_castle = yes }
required_advances = { medium_castle = yes }
# upgradeable = yes #removed by Tprovic for Civil Villages mod
onetime_bonus = { prestige = 50 }
lasting_effects =
{
supportable = 2000 #from 1000
periodic_loyalty = { nobles = 0.002 }
speed = 1.05
# percentage_score = { gold = 0.97 }
periodic_score = { gold = -1 }
pillage_score = { gold = 1 }
}
additional_return_on_investment = 0.04
}
#medieval village
large_castle = #this will be the first civil village type
{
cost = { gold = 3000 prestige = 5 piety = 5 }
construction_time = 84
# required_province_improvements = { medium_castle = yes } #removed by Tprovic for
Civil Villages mod
required_advances = { large_castle = yes }
minimum_income = 5
upgradeable = yes
onetime_bonus = { prestige = 75 }
lasting_effects =
{
supportable = 3000
periodic_loyalty = { nobles = 0.002 }
# percentage_score = { gold = 0.97 }
periodic_score = { gold = -1 }
pillage_score = { gold = 1 }
}
additional_return_on_investment = 0.04
march = no #medieval villages unlikely in these lands
desert = no
}
#medieval city
huge_castle =
{
cost = { gold = 5000 prestige = 50 piety = 5 }
construction_time = 120
required_province_improvements = { large_castle = yes }
required_advances = { huge_castle = yes }
minimum_income = 10
onetime_bonus = { prestige = 150 }
lasting_effects =
{
supportable = 10000
periodic_loyalty = { nobles = 0.003 }
# percentage_score = { gold = 0.95 }
periodic_score = { gold = -3 }
periodic_score = { prestige = 1 }
pillage_score = { gold = 1 }
}
mountain = no #medieval cities unlikely in these lands
march = no
desert = no
additional_return_on_investment = 0.06
}
.......