mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
248a7d97d9
Updates the testing infrastructure to use the latest relesae of junit and leverages the new extension mechanism to create an easy to use testing framework. Also adds additional test coverage for several plugins.
13 lines
356 B
Kotlin
13 lines
356 B
Kotlin
package org.apollo.game.plugin.skills.mining
|
|
|
|
enum class Gem(val id: Int) { // TODO add gem drop chances
|
|
UNCUT_SAPPHIRE(1623),
|
|
UNCUT_EMERALD(1605),
|
|
UNCUT_RUBY(1619),
|
|
UNCUT_DIAMOND(1617);
|
|
|
|
companion object {
|
|
private val GEMS = Gem.values().associateBy({ it.id }, { it })
|
|
operator fun get(id: Int): Gem? = GEMS[id]
|
|
}
|
|
} |