123456789101112131415161718192021222324252627282930313233343536 |
- --[[
- Script Name : SpawnScripts/Nettleville/FriarMontego.lua
- Script Purpose : Friar Montego <Nettleville Restoration Project>
- Script Author : Scatman
- Script Date : 2009.08.08
- Script Notes :
- --]]
- function spawn(NPC, Spawn)
- end
- function respawn(NPC, Spawn)
- spawn(NPC, Spawn)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- RandomVoiceOver(NPC, Spawn)
- local choice = math.random(1, 2)
- if choice == 1 then
- PlayFlavor(NPC, "", "Please give to the Nettleville Restoration Project, building homes for those who have none.", "", 1689589577, 4560189, Spawn)
- elseif choice == 2 then
- PlayFlavor(NPC, "", "Alms for the poor... Anyone, anyone?", "", 1689589577, 4560189, Spawn)
- end
- end
- function RandomVoiceOver(NPC, Spawn)
- local choice = math.random(1, 3)
- if choice == 1 then
- PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "", "", 0, 0, Spawn)
- elseif choice == 2 then
- PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
- else
- PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "", "", 0, 0, Spawn)
- end
- end
|