Scriptname MGPostQuestScript
;This script handles all variables and scripting for post-quest dialogue and conversation in the Mages Guild quest line
short assignmentscomplete
short rankincrease
short finalexpel
short achievementdone
begin gamemode
if ( GetStage MG18KingofWorms == 100 )
if ( achievementdone == 0 )
if ( isxbox == 1 )
addachievement 40
set achievementdone to 1
endif
endif
endif
if ( GetStage MGExpulsion02 == 100 )
if finalexpel == 0
if ( GetPCFactionSteal MagesGuild == 1 )
SetPCExpelled MagesGuild 1
player.removeitem MagesGuildKey 1
elseif ( GetPCFactionMurder MagesGuild == 1 )
setPCExpelled MagesGuild 1
player.removeitem MagesGuildKey 1
endif
set finalexpel to 1
endif
endif
End
|