How score is calculated…
S ≡ Score
M ≡ How many moves
N ≡ How many of type at end of treasure hunt
n ≡ Type exponent constant; see table below:
n | Type
================
0 | Copper
1 | Silver
2 | Gold
3 | Bag
4 | Wooden Chest
5 | Green Chest
6 | Red Chest
7 | Vault
Referring back to this post, we see:
M = 211
N | Type
=================
9 | Copper
13 | Silver
11 | Gold
16 | Bag
5 | Wooden Chest
3 | Green Chest
3 | Red Chest
4 | Vault
Plugging in the numbers, unrolling the summation, we get:
S = 50 * 211 +
9 * 3^0 +
13 * 3^1 +
11 * 3^2 +
16 * 3^3 +
5 * 3^4 +
3 * 3^5 +
3 * 3^6 +
4 * 3^7
S = 50 * 211 +
9 * 1 +
13 * 3 +
11 * 9 +
16 * 27 +
5 * 81 +
3 * 243 +
3 * 729 +
4 * 2187
S = 23,198
And now you know, @DonBoba.