mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
ok to hide shit in second bank
This commit is contained in:
parent
9c1b69ce21
commit
7b52dd1e6c
2 changed files with 6 additions and 6 deletions
|
|
@ -73,9 +73,9 @@ object DrillDemonUtils {
|
|||
|
||||
fun reward(player: Player) {
|
||||
queueScript(player, 2, QueueStrength.SOFT) {
|
||||
val hasHat = hasAnItem(player, Items.CAMO_HELMET_6656, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasShirt = hasAnItem(player, Items.CAMO_TOP_6654, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasPants = hasAnItem(player, Items.CAMO_BOTTOMS_6655, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasHat = hasAnItem(player, Items.CAMO_HELMET_6656, checkPOH = true).exists()
|
||||
val hasShirt = hasAnItem(player, Items.CAMO_TOP_6654, checkPOH = true).exists()
|
||||
val hasPants = hasAnItem(player, Items.CAMO_BOTTOMS_6655, checkPOH = true).exists()
|
||||
when {
|
||||
!hasHat -> addItemOrDrop(player, Items.CAMO_HELMET_6656)
|
||||
!hasShirt -> addItemOrDrop(player, Items.CAMO_TOP_6654)
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ object FreakUtils{
|
|||
}
|
||||
|
||||
fun reward(player: Player){
|
||||
val hasHat = hasAnItem(player, Items.LEDERHOSEN_HAT_6182, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasTop = hasAnItem(player, Items.LEDERHOSEN_TOP_6180, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasShort = hasAnItem(player, Items.LEDERHOSEN_SHORTS_6181, checkSecondBank = true, checkPOH = true).exists()
|
||||
val hasHat = hasAnItem(player, Items.LEDERHOSEN_HAT_6182, checkPOH = true).exists()
|
||||
val hasTop = hasAnItem(player, Items.LEDERHOSEN_TOP_6180, checkPOH = true).exists()
|
||||
val hasShort = hasAnItem(player, Items.LEDERHOSEN_SHORTS_6181, checkPOH = true).exists()
|
||||
sendNPCDialogue(player, freakNpc, "You get a lederhosen item as a reward for your help, many thanks!")
|
||||
when{
|
||||
(!hasHat) -> addItemOrDrop(player, Items.LEDERHOSEN_HAT_6182, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue