blob: f3049fe9d9d07d9b001adebcc2ab0f80a19aef25 [file] [log] [blame] [raw]
package li.cil.oc.common
import li.cil.oc.api.driver.Slot
object InventorySlots {
val computer = Array(
Array(
InventorySlot(Slot.Card, Tier.One),
InventorySlot(Slot.Card, Tier.One),
InventorySlot(Slot.Memory, Tier.One),
InventorySlot(Slot.HardDiskDrive, Tier.One),
InventorySlot(Slot.Processor, Tier.One),
InventorySlot(Slot.Memory, Tier.One)
),
Array(
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.One),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.HardDiskDrive, Tier.Two),
InventorySlot(Slot.HardDiskDrive, Tier.One),
InventorySlot(Slot.Processor, Tier.Two)
),
Array(
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Two),
InventorySlot(Slot.Disk, Tier.One),
InventorySlot(Slot.Processor, Tier.Three)
),
Array(
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.Disk, Tier.One),
InventorySlot(Slot.Processor, Tier.Three)
)
)
val assembler = Array(
Array(
InventorySlot(Slot.None, Tier.None), // Reserved for computer case.
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.UpgradeContainer, Tier.Two),
InventorySlot(Slot.UpgradeContainer, Tier.One),
InventorySlot(Slot.UpgradeContainer, Tier.One),
InventorySlot(Slot.Card, Tier.One),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.Processor, Tier.One),
InventorySlot(Slot.Memory, Tier.One),
InventorySlot(Slot.Memory, Tier.One),
InventorySlot(Slot.HardDiskDrive, Tier.One),
InventorySlot(Slot.None, Tier.None)
),
Array(
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.Upgrade, Tier.One),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.UpgradeContainer, Tier.Three),
InventorySlot(Slot.UpgradeContainer, Tier.Two),
InventorySlot(Slot.UpgradeContainer, Tier.One),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.One),
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.Processor, Tier.Two),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.HardDiskDrive, Tier.Two),
InventorySlot(Slot.None, Tier.None)
),
Array(
InventorySlot(Slot.None, Tier.None),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Three),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.Upgrade, Tier.Two),
InventorySlot(Slot.UpgradeContainer, Tier.Three),
InventorySlot(Slot.UpgradeContainer, Tier.Three),
InventorySlot(Slot.UpgradeContainer, Tier.Two),
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Two)
)
)
val server = Array(
Array(
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Processor, Tier.Two),
InventorySlot(Slot.Processor, Tier.Two),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.Memory, Tier.Two),
InventorySlot(Slot.HardDiskDrive, Tier.Two),
InventorySlot(Slot.HardDiskDrive, Tier.Two)
),
Array(
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.Card, Tier.Two)
),
Array(
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Card, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Processor, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.Memory, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.HardDiskDrive, Tier.Three),
InventorySlot(Slot.Card, Tier.Two),
InventorySlot(Slot.Card, Tier.Two)
)
)
object Tier {
val None = -2
val Any = -1
val One = 0
val Two = 1
val Three = 2
}
case class InventorySlot(slot: Slot, tier: Int)
}