mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
13 lines
287 B
Kotlin
13 lines
287 B
Kotlin
package org.apollo.game.plugin.skills.mining
|
|
|
|
enum class Gem(val id: Int, val chance: Int) {
|
|
UNCUT_SAPPHIRE(1623, 0),
|
|
UNCUT_EMERALD(1605, 0),
|
|
UNCUT_RUBY(1619, 0),
|
|
UNCUT_DIAMOND(1617, 0)
|
|
}
|
|
|
|
val GEMS = Gem.values()
|
|
|
|
fun lookupGem(id: Int): Gem? = GEMS.find { it.id == id }
|