Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Begin artifact_devourer_script
  2.  
  3. short isRead
  4.  
  5. if ( OnActivate == 0 )
  6. return
  7. elseif ( isRead )
  8. Activate
  9. return
  10. endif
  11.  
  12. MessageBox "A strange feeling gnaws at your stomAre you sure you would like to read the book?" "No" "Yes"
  13.  
  14. set isRead to GetButtonPressed
  15.  
  16. if ( isRead )
  17. if ( player->GetSpell "Devourers_Hunger" == 0 )
  18. player->addspell "Devourers_Hunger"
  19. endif
  20. else
  21. PCSkipEquip
  22. set isRead to 0
  23. return
  24. endif
  25.  
  26. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement