// Brass & Sigil — economy policy (recipe removal)
//
// Players can't craft Waystones items (they're distributed by the welcome
// grant -- see welcome.js -- and any replacements come from the bank
// vendor in the future). Players also can't manufacture currency: coins
// only enter circulation through the bank exchange (item-in / coin-out).
//
// Other Numismatics blocks (piggy banks, bank tellers, vendor blocks) stay
// craftable -- those are infrastructure, not currency.

ServerEvents.recipes(event => {
    // Block ALL crafting of Waystones items. The welcome-grant script
    // gives each new player exactly one regular waystone; any further
    // recovery happens via OP /give or future bank vendor.
    event.remove({ mod: 'waystones' });

    // Block coin manufacturing only -- 5 denominations.
    // Real registry IDs: spur, bevel, cog, crown, sun.
    [
        'numismatics:spur',
        'numismatics:bevel',
        'numismatics:cog',
        'numismatics:crown',
        'numismatics:sun',
    ].forEach(coin => event.remove({ output: coin }));
});
