blob: 3b753f5a37ba5f5ec28853822a75cae20f2e4202 [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.util.Rarity
import net.minecraft.item.ItemStack
class Microchip(val parent: Delegator, val tier: Int) extends Delegate {
override val unlocalizedName = super.unlocalizedName + tier
override protected def tooltipName = Option(super.unlocalizedName)
override def rarity(stack: ItemStack) = Rarity.byTier(tier)
}