Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
[Bug] Quest Error fix in qey2hh1 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
fryguy503 authored Jan 24, 2025
1 parent 05c16b6 commit 671d6eb
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 51 deletions.
13 changes: 9 additions & 4 deletions qey2hh1/Paglan.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function event_spawn(e)
eq.set_timer(1,1200000);
eq.set_timer("depop",20 * 60 * 1000); -- 20 Minutes
e.self:SetRunning(true);
end

Expand All @@ -8,9 +8,14 @@ function event_timer(e)
end

function event_combat(e)
if(e.joined == true) then
if e.joined then
e.self:Say("The time fer talk is over. Raise yer guard!!");
eq.signal(12082,1); -- NPC: Frostbite
eq.signal(12154,1); -- NPC: Frostbite
eq.signal(12082,1);
eq.signal(12154,1);
end
end

function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end
29 changes: 0 additions & 29 deletions qey2hh1/Paglan.pl

This file was deleted.

14 changes: 8 additions & 6 deletions qey2hh1/Yiz_Pon.lua
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
-- Hollow Skull
-- items: 18010

function event_say(e)
if(e.message:findi("hail")) then
if e.message:findi("hail") then
e.self:Say(string.format("%s! Make it quick I am in a [hurry].",e.other:GetName()));
elseif(e.message:findi("hurry")) then
elseif e.message:findi("hurry") then
e.self:Say("I was in Paw receantly and stole a skull and now an [assassin] is hunting me down, even after returning the skull to him.");
elseif(e.message:findi("assassin")) then
elseif e.message:findi("assassin") then
e.self:Say(string.format("Look %s, I don't have time to talk! If you want to help me deliver this [message].",e.other:GetName()));
elseif(e.message:findi("message")) then
elseif e.message:findi("message") then
e.self:Say("Hurry now and take this to my brother, Hyrill Pon in Freeport, and before you go take that skull back from the assassin");
e.other:SummonItem(18010); -- Item: Torn Parchment
eq.spawn2(12182,0,0,-15188.57,1270.43,68.72,218); -- NPC: a_Splitpaw_assassin
e.self:Say("oh no, there he is!");
end
end

-- END of FILE zone: ID:12167 -- Yiz_Pon.pl
function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end
13 changes: 9 additions & 4 deletions qey2hh1/a_bandit.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
function event_combat(e)
if(e.joined == true) then
e.self:Say(string.format("Time to die %s!",e.other:GetCleanName()));
end
end
if e.joined then
e.self:Say(string.format("Time to die %s!",e.other:GetCleanName()));
end
end

function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end
6 changes: 0 additions & 6 deletions qey2hh1/a_bandit.pl

This file was deleted.

2 changes: 0 additions & 2 deletions qey2hh1/desktop.ini

This file was deleted.

0 comments on commit 671d6eb

Please sign in to comment.