mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added scripts for the inn keepers. Added default event conditions to almost all actors. Updated sql for actorClass, spawnLocations, and new zoneEntrances.
This commit is contained in:
		
							
								
								
									
										15
									
								
								data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| function onEventStarted(player, npc) | ||||
| 	defaultSea = getStaticActor("DftSea"); | ||||
| 	player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil); | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc, blah, menuSelect) | ||||
|  | ||||
| 	if (menuSelect == 1) then | ||||
| 		getWorldManager():DoZoneChange(player, 12); | ||||
| 	end | ||||
| 	 | ||||
| 	player:endEvent(); | ||||
| 	 | ||||
| end | ||||
		Reference in New Issue
	
	Block a user