fad867976f
Three corrections per user feedback: 1. Drop the conversion-crib lines -- Numismatics' built-in tooltip already shows 'Value: N spurs' so our added lines were duplicate. 2. Include sprocket (numismatics:sprocket) -- the 6th denomination I missed when first writing the script. Full set: spur, bevel, sprocket, cog, crown, sun. 3. Keep only the actually-useful hint: 'Right-click a Bank Teller block to convert denominations' -- the one piece of info that isn't on the mod's own tooltip. Decision punted (deliberately): no 8-spurs-shapeless-to-1-bevel crafting recipes. The Bank Teller is the spawn-economy anchor; crafting recipes would let players bypass the bank entirely. Players who want local conversion can place their own Teller -- which is the intended Numismatics design.
23 lines
754 B
JavaScript
23 lines
754 B
JavaScript
// Brass & Sigil — Numismatics coin tooltip helper
|
|
//
|
|
// 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 COIN_IDS = [
|
|
'numismatics:spur',
|
|
'numismatics:bevel',
|
|
'numismatics:sprocket',
|
|
'numismatics:cog',
|
|
'numismatics:crown',
|
|
'numismatics:sun',
|
|
];
|
|
|
|
ItemEvents.modifyTooltips(event => {
|
|
COIN_IDS.forEach(function(id) {
|
|
event.add(id, Text.aqua('Right-click a Bank Teller block to convert denominations.'));
|
|
});
|
|
});
|