dabeastlybeast
Chieftain
- Joined
- Aug 28, 2013
- Messages
- 35
I have figured out how to add a boolean column to the Traits table for a custom civ I am making. I have a Lua script that needs to check this value, but I cannot find any methods in the API on how to call that. Anyone have any ideas? I can post the code if you need it. Thanks!
EDIT: I believe I have fixed the function itself. It tests for the requirement for the trait to be active, returning a boolean value. However, I'm not quite sure what method to call for the game to use my function.
EDIT 2: After getting no responses on this post, I moved my question to a more popular part of the forum, hoping someone will see it. Go here, http://forums.civfanatics.com/showthread.php?t=520328 , for that thread
EDIT: I believe I have fixed the function itself. It tests for the requirement for the trait to be active, returning a boolean value. However, I'm not quite sure what method to call for the game to use my function.
EDIT 2: After getting no responses on this post, I moved my question to a more popular part of the forum, hoping someone will see it. Go here, http://forums.civfanatics.com/showthread.php?t=520328 , for that thread