mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
		| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_4", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_5", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_6", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_7", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,20 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrMini003", nil, nil, nil); | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_8", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_9", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_10", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_11", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_12", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,20 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrMini002", nil, nil, nil); | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_13", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,20 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		--player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_9", nil, nil, nil); | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_14", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
| 	 | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_15", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_16", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "talkDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_17", nil, nil, nil); | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,26 +0,0 @@ | ||||
| function onInstantiate(npc) | ||||
| 	return "/Chara/Npc/Populace/PopulaceTutorial", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";	 | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
|  | ||||
| 	man0l0Quest = getStaticActor("Man0l0"); | ||||
|  | ||||
| 	if (triggerName == "pushDefault") then | ||||
| 		player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal002", nil, nil, nil); | ||||
| 		player:setEventStatus(npc, "pushDefault", false, 0x2); | ||||
| 	elseif (triggerName == "talkDefault") then | ||||
| 		--if () then | ||||
| 		--	player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal003", nil, nil, nil); | ||||
| 		--else | ||||
| 			player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrMini001", nil, nil, nil); | ||||
| 		--end | ||||
| 	else | ||||
| 		player:endEvent(); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc)	 | ||||
| 	player:endEvent(); | ||||
| end | ||||
| @@ -1,19 +0,0 @@ | ||||
|  | ||||
|  | ||||
| function onZoneInit(zone) | ||||
| end | ||||
|  | ||||
| function onZoneIn(player) | ||||
| 	openingQuest = player:getQuest(110001); | ||||
| 	 | ||||
| 	--Opening Quest | ||||
| 	if (openingQuest ~= nil) then | ||||
| 		if (openingQuest:GetQuestFlag(0) == false) then | ||||
| 			player:kickEvent(player:getDirector(), "noticeEvent"); | ||||
| 		end | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onZoneOut(zone, player) | ||||
| end | ||||
		Reference in New Issue
	
	Block a user