Files
TCOWW/src/main/kotlin/fr/azur/tcoww/roles/Hunter.kt
azur 97b73b0c55
All checks were successful
Auto Build / Build (push) Successful in 2m40s
🦋 Debugging for the 1.2.
2025-12-06 16:40:12 +01:00

35 lines
1.2 KiB
Kotlin

package fr.azur.tcoww.roles
import fr.azur.tcoww.items.CustomItems
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import org.bukkit.Material
import org.bukkit.NamespacedKey
import org.bukkit.entity.Player
object Hunter : Role {
override fun handle(player: Player) {
player.inventory.setItem(9, CustomItems.BlasTechDL44.item)
}
override val team = Role.Team.Villager
override var id = NamespacedKey("tcoww", "hunter")
override val displayName = Component.text("Chaseur", NamedTextColor.GOLD)
override val icon = Material.ARROW
override val order: Int = 5
override val hasPowerCommand = false
override val description =
listOf(
Component.text(
"Vous êtes la personne, la plus redouter des animaux (et en particulier des loups).",
NamedTextColor.BLUE,
),
Component
.text("Vous possedez un ", NamedTextColor.BLUE)
.append(CustomItems.BlasTechDL44.item.displayName())
.append(
Component.text(" qui permet de one shot n'importe quoi... (Usage Unique)", NamedTextColor.BLUE),
),
)
}