Thalassicus
Bytes and Nibblers
In a sql file I have:
This column shows up correctly when I check Civ5DebugDatabase.db after loading my mod. However, this statement in AssignStartingPlots.lua:
gives the error:
What might be wrong?
Code:
ALTER TABLE Worlds ADD ResourceMod integer default 100;
UPDATE Worlds SET ResourceMod = 100;
This column shows up correctly when I check Civ5DebugDatabase.db after loading my mod. However, this statement in AssignStartingPlots.lua:
Code:
print("ResourceMod = " .. tostring(GameInfo.Worlds.WORLDSIZE_DUEL.ResourceMod))
gives the error:
Code:
Cannot find key - ResourceMod
What might be wrong?