mod_public_WC_play_the_piano.qsrc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # mod_public_WC_play_the_piano
  2. if $ARGS[0] = 'Play_the_piano':
  3. minut += 5
  4. instrmusic_exp += 1
  5. gs 'stat'
  6. 'I am playing..'
  7. if hour <= 5 or hour >= 23:
  8. If Tolik ! 2: Tolik = 1
  9. If Tolik = 1: gt 'mod_public_WC_rab_random event', 'event8'
  10. end
  11. if hour >= 7 and hour <= 14:
  12. If Vania ! 2: Vania = 1
  13. If Vania = 1: gt 'mod_public_WC_rab_random event', 'event8'
  14. end
  15. temp = rand(1,5)
  16. if week <= 5 and hour >= 15 and hour <= 19 and temp = 1 and Alove < 20:
  17. if Artem ! 2: Artem = 1
  18. If Artem = 1: gt 'mod_public_WC_rab_random event', 'event8'
  19. end
  20. instrmusic_exp += rand(0,3)
  21. pcs_mood += 5
  22. minut += rand(15,35)
  23. if pcs_instrmusic >= 100:
  24. 'Music fascinated me and took me to another world, music conveyed harmony to everyone around'
  25. pcs_mood += 10
  26. brak -= 3
  27. elseif pcs_instrmusic >= 70:
  28. 'Music comforted my hearing and pleasantly pleased my soul'
  29. pcs_mood += 5
  30. brak -= 2
  31. elseif pcs_instrmusic >= 40:
  32. 'The music is quite entertaining'
  33. brak -= 1
  34. elseif pcs_instrmusic >= 20:
  35. 'I can call it music'
  36. else
  37. 'The cacophony of sounds is cheered me up a little bit.'
  38. pcs_mood -= 3
  39. brak += 1
  40. end
  41. '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/hata/piano.jpg"></center>'
  42. gs 'stat'
  43. act 'Stop playing': gt 'mod_public_WC_rab', 'spat1'
  44. end
  45. --- mod_public_WC_play_the_piano ---------------------------------