mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-16 01:14:42 +02:00
Renamed QFLAG constants and moved them to quest.lua
This commit is contained in:
parent
16c62a08d8
commit
aef0f2b400
69 changed files with 338 additions and 256 deletions
|
@ -1,4 +1,5 @@
|
|||
require ("global")
|
||||
require ("quest")
|
||||
|
||||
--[[
|
||||
|
||||
|
@ -42,9 +43,9 @@ end
|
|||
|
||||
function onStateChange(player, quest, sequence)
|
||||
if (sequence == SEQ_ACCEPT) then
|
||||
quest:SetENpc(ENPC_VNABYANO, QFLAG_PLATE);
|
||||
quest:SetENpc(ENPC_VNABYANO, QFLAG_TALK);
|
||||
elseif (sequence == SEQ_000) then
|
||||
quest:SetENpc(ENPC_MESTONNAUX, QFLAG_PLATE);
|
||||
quest:SetENpc(ENPC_MESTONNAUX, QFLAG_TALK);
|
||||
quest:SetENpc(ENPC_VNABYANO);
|
||||
elseif (sequence == SEQ_001) then
|
||||
quest:SetENpc(ENPC_MESTONNAUX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue