forked from EQMacEmu/quests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
a_human_skeleton.lua
21 lines (19 loc) · 863 Bytes
/
a_human_skeleton.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- Quest: Brain Bite (Concussion)
function event_say(e)
if(e.message:findi("Hail")) then
e.self:Say("Save my.. Soul.. Find.. Wizard.. Desp..");
end
end
function event_trade(e)
local item_lib = require("items");
-- Hand in Ryla's Bottle
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12964})) then
e.other:QuestReward(e.self,0,0,0,0,12967); -- Bottle of swirling smoke (Ryla's soul)
eq.depop_with_timer();
end
item_lib.return_items(e.self, e.other, e.trade)
end
-------------------------------------------------------------------------------------------------
-- Converted to .lua using MATLAB converter written by Stryd and manual edits by Speedz
-- Find/replace data for .pl --> .lua conversions provided by Speedz, Stryd, Sorvani and Robregen
-------------------------------------------------------------------------------------------------