GetTechCost¶
Read tech cost from current game state.
GetTechCost(technology)
Inputs: technology is an integer Technology ID.
Output: costs, available: array of positive technology costs and read availability.
Errors and unavailable states: Wrong argument types can raise a Lua argument error. If available is false, ignore the first return value; it is not a confirmed result.
See Game data and world for related calls and usage notes.