diff --git a/pack/overrides/kubejs/server_scripts/numismatics_tooltips.js b/pack/overrides/kubejs/server_scripts/numismatics_tooltips.js index 79b04e6..2f143df 100644 --- a/pack/overrides/kubejs/server_scripts/numismatics_tooltips.js +++ b/pack/overrides/kubejs/server_scripts/numismatics_tooltips.js @@ -1,24 +1,22 @@ // Brass & Sigil — Numismatics coin tooltip helper // -// Numismatics' uniform x8 denomination chain (spur=1, bevel=8, cog=64, -// crown=512, sun=4096) isn't intuitive at a glance -- people expect -// real-world ratios like 1p/10p/20p/50p/£1. Mod values are hardcoded, -// so the next-best thing is putting the conversion crib right on each -// coin's tooltip. -// -// Players hover any coin and instantly see how it relates to the other -// denominations + a reminder that Bank Teller blocks convert on demand. +// Numismatics ships its own "Value: N spurs" tooltip on each coin -- +// don't duplicate that. The one piece players need that ISN'T there is: +// where do I convert these? Answer: Bank Teller block. Add that hint +// to each of the 6 coin denominations (spur, bevel, sprocket, cog, +// crown, sun -- including sprocket which we missed in v0.22.1). -const CRIBS = { - 'numismatics:spur': [ '= 1 Spur (base unit)', 'Bank Teller block converts.' ], - 'numismatics:bevel': [ '= 8 Spurs', 'Bank Teller block converts.' ], - 'numismatics:cog': [ '= 64 Spurs (8 Bevels)', 'Bank Teller block converts.' ], - 'numismatics:crown': [ '= 512 Spurs (8 Cogs, 64 Bevels)', 'Bank Teller block converts.' ], - 'numismatics:sun': [ '= 4096 Spurs (8 Crowns)', 'Bank Teller block converts.' ], -}; +const COIN_IDS = [ + 'numismatics:spur', + 'numismatics:bevel', + 'numismatics:sprocket', + 'numismatics:cog', + 'numismatics:crown', + 'numismatics:sun', +]; ItemEvents.modifyTooltips(event => { - for (const id in CRIBS) { - event.add(id, CRIBS[id].map(line => Text.aqua(line))); - } + COIN_IDS.forEach(function(id) { + event.add(id, Text.aqua('Right-click a Bank Teller block to convert denominations.')); + }); }); diff --git a/pack/pack.lock.json b/pack/pack.lock.json index 865ac13..9d532dc 100644 --- a/pack/pack.lock.json +++ b/pack/pack.lock.json @@ -1,7 +1,7 @@ { "$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing", "name": "Brass and Sigil", - "version": "0.22.3", + "version": "0.22.4", "minecraft": "1.21.1", "loader": { "type": "neoforge",