projecteq-projecteqquests/commons/Guard_Colin.pl
TurmoilToad 42fe0c51f5
Create Guard_Colin.pl
Dug out of Vaslin's EQ Compendium.
SQL:  Has Quest File
```sql
UPDATE `npc_types` SET `isquest` = '1' WHERE `id` = '21032';
UPDATE `npc_types` SET `isquest` = '1' WHERE `id` = '21117';
```
2019-11-06 10:26:02 -05:00

14 lines
402 B
Raku

sub EVENT_SAY {
if ($text=~/hail/i) {
quest::say("Hail traveler. By order of Sir Lucan, the toll fee is one gold piece a head. Pay at once!!");
}
}
sub EVENT_ITEM {
#:: Match one gold piece
if (plugin::takeCoin(0, 0, 1, 0)) {
quest::say("It is best you donate to the Freeport Militia. I would hate to see something happen to you.");
}
#:: Return unused items
plugin::returnUnusedItems();
}