A bit on Hammurabi personality:
Despite Aggressive trait, he’s rather peaceful (iBasePeaceWeight 8 while Gandhi has 10, Genghis 0) vs other peaceful AI, but neutral vs Human (iBaseAttitude 0). Same time, iWarmongerRespect 1 – he loves everybody

Rather fond of Wonders (iWonderConstructRand 40 – one of the tops).
Average on Espionage
Not a great tech trader = needs 40% of known AI have the tech to trade it away, will stop trading techs after you purchase rounddown[10*1,35 (difficulty level adjustment)] = 13 techs from other AI. It decays, 1 trade a 100 turns on average - too slow for Quick.
Is less likely to declare war on non-neighbour.
Likely to join the war on his own, without bribing, to kick the loser.
Likely to declare a small war (steal couple of workers and a town) if you refuse a demand.
Will not raze captured cities
Likes to build units, especially city defenders – still lesser chances of getting him with rush
Has no hidden diplo negatives if you’re higher in score rank
Has average hidden pluses if he’s higher in rank
Moderately pissed off with closed borders
Maximum diplo + for same religion = 6 (7, if he’s a founder)
Maximum diplo - from different religion = 6 (7, if he’s a founder)
Maximum diplo + for Favorite Civic (
Bureaucracy, yay!) = 4
Trades techs at Cautious+
Trades strategic resources at Pleased + (thus might be subject to the bug, I think it wasn’t fixed in HoF mod – that the code believes it’s always Cautious, and you’ll never get a trade)
Trades health and happiness resources at Cautious+
Will refuse declaring war on others if he isn’t Pleased with us and at least Annoyed with them
Will not consider stop trading with others requests if is Cautious with them
Will change civics and religion on request if Pleased with us (might be subject to same bug)
Open borders at Cautious
DefPact, PermAlliance and willingly Vassalizes at Friendly
While researching, prefers high-cultural-flavored techs (likely to be first to Music, after Writing will likely go for Aesthetics and Literature)
Will not declare war on his own if Pleased
Favorite improvements: farm and windmill – good choice for this map