Thalassicus
Bytes and Nibblers
for row in GameInfo.Unit_ClassUpgrades{UnitType = thisUnit.Type} do
I recently learned about the capability to pass tables to GameInfo instead of strings. How do I represent these strings in table format:
local query = string.format("ObsoleteTech = '%s' AND BarbUpgradeType IS NOT NULL", techInfo.Type)
for unitInfo in GameInfo.Units(query) do
local query = string.format("BuildingClass = '%s' OR FreeBuildingThisCity = '%s'", buildingClass, buildingClass)
for buildingInfo in GameInfo.Buildings(query) do
I recently learned about the capability to pass tables to GameInfo instead of strings. How do I represent these strings in table format:
local query = string.format("ObsoleteTech = '%s' AND BarbUpgradeType IS NOT NULL", techInfo.Type)
for unitInfo in GameInfo.Units(query) do
local query = string.format("BuildingClass = '%s' OR FreeBuildingThisCity = '%s'", buildingClass, buildingClass)
for buildingInfo in GameInfo.Buildings(query) do