Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
UI1. Why do you want the getter for the city and civ-wide yield percent modifiers to be sent to lua? I am already processing the effects of that method in the DLL.
Edit: OK, yes I should know value since I set it from Lua. But the issue there is persisting data in Lua. We do it but it's easier and safer to get the persisted value from dll rather than persist parallel values in dll and Lua.
Get yer Fire Tunner up and running...2. Do you have sample Lua code I could use to test my addition of these methods?
Code:
Players[0]:SetLeaderYieldBoost(GameInfoTypes.YIELD_PRODUCTION, 50)
Plaerys[0]:GetCapitalCity():SetCityResidentYieldBoost(GameInfoTypes.YIELD_PRODUCTION, 50)
Edit2: I posted our release date on the mod thread (April 13). No pressure there. I have some time over spring break so I'm feeling optimistic. And things have been moving very fast the last couple weeks.