Hi people!
I'm trying to make two ways of territory colonisation types: colonisation and allied territory. I've made 2 buildings (hinterland, to make them undestroyable), to represent these 2 mutually exclusive ways. I also have made the test pictures.
And now I can build these buildings with having-greek-culture-type factions. Everything seems to be OK and the game reads the pictures correctly:
But when I insert colonisation building in descr_strat file into cities which factions have from the very outset of the campaign I have this problem:
I don't understand why the game thinks the building is roman and why it doesn't read correct pictures in this case.
I need your help.
Here is the code:
Data/export_descr_building.txt:
Code:
building hinterland_hellenisation_building
{
levels hellenisation_1
{
hellenisation_1 requires factions { greek, } and not building_present_min_level hinterland_allied_territory_building allied_territory_1
{
capability
{
}
construction 1
cost 0
settlement_min village
upgrades
{
}
}
}
plugins
{
}
}
building hinterland_allied_territory_building
{
levels allied_territory_1
{
allied_territory_1 requires factions { greek, } and not building_present_min_level hinterland_hellenisation_building hellenisation_1
{
capability
{
}
construction 1
cost 0
settlement_min village
upgrades
{
}
}
}
plugins
{
}
}
Data/text/export_buildings.txt:
Code:
{hinterland_hellenisation_1} Hellenisation
{hellenisation_1_desc} WARNING! This baseline description should never appear on screen!
{hellenisation_1_desc_short} WARNING! This baseline description should never appear on screen!
{hellenisation_1_greek} Hellenisation
{hellenisation_1_greek_desc} You cannot build Allied Auxillia buildings but only your own Auxillia ones!
{hellenisation_1_greek_desc_short} Hellenisation
{allied_territory_1} Allied Territory
{allied_territory_1_desc} WARNING! This baseline description should never appear on screen!
{allied_territory_1_desc_short} WARNING! This baseline description should never appear on screen!
{allied_territory_1_greek} Allied Territory
{allied_territory_1_greek_desc} You cannot build your own Auxillia buildings only Allied ones!
{allied_territory_1_desc_greek_short} Allied Territory
Data/world/maps/campaign/imperial_campaign/descr_strat.txt:(in the end of buildings section of laconia region)
Code:
building
{
type hinterland_hellenisation_building hellenisation_1
}