mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Merge remote-tracking branch 'origin/ioncannon/quest_system' into Jorge/quest_system
This commit is contained in:
		| @@ -33,6 +33,16 @@ end | ||||
|  | ||||
| function onEventStarted(player, aetheryte, triggerName) | ||||
| 	 | ||||
| 	-- Main Scenario Intro Quests | ||||
| 	if (player:HasQuest(110002) == true) then | ||||
| 		require ("quests/man/man0l1"); | ||||
| 		local quest = player:GetQuest("Man0l1"); | ||||
| 		if (quest:GetSequence() == SEQ_003) then			 | ||||
| 			callClientFunction(player, "delegateEvent", player, quest, "processEvent025"); | ||||
| 			quest:StartSequence(SEQ_005); | ||||
| 		end | ||||
| 	end | ||||
| 	 | ||||
| 	if (player:GetGuildleveDirector() ~= nil) then | ||||
| 		doGuildleveMenu(player, aetheryte); | ||||
| 	else | ||||
|   | ||||
| @@ -61,7 +61,7 @@ function onEventStarted(player, npc, triggerName) | ||||
|     local killCount = 50; | ||||
|     callClientFunction(player, "caravanGuardOffer", areaName, areaName2, playerGC); | ||||
|     --callClientFunction(player, "caravanGuardReward", cargo, nil, areaName, playerGC, killCount, areaName2);    | ||||
|     --player:SendGameMessageDisplayIDSender(npc, 6, MESSAGE_TYPE_SAY, npc.displayNameId); | ||||
|     --player:SendGameMessageLocalizedDisplayName(npc, 6, MESSAGE_TYPE_SAY, npc.displayNameId); | ||||
|      | ||||
|      | ||||
| 	player:EndEvent(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user