First of all, the good news : it seems like I was successful at making DIPLOMSG.LBX have additional entries. That means we can have additional message types the AI can use.
I've added one so far : When you ask for a treaty, roll a "success, but must pay gold/spell", and don't have gold or spell to pay, instead of getting the usual refusal text, the AI will say they were expecting a better offer. This effect won't appear if the AI was planning to refer to your previous misdeeds such as "I refuse to deal with someone who casts Armageddon.".
Any ideas on what else the AI should be able to say is welcome (but text space doesn't necessarily mean I can add anything I want of course.)
Also, while doing this I found a few bugs in treaty offers, it seems the AI wasn't doing the "yes but I want a spell for it" result correctly. It had a chance to not recognize this result at all and reject the offer, or ask for gold if the player had no available spell. I fixed both of these problems, while asking for gold should be possible to replace by a spell (which is the higher value in diplomacy), it shouldn't happen in the opposite direction.
I've added one so far : When you ask for a treaty, roll a "success, but must pay gold/spell", and don't have gold or spell to pay, instead of getting the usual refusal text, the AI will say they were expecting a better offer. This effect won't appear if the AI was planning to refer to your previous misdeeds such as "I refuse to deal with someone who casts Armageddon.".
Any ideas on what else the AI should be able to say is welcome (but text space doesn't necessarily mean I can add anything I want of course.)
Also, while doing this I found a few bugs in treaty offers, it seems the AI wasn't doing the "yes but I want a spell for it" result correctly. It had a chance to not recognize this result at all and reject the offer, or ask for gold if the player had no available spell. I fixed both of these problems, while asking for gold should be possible to replace by a spell (which is the higher value in diplomacy), it shouldn't happen in the opposite direction.