mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
24 lines
718 B
Kotlin
24 lines
718 B
Kotlin
package org.apollo.game.plugin.skills.woodcutting
|
|
|
|
import org.apollo.game.model.Animation;
|
|
|
|
//Animation IDs: https://www.rune-server.ee/runescape-development/rs2-client/configuration/272373-emote-gfx-id-list.html
|
|
enum class Axe(val id: Int, val level: Int, val animation: Animation, val pulses: Int) {
|
|
RUNE(1359, 41, Animation(867), 3),
|
|
ADAMANT(1357, 31, Animation(869), 4),
|
|
MITHRIL(1355, 21, Animation(871), 5),
|
|
BLACK(1361, 11, Animation(873), 6),
|
|
STEEL(1353, 6, Animation(875), 6),
|
|
IRON(1349, 1, Animation(877), 7),
|
|
BRONZE(1351, 1, Animation(879), 8)
|
|
}
|
|
|
|
val AXES = Axe.values()
|
|
|
|
fun getAxes(): Array<Axe> {
|
|
return AXES
|
|
}
|
|
|
|
fun lookupPickaxe(id: Int): Axe? = AXES.find { it.id == id }
|
|
|