a = create_reward_cityplanning('F56AC1B3')
function a.condition()
if (game.g_city_rci_population < 200000
--or game.g_power_consumed < 25000
--or (game.reward_instance_count('032F0000') < 1)--
) then
return [[text@2A0F2490]]
else
return reward_state.AVAILABLE
end
end
a.once = 1
a.timeout = tuning_constants.ADVICE_TIMEOUT_LONG
a.title = [[text@A2457CFF]] -- title instance ID
a.message = [[text@1A984ED2]] -- body text instance ID
a.priority = tuning_constants.ADVICE_PRIORITY_URGENT -- triggers popup
a.mood = advice_moods.GREAT_JOB -- green title
a.persist = 1