Date: 2017/01/12 17:41:31 UTC-08:00
Type: Denizen Script
3:
click trigger:
script:
- if <player.has_flag[npc_engaged]> queue clear
- if <player.inventory.contains[364].qty[1]> {
- flag player npc_engaged
- take 364 qty:1
- narrate format:cchat "Ah yes! A traditional 8oz sirloin! Thank you <player.name>!"
- wait 3
- narrate format:cchat "Now. Go find my cousin Leroy! He should be in the cells."
- wait 3
- narrate format:cchat "And of course, for your troubles..."
- wait 1
- ^playsound <player> sound:FIREWORK_TWINKLE pitch:1
- ^narrate "<&a>-----<&2>QUEST COMPLETE<&a>-----"
- ^narrate "<&6>Rewards<&e>:"
- ^narrate "<&6>- <&e>$500"
- ^narrate "<&a>------------------------"
- execute as_console "eco give <player> 500"
- flag player npc_engaged:!
- zap 4
}
else {
- narrate format:cchat "Don't tell me you ate my steak!?!! BUY ANOTHER ONE"
}