Skip to content

Commit 4ddb48e

Browse files
committed
join guild
1 parent c2348a6 commit 4ddb48e

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [Ship Types](./basics/ships.md)
1212
- [Ship Artillery](./basics/ship-artillery.md)
1313
- [Operations](./operations.md)
14+
- [Join Guild](./operations/0037-join-guild.md)
1415
- [Bath House Bribe Success](./operations/0042-bath-house-bribe-success.md)
1516
- [Bath House Bribe Failure](./operations/0043-bath-house-bribe-failure.md)
1617
- [Make Town Hall Offer](./operations/0048-make-town-hall-offer.md)

src/operations/0037-join-guild.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Join Guild
2+
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
3+
- updates the guild membership bitmap of the merchant
4+
- adds the expense to the merchant's bookkeeping
5+
- subtracts the expense from the merchant's money
6+
- adds the entry to the chronicles
7+
- copies the (global) guild expedition disconveries to the merchant's discoveries
8+
- adds the base reputation factor (`1.0` for player merchants) to the local social reputation

0 commit comments

Comments
 (0)