mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 02:59:19 +01:00
parent
d05aa8d89d
commit
c06b048393
@ -129,23 +129,26 @@ class MicrocontrollerNode(val microcontroller: Microcontroller)
|
||||
|
||||
override def fillSlotsWithDefaultItems(): Unit = {
|
||||
cardSlots(0).item = {
|
||||
if (microcontroller.tier == Tier.Two)
|
||||
if (microcontroller.tier >= Tier.Two) {
|
||||
WirelessNetworkCardItem.Tier2.Factory.build()
|
||||
else
|
||||
} else {
|
||||
WirelessNetworkCardItem.Tier1.Factory.build()
|
||||
}
|
||||
}
|
||||
|
||||
cardSlots(1).item = {
|
||||
if (microcontroller.tier == Tier.Two)
|
||||
if (microcontroller.tier == Tier.Creative) {
|
||||
RedstoneCardItem.Tier2.Factory.build()
|
||||
else
|
||||
} else {
|
||||
RedstoneCardItem.Tier1.Factory.build()
|
||||
}
|
||||
}
|
||||
|
||||
cpuSlot.item = new CpuItem.Factory(Tier.One).build()
|
||||
|
||||
for (memorySlot <- memorySlots)
|
||||
for (memorySlot <- memorySlots) {
|
||||
memorySlot.item = new MemoryItem.Factory(Tier.One.toExtended(false)).build()
|
||||
}
|
||||
|
||||
eepromSlot.item = EepromItem.Factory.Empty.build()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user