1234567891011121314151617181920212223242526272829303132333435 |
- --[[
- Script Name : SpawnScripts/BigBend/thexmonument04broken.lua
- Script Author : torsten
- Script Date : 2022.07.20 06:07:41
- Script Purpose :
- :
- --]]
- local TheStolenArtifactsofThex = 5683
- function casted_on(NPC, Spawn, SpellName)
- if SpellName == 'inspect' then
- local con = CreateConversation()
- AddConversationOption(con, "Stop inspecting.","Close")
- if HasLanguage(Spawn,2) and GetQuestStepProgress(Spawn,TheStolenArtifactsofThex,4)==0 then
- AddConversationOption(con, "Make a note of the artifact.","Dialog2")
- end
- StartDialogConversation(con, 1, NPC, Spawn, "This is a toppled stone marker. It has sadistic looking symbols bordering writing that is clearly not a common tongue. It is impossible to read the writing due to the damage sustained by the artifact.")
- end
- end
- function Dialog2(NPC, Spawn)
- local con = CreateConversation()
- SetStepComplete(Spawn, TheStolenArtifactsofThex, 4)
- AddConversationOption(con, "Stop studying.","Close")
- StartDialogConversation(con, 1, NPC, Spawn, "You make a note of the location of the Thex artifact as ordered by Kylanith D'Lar.")
- end
- function Close(NPC,Spawn)
- CloseConversation(NPC,Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|