/* ░░░▒▒▓▓██▣ RES INTERFACE ▣██▓▓▒▒░░░ ══ [ 2026-04-10 ] ══ [depleted_orestones.js] ═════════
    ┳┳┓┏┓┓┏┓┏┳┏┓┓ ┏ ╭╭────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────╮╮
    ┃┃┃┣┫┗┫┃┃┃┣ ┃┃┃ || startup_scripts | blocks | Mayview Depleted Orestone Register 
    ┛ ┗┛┗┗┛┗┛┻┗┛┗┻┛ ╰╰────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────●▬▬▬▬๑۩۩๑▬▬▬▬▬●────────╯╯
*/ console.info("[RES:CORE] Initializing depleted_orestones.js");
StartupEvents.registry("block", function (event) {
  var DEPLETED_ORESTONE_BLOCK_DEFINITIONS = [
    {
      id: "mayview:depleted_asurine",
      displayName: "Depleted Asurine",
      soundType: "stone",
    },
    {
      id: "mayview:depleted_crimsite",
      displayName: "Depleted Crimsite",
      soundType: "stone",
    },
    {
      id: "mayview:depleted_ochrum",
      displayName: "Depleted Ochrum",
      soundType: "stone",
    },
    {
      id: "mayview:depleted_veridium",
      displayName: "Depleted Veridium",
      soundType: "stone",
    }
  ];

  DEPLETED_ORESTONE_BLOCK_DEFINITIONS.forEach(function (definition) {
    var blockBuilder = event
      .create(definition.id)
      .displayName(definition.displayName)
      .hardness(1)
      .resistance(1);

    if (definition.soundType === "stone") {
      blockBuilder.stoneSoundType();
    } else {
      blockBuilder.soundType(definition.soundType);
    }
  });
});
