Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. {
  2. function confirmed_rest()
  3. if Hp_percent() == 100 and Mp_percent() == 100 then
  4. if crawl.yesnoquit("Really wait turns while HP and MP are full?", true, 'n') == 1 then
  5. crawl.process_keys("5")
  6. else
  7. return
  8. crawl.mpr("Rest command was denied by confirmation process.")
  9. end
  10. else
  11. crawl.process_keys("5")
  12. end
  13. end
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement