mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added scripts for NPCs in the Limsa echo instance and Gridania opening post-battle instance.
This commit is contained in:
		| @@ -0,0 +1,5 @@ | ||||
| require ("global") | ||||
|  | ||||
| function init(npc) | ||||
| 	return false, false, 0, 0, 0x141, 0xb79;	 | ||||
| end | ||||
| @@ -0,0 +1,14 @@ | ||||
| require ("global") | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	man0g1Quest = player:GetQuest("Man0g0"); | ||||
| 	 | ||||
| 	if (man0g1Quest ~= nil) then	 | ||||
| 		if (triggerName == "talkDefault") then | ||||
| 			callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_3");					 | ||||
| 		end		 | ||||
| 	end | ||||
|  | ||||
| 	player:EndEvent(); | ||||
| 	 | ||||
| end | ||||
| @@ -0,0 +1,14 @@ | ||||
| require ("global") | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	man0g1Quest = player:GetQuest("Man0g0"); | ||||
| 	 | ||||
| 	if (man0g1Quest ~= nil) then	 | ||||
| 		if (triggerName == "talkDefault") then | ||||
| 			callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_4");					 | ||||
| 		end		 | ||||
| 	end | ||||
|  | ||||
| 	player:EndEvent(); | ||||
| 	 | ||||
| end | ||||
| @@ -0,0 +1,14 @@ | ||||
| require ("global") | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	man0g1Quest = player:GetQuest("Man0g0"); | ||||
| 	 | ||||
| 	if (man0g1Quest ~= nil) then	 | ||||
| 		if (triggerName == "talkDefault") then | ||||
| 			callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_6");					 | ||||
| 		end		 | ||||
| 	end | ||||
|  | ||||
| 	player:EndEvent(); | ||||
| 	 | ||||
| end | ||||
| @@ -0,0 +1,12 @@ | ||||
| function init(npc) | ||||
| 	return false, false, 0, 0;	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	if (triggerName == "caution") then | ||||
| 		worldMaster = GetWorldMaster(); | ||||
| 		player:SendGameMessage(player, worldMaster, 34109, 0x20); | ||||
| 	elseif (triggerName == "exit") then		 | ||||
| 	end | ||||
| 	player:EndEvent(); | ||||
| end | ||||
| @@ -0,0 +1,15 @@ | ||||
| require ("global") | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	man0g1Quest = player:GetQuest("Man0g0"); | ||||
| 	 | ||||
| 	if (man0g1Quest ~= nil) then	 | ||||
| 		if (triggerName == "talkDefault") then | ||||
| 			callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_2");		 | ||||
| 			 | ||||
| 		end		 | ||||
| 	end | ||||
| 	 | ||||
| 	player:EndEvent(); | ||||
|  | ||||
| end | ||||
| @@ -0,0 +1,14 @@ | ||||
| require ("global") | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	man0g1Quest = player:GetQuest("Man0g0"); | ||||
| 	 | ||||
| 	if (man0g1Quest ~= nil) then	 | ||||
| 		if (triggerName == "talkDefault") then | ||||
| 			callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_5");					 | ||||
| 		end		 | ||||
| 	end | ||||
| 	 | ||||
| 	player:EndEvent(); | ||||
| 	 | ||||
| end | ||||
		Reference in New Issue
	
	Block a user