Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. SIDEQUEST.ZIP
  2.  
  3. -- FIX: sidequest done - Nightsong
  4. -- OnOneTimeEvent
  5. -- {
  6. -- EventName = "sidequest 2 done (graves)",
  7. -- Conditions =
  8. -- {
  9. -- QuestIsActive {Player = "default", Quest = "SSSR_SQ_05_1"},
  10. -- AvatarHasItemMisc {Player = "default", ItemId = 735, Amount = 3},
  11. -- },
  12. -- Actions =
  13. -- {
  14. -- QuestSetSolved {Player = "default", Quest = "SSSR_SQ_05_1"},
  15. -- },
  16. -- },
  17.  
  18. NIGHTSONG.ZIP
  19.  
  20. -- TO STATE: choice
  21. _uState7Trans1 = GdsCreateTransition (_uState7, _uState7, "State_7", "State_7_T1", "Dialog")
  22. _uState7Trans1:AddCondition (CScriptConditionValue('', 'GDS_DialogChoiceOneTimeFlag1(NIGHTSONG)', 0, 2))
  23. _uState7Trans1:AddCondition (CScriptConditionValue('', 'mf_P708_Arg1_Done', 0, 2))
  24. _uState7Trans1:AddCondition (CScriptConditionQuestState('pl_Human', 'SSSR_SQ_05_1', 1))
  25. --FIX: Only 2 swords are needed, not 3.
  26. _uState7Trans1:AddCondition (CScriptConditionPlayerHasItem('pl_Human', 3, 735, 2, 1, 1))
  27. _uState7Trans1:AddAction (CScriptActionChoice("P708_DLG_NIGHTSONG_009PC", "*Show the swords of the Norcaine leaders.*", 1, 16777215))
  28. _uState7Trans1:AddAction (CScriptActionValueModify('', 'GDS_DialogChoiceOneTimeFlag1(NIGHTSONG)', 1, 4))
  29. _uState7Trans1:AddAction (CScriptActionValueModify('', 'GDS_DialogShowChoicesFlag(NIGHTSONG)', 1, 4))
  30. _uState7Trans1 = nil
  31.  
  32. CS5_GODS.ZIP
  33. --FIX: prevent Zarach from vanishing.
  34. --FigureVanish {Tag = "zarach"},
  35.  
  36. _P710_West_Westguard.zip
  37.  
  38. --Sword
  39. AvatarItemMiscGive {Player = "default", ItemId = 735, Amount = 3},
  40. --Frozen fish
  41. AvatarItemMiscGive {Player = "default", ItemId = 736, Amount = 1},
  42. --Amulet
  43. AvatarItemMiscGive {Player = "default", ItemId = 737, Amount = 1},
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement