Join Guild
The handle_operation_37_join_guild at 0x004F8560 checks whether the operation's fee is covered by the merchant's money and whether the merchant is already a member of the guild, and then
- updates the guild membership bitmap of the merchant
- adds the expense to the merchant's bookkeeping
- subtracts the expense from the merchant's money
- adds the entry to the chronicles
- copies the (global) guild expedition disconveries to the merchant's discoveries
- adds the base reputation factor (
1.0for player merchants) to the local social reputation