card graphic, minor touch-up to existing cards

This commit is contained in:
Florian Nücke 2013-12-01 01:48:25 +01:00
parent 585f316da1
commit 15c178cdf8
8 changed files with 7 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 260 B

View File

@ -1,10 +1,15 @@
package li.cil.oc.common.item
import net.minecraft.item.ItemStack
import li.cil.oc.Settings
import net.minecraft.client.renderer.texture.IconRegister
class Card(val parent: Delegator, val tier: Int) extends Delegate {
val baseName = "Card"
val unlocalizedName = baseName + Array("Basic", "Advanced", "Professional").apply(tier)
override def registerIcons(iconRegister: IconRegister) {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Settings.resourceDomain + ":card")
}
}