mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
24 lines
792 B
Raku
24 lines
792 B
Raku
################## SPEECH CODE ##################
|
|
# items: 12351, 12352, 12350, 12349
|
|
|
|
sub EVENT_SAY {
|
|
if($text =~ /Hail/i) {
|
|
quest::say("Greetings, friend! I am Bubar, merchant from the burning sands. You must be thirsty or, perhaps, hungry. Please look over my goods.");
|
|
}
|
|
}
|
|
|
|
################### ITEM CODE ##################
|
|
|
|
sub EVENT_ITEM {
|
|
if (plugin::check_handin(\%itemcount, 12351 => 1, 12352 => 1, 12350 => 1)) {
|
|
quest::say("Mmmph!!.. *Pop!!* Ouch, my thumb!! Here you are. You had a gem inside.");
|
|
quest::ding();
|
|
quest::summonitem(12349); # Item: Sparkling Sapphire
|
|
quest::exp(15000);
|
|
}
|
|
quest::say("I need at least two of the case keys and the gem case.");
|
|
plugin::return_items(\%itemcount);
|
|
}
|
|
|
|
#EOF -- ZONE: ecommons -- NAME: Bubar -- ID: 22033
|
|
|