mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-11-13 20:55:05 -05:00
21 lines
420 B
Plaintext
21 lines
420 B
Plaintext
|
/**
|
||
|
* Event Master Npc
|
||
|
* Trade 7 tokens for gift box
|
||
|
* @Author Ollie
|
||
|
*/
|
||
|
NpcTalk("Would you like to trade 7 event tokens for a gift box?");
|
||
|
option = PickOption("Yes", "No");
|
||
|
if(option == 1) {
|
||
|
if(HasItem(1324, 7)) {
|
||
|
RemoveItem(1324, 7);
|
||
|
SendMessage("You trade 7 event tokens for a gift box");
|
||
|
AddItem(1321, 1);
|
||
|
}
|
||
|
else {
|
||
|
NpcTalk("You do not have enough tokens.");
|
||
|
}
|
||
|
}
|
||
|
else {
|
||
|
}
|
||
|
|