defgear command more readable :D

This commit is contained in:
Tooze 2026-05-21 07:30:44 -04:00
parent f2ef4d23ff
commit 7e06577110

View file

@ -3,6 +3,7 @@ package content.minigame.barbassault
import content.minigame.barbassault.bots.BABot
import content.minigame.barbassault.lobby.BALobby
import core.api.*
import core.game.container.impl.EquipmentContainer
import core.game.node.item.Item
import core.game.system.command.Privilege
import core.game.system.command.sets.CommandSet
@ -43,7 +44,7 @@ class BADevHelper : CommandSet(Privilege.ADMIN) {
}
//nods to the defender guide I found, as "suggested" defender gear.
define("defgear"){ player,_->
player.equipment.replace(Item(954),2)
player.equipment.replace(Item(Items.ROPE_954),EquipmentContainer.SLOT_AMULET)
return@define
}
define("eggloot"){ player,_->