import{getType as t}from"./main.js";const e=7;const s=new class{constructor(){this.displayName="Level 1",this.name="Obsidian",this.itemId="ftb_sd:upgrade_1",this.upgradeMultiplier=2,this.texture="textures/ftb/sd/items/upgrades/upgrade_obsidian",this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},i=new class{constructor(){this.displayName="Level 2",this.name="Iron",this.itemId="ftb_sd:upgrade_2",this.upgradeMultiplier=4,this.texture="textures/ftb/sd/items/upgrades/upgrade_iron",this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},d=new class{constructor(){this.displayName="Level 3",this.name="Gold",this.itemId="ftb_sd:upgrade_3",this.upgradeMultiplier=8,this.texture="textures/ftb/sd/items/upgrades/upgrade_gold",this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},a=new class{constructor(){this.displayName="Level 4",this.name="Dimond",this.itemId="ftb_sd:upgrade_4",this.upgradeMultiplier=16,this.texture="textures/ftb/sd/items/upgrades/upgrade_diamond",this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},r=new class{constructor(){this.displayName="Level 5",this.name="Emerald",this.itemId="ftb_sd:upgrade_5",this.upgradeMultiplier=32,this.texture="textures/ftb/sd/items/upgrades/upgrade_emerald",this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},n=new class{constructor(){this.displayName="Void",this.name="Void",this.itemId="ftb_sd:upgrade_void",this.upgradeMultiplier=0,this.texture="textures/ftb/sd/items/upgrades/upgrade_void",this.maxInstalled=1}onInstalled(e,s){t(e).setVoidEnabled(e,s,!0)}onRemoved(e,s){t(e).setVoidEnabled(e,s,!1)}},l=new class{constructor(){this.displayName="Light",this.name="Light",this.itemId="ftb_sd:upgrade_light",this.upgradeMultiplier=0,this.texture="textures/ftb/sd/items/upgrades/upgrade_glowstone",this.maxInstalled=1}onInstalled(t,e){const s=e.permutation.withState("ftb_sd:light",!0);e.setPermutation(s)}onRemoved(t,e){const s=e.permutation.withState("ftb_sd:light",!1);e.setPermutation(s)}},o=new class{constructor(){this.displayName="Empty",this.name="empty",this.itemId="ftb_sd:upgrade_empty",this.upgradeMultiplier=0,this.texture=void 0,this.maxInstalled=7}onInstalled(t,e){}onRemoved(t,e){}},u=[s,i,d,a,r,n,l,o];function m(t){for(const e of u)if(e.name===t)return e;return o}function h(t){for(const e of u)if(e.itemId===t)return e;return o}export{u as ALL_UPGRADES,o as EMPTY_UPGRADE,s as LEVEL_1_UPGRADE,i as LEVEL_2_UPGRADE,d as LEVEL_3_UPGRADE,a as LEVEL_4_UPGRADE,r as LEVEL_5_UPGRADE,l as LIGHT_UPGRADE,e as UPGRADE_SLOTS_TWO,n as VOID_UPGRADE,h as upgradeFromItemId,m as upgradeFromName};
