Merge pull request 'plots: correct coin chain (6 denoms incl sprocket)' (#38) from fix/coin-values-with-sprocket into main
This commit was merged in pull request #38.
This commit is contained in:
@@ -64,15 +64,18 @@ const PLOT_DEFS = new Map([
|
|||||||
const REFUND_FRACTION = 0.5; // released plots refund 50% of purchase price
|
const REFUND_FRACTION = 0.5; // released plots refund 50% of purchase price
|
||||||
|
|
||||||
// ─── Numismatics coin handling ────────────────────────────────────────
|
// ─── Numismatics coin handling ────────────────────────────────────────
|
||||||
|
// 6 denominations on a uniform x8 chain (verified in-game 2026-05-23 via
|
||||||
|
// user-reported Sun = 64 Cogs, which back-calculates to these values).
|
||||||
const COIN_VALUES = {
|
const COIN_VALUES = {
|
||||||
'numismatics:spur': 1,
|
'numismatics:spur': 1,
|
||||||
'numismatics:bevel': 8,
|
'numismatics:bevel': 8,
|
||||||
'numismatics:cog': 64,
|
'numismatics:sprocket': 64,
|
||||||
'numismatics:crown': 512,
|
'numismatics:cog': 512,
|
||||||
'numismatics:sun': 4096,
|
'numismatics:crown': 4096,
|
||||||
|
'numismatics:sun': 32768,
|
||||||
};
|
};
|
||||||
const DENOMS_DESC = ['numismatics:sun', 'numismatics:crown', 'numismatics:cog',
|
const DENOMS_DESC = ['numismatics:sun', 'numismatics:crown', 'numismatics:cog',
|
||||||
'numismatics:bevel', 'numismatics:spur'];
|
'numismatics:sprocket', 'numismatics:bevel', 'numismatics:spur'];
|
||||||
|
|
||||||
function countCoins(player) {
|
function countCoins(player) {
|
||||||
let total = 0;
|
let total = 0;
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
||||||
"name": "Brass and Sigil",
|
"name": "Brass and Sigil",
|
||||||
"version": "0.22.4",
|
"version": "0.22.5",
|
||||||
"minecraft": "1.21.1",
|
"minecraft": "1.21.1",
|
||||||
"loader": {
|
"loader": {
|
||||||
"type": "neoforge",
|
"type": "neoforge",
|
||||||
|
|||||||
Reference in New Issue
Block a user