GetYieldTooltip ( City city, YieldType yieldType, int base, int total, string iconString, string modifiersString ) Those examples will return and assign the integer value 0. Here is how to use the LUA enumeration to retrieve the ID from the type. Here are the ID and Type columns found in this table.
As a result it is advised to rely on GameInfo instead.īelow are the values found in this enumeration. Its keys are the constants' names and the pairs the corresponding values. Firaxis provides a Lua enumeration named YieldTypes.