blob: 4360cc7df89aa0727f7252d5e2bee18aec295446 [file] [log] [blame] [raw]
package li.cil.oc
import cpw.mods.fml.common.registry.GameRegistry
import li.cil.oc.common.item
object Items {
var multi: item.Delegator = null
var analyzer: item.Analyzer = null
var disk: item.Disk = null
var gpu1, gpu2, gpu3: item.GraphicsCard = null
var hdd1, hdd2, hdd3: item.HardDiskDrive = null
var card :item.Card = null
var lan: item.NetworkCard = null
var psu: item.PowerSupply = null
var ram1, ram2, ram3: item.Memory = null
var rs: item.RedstoneCard = null
var wlan: item.WirelessNetworkCard = null
var ironCutter :item.IronCutter = null
var platineBody:item.PlatineBody = null
var platine : item.Platine = null
def init() {
multi = new item.Delegator(Config.itemId)
GameRegistry.registerItem(multi, Config.namespace + "item")
analyzer = new item.Analyzer(multi)
card = new item.Card(multi)
disk = new item.Disk(multi)
ironCutter = new item.IronCutter(multi)
platineBody = new item.PlatineBody(multi)
platine = new item.Platine(multi)
gpu1 = new item.GraphicsCard(multi, 0)
gpu2 = new item.GraphicsCard(multi, 1)
gpu3 = new item.GraphicsCard(multi, 2)
hdd1 = new item.HardDiskDrive(multi, 0)
hdd2 = new item.HardDiskDrive(multi, 1)
hdd3 = new item.HardDiskDrive(multi, 2)
lan = new item.NetworkCard(multi)
psu = new item.PowerSupply(multi)
ram1 = new item.Memory(multi, 0)
ram2 = new item.Memory(multi, 1)
ram3 = new item.Memory(multi, 2)
rs = new item.RedstoneCard(multi)
wlan = new item.WirelessNetworkCard(multi)
}
}