Quote Originally Posted by Atraphoenix View Post
I tried code EBBS but it was beyond my capacity, namely scripting. I am an alone volunteer trait and ancillary modder, also as many traits causes CTD, I decided to mod ancillaries.
maybe if I can find anyone to improve my mod with scripting, will be good, but not at the moment sorry
Well, it is pretty easy to script such things as giving a faction some money based on traits of certain FMs - I have done so in my micromod Spoils of Victory. Here is an example of such code:
Code:
monitor_event CharacterTurnEnd FactionType romans_julii
and Trait EnemyCampCaptured = 1

console_command add_money romans_julii, 1000

end_monitor
Therefore I have run a test in my current Baktrian campaign, just to verify, whether the script recognizes ancillaries. So I have put this code into EBBS:
Code:
monitor_event CharacterTurnEnd FactionType romans_brutii
and Ancillary Armourer = 1
and Ancillary Chirurgeon = 1

console_command add_money romans_brutii, 10000

end_monitor
I have two FMs who have BOTH Armourer AND Chirurgeon, I have four more FM who have EITHER Armourer OR Chirurgeon. My expectation was that I should gain 20.000 mnai.

Well the test shown two things:
1.- The script was executable and did something
2.- The script did something different then supposed: I have gained 450.000 mnai from it... I really do not know why

I have no idea what could be wrong in my test code Anybody could help???