SHARE
TWEET

Untitled

a guest Sep 14th, 2017 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** Global ***
  2.  
  3. ANDR_AegisbaneReturned
  4.  
  5. *** Check GoldReward Leveled Item ***
  6.  
  7. *** Place Aegisbane in house, initially disabled, name ref: AegisbaneHouseRef ***
  8.  
  9. *** Voice file editting ***
  10.  
  11. *** Dialogue topic ***
  12.  
  13. Does this warhammer belong to you, perhaps? (Give Aegisbane)
  14.  
  15. -> Yes, how did you get it?
  16.  
  17. -> Never mind. Here, take this as a token of my gratitude.
  18.  
  19. Conditions:
  20.  
  21. GetIsId == Torbjorn
  22.  
  23. GetItemCount > 0, Aegisbane, run on player
  24.  
  25. GetGlobalValue = 0 ANDR_AegisbaneReturned
  26.  
  27. *** Dialogue Script ***
  28.  
  29. Event OnDialogueEnd()
  30.  
  31. ANDR_AegisBaneReturned.SetValue(1)
  32. PlayerRef.RemoveItem(Aegisbane)
  33. PlayerRef.AddItem(GoldReward)
  34. TorbjornRef.SetRelationshipRank(PlayerRef, 2)
  35. If !NilsineRef.IsDead()
  36.     NilsineRef.SetRelationshipRank(PlayerRef, 2)
  37. EndIf
  38. If !TovaRef.IsDead()
  39.     TovaRef.SetRelationshipRank(PlayerRef, 2)
  40. EndIf
  41. AegisbaneHouseRef.Enable()
  42.  
  43. EndEvent
  44.  
  45. Actor Property PlayerRef Auto
  46. Weapon Property Aegisbane Auto
  47. LeveledObject Property GoldReward Auto ; ?
  48. GlobalVariable Property ANDR_AegisbaneReturned Auto
  49. Actor Property TorbjornRef Auto
  50. Actor Property NilsineRef Auto
  51. Actor Property TovaRef Auto
  52. ObjectRefence Property AegisbaneHouseRef Auto
RAW Paste Data
Top