Project

General

Profile

Bug #154 ยป 0039-Tutorial-Correct-timing-of-final-city-size-message.patch

Marko Lindqvist, 02/04/2024 10:25 AM

View differences:

data/scenarios/tutorial.sav
notify.event(city.owner, city.tile, E.SCRIPT,
_("You have grown %s to size 16. To grow\nit larger, however, you will need to build a Sewer System. This\nrequires the Sanitation technology."), city:link_text())
growth16msg = true
elseif size == 13 and not growth13msg then
elseif size == 17 and not growth17msg then
notify.event(city.owner, city.tile, E.SCRIPT,
_("Congratulations, you have grown %s to size 13. A city this\nlarge can provide a tremendous amount of output if properly upgraded.\nMake sure you have enough taxes and cultural buildings to keep your\ncitizens content. You should also make sure the city is upgraded\nwith buildings that provide bonuses to its output. Library, Marketplace,\nFactory, and Offshore Platform are four good buildings that provide a\nlarge bonus to big cities. Consider how much benefit each building\nwill provide and weigh this against its cost - for very large cities\nalmost all buildings are worthwhile. Such large cities will also\nprovide enough taxable revenue (gold) to allow you to purchase some\nbuildings to accelerate their productions."), city:link_text())
growth13msg = true
_("Congratulations, you have grown %s to size 17. A city this\nlarge can provide a tremendous amount of output if properly upgraded.\nMake sure you have enough taxes and cultural buildings to keep your\ncitizens content. You should also make sure the city is upgraded\nwith buildings that provide bonuses to its output. Library, Marketplace,\nFactory, and Offshore Platform are four good buildings that provide a\nlarge bonus to big cities. Consider how much benefit each building\nwill provide and weigh this against its cost - for very large cities\nalmost all buildings are worthwhile. Such large cities will also\nprovide enough taxable revenue (gold) to allow you to purchase some\nbuildings to accelerate their productions."), city:link_text())
growth17msg = true
end
end
end
......
growth5msg = false
growth8msg = false
growth16msg = false
growth13msg = false
growth17msg = false
signal.connect('city_size_change', 'tutorial_city_growth_callback')
function tutorial_unit_built_callback(unit)
    (1-1/1)