Post by caeserion on Nov 17, 2019 20:06:25 GMT
So I went in and looked at my code for custom buildings and the only difference I can see is the additional commas at the end of the localisation line.
So here's my code for the building it self:
ca_step_stones_lesser = {
desc = ca_step_stones_lesser_desc
potential = {
FROMFROM = {
OR = {
title = b_greygallows
title = b_darkden
title = b_theskulls
title = b_torturersdeep
title = b_lastrefuge
title = b_wreckstone
title = b_shameisle
title = b_sunstone
}
}
}
trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
extra_tech_building_start = 10.0
gold_cost = 10000
build_time = 1825
fort_level = 1.0
tax_income = 1.5
archers = 1500
light_infantry = 800
heavy_infantry = -1000
light_cavalry = 300
knights = -600
add_number_to_name = no
ai_creation_factor = 110
}
Here's my code for the localisation string:
ca_step_stones;Stepstones;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_step_stones_desc;The Stepstones occupy a unique position at the center of trade between Westeros and other parts of the known world. As such whoever controls the Stepstones can grow rich despite the isles themselves being poor.;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_step_stones_lesser;Stepstones;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_step_stones_lesser_desc;The Stepstones occupy a unique position at the center of trade between Westeros and other parts of the known world. As such whoever controls the Stepstones can grow rich despite the isles themselves being poor.;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_casta_mere;Castamere;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_casta_mere_desc;The ancient seat of House Reyne, Castamere was once a mine as lucrative as Casterly Rock, allowing House Reyne to grow rich and powerful. It has since been hollowed out and expanded such that nine-tenths of the castle is subterranean, posing a challenge to any would-be attackers.;;;;;;;;;;;;;x",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_dread_fort;The Dreadfort;;;;;;;;;;;;;x,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ca_dread_fort_desc;The ancient seat of House Bolton and one of the strongest fortresses of the North, it boasts high walls, massive towers, and triangular merlons that look like teeth.;;;;;;;;;;;;;x",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,