Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Diplomacy stuff

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.
Reply

Something I do in diplo is to ask to trade spells, and if I get the reject message, see what could be given as bribe, to get an idea of why the rejection. However, even if there was a message that told me "I got nothing to give you in return/you got nothing to give me in return", I'd probably still check to see the spell bribe list to see what I got on him (I could have a low-value spell even if he is ahead).

So maybe a more detailed trade message wouldn't actually help gameplay - but it would add flavor and feel if the opponent told you "no" in different terms depending on who has the more spells, and on the relation and maybe even his personality. Right now it feels like you always irritate the opponent if you ask to trade when he cannot give anything, and he lashes out with "keep your cantrips!"
Reply



Forum Jump: