whoward69
DLL Minion
That's very odd, 'cos' I always change mine half-way through the game to 1000 and "Bribe a City State" and I get the alerts at 1000+ gold
Anything in the lua.log file?
Anything in the lua.log file?
Yeah, I saw that. It makes sense given the game function of free buildings. But of course I'm going beyond normal game function with multiple instances of buildings (using this to modulate some building effects). So far, I've seen no problem with "Real" buildings except that I had to modify UI to give proper yields and other effects. I think that modulating "Free" buildings was OK for most effects and yields, except specifically faith which seems to be applied as a "change" rather than a "set".The standard C++ logic in SetNumFreeBuilding() is totally screwed - it calls SetNumRealBuilding(0) at one point (via DoSellBuilding())! Because the method isn't exposed to Lua, you never normally see this.
That's very odd, 'cos' I always change mine half-way through the game to 1000 and "Bribe a City State" and I get the alerts at 1000+ gold
Anything in the lua.log file?
Is there any espionage API document?
No, as you can use the code as the documentation.
CvLuaCity
CvLuaPlayer
- LUAAPIEXTN(HasDiplomat, bool, iPlayer);
- LUAAPIEXTN(HasSpy, bool, iPlayer);
- LUAAPIEXTN(HasCounterSpy, bool);
- LUAAPIEXTN(GetCounterSpy, int);
- LUAAPIEXTN(EspionageCreateSpy, void);
- LUAAPIEXTN(EspionagePromoteSpy, void, iSpyIndex);
- LUAAPIEXTN(EspionageSetPassive, void, iSpyIndex, bPassive);
- LUAAPIEXTN(EspionageSetOutcome, void, iSpyIndex, iSpyResult, bAffectsDiplomacy);
I just tried testing this but right now I get no gold alerts at all!
Search for "No More Civilian Traffic Jams" - it may do what you want (and the code is in the DLL as well)
@Entw1ne, here you go.
While I remember, couple of "minor" things coming in v61
2) Really free Great People (watch out for the Maya!), ie, free GP from City States, buildings, traits, policies, eg, don't count against the "earnt" GPs. Eg, 99 of 100 progress against a great scientist and you complete Liberty and pick a GS, it will still be 99 of 100 and not 99 of 200
V61 has been released for testing - see post #198 in this threadLooking forward to v61. The truly free GP has been something I've wanted for a while.?
Look in the CustomModOptions.xml file, features are tagged with their release numberAlso: Am I missing a section with a change-log on the mod site or here?
At a guess, whatever is logging the message "Don't take plot from friend" probably can't cope with cities extending beyond ring 3