Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Space Restrictor with rain v1

By: Daemonion on May 30th, 2012  |  syntax: None  |  size: 1.71 KB  |  hits: 280  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [logic]
  2. active = sr_idle
  3.  
  4. [sr_idle]
  5. on_actor_inside = sr_sound_act@in_house %+interior_whitenoise_playing%
  6.  
  7. [sr_idle@day_check]
  8. {=is_day} sr_sound_act@outdoor_day %-interior_whitenoise_playing%, {!is_day} sr_sound_act@outdoor_night %-interior_whitenoise_playing%
  9.  
  10. [sr_sound_act@in_house]
  11. theme = sr_indoor_wood
  12. delay = 0
  13. max_delay = 0
  14. stereo = false
  15. on_actor_outside = {=is_day} sr_sound_act@outdoor_day %-interior_whitenoise_playing%, {!is_day} sr_sound_act@outdoor_night %-interior_whitenoise_playing%
  16. on_info = {+its_raining} sr_sound_act@in_house_its_raining
  17.  
  18. [sr_sound_act@in_house_its_raining]
  19. theme = sr_indoor_wood_rain
  20. delay = 0
  21. max_delay = 0
  22. stereo = false
  23. on_info = {-its_raining} sr_sound_act@underground
  24. on_actor_outside = sr_sound_act@raining_outside %-interior_whitenoise_playing%
  25.  
  26. [sr_sound_act@outdoor_day]
  27. theme = outdoor_white_noise_day
  28. delay = 0
  29. delay_max = 0
  30. max_delay = 0
  31. stereo = false
  32. on_actor_inside = sr_idle %+interior_whitenoise_playing%
  33. on_info = {!is_day} sr_sound_act@outdoor_night
  34. on_info2 = {+interior_whitenoise_playing} sr_idle
  35. on_info3 = {+its_raining} sr_sound_act@raining_outside
  36.  
  37. [sr_sound_act@outdoor_night]
  38. theme = outdoor_white_noise_night
  39. delay = 0
  40. delay_max = 0
  41. stereo = false
  42. on_actor_inside = sr_idle %+interior_whitenoise_playing%
  43. on_info = {=is_day} sr_sound_act@outdoor_day
  44. on_info2 = {+interior_whitenoise_playing} sr_idle
  45. on_info3 = {+its_raining} sr_sound_act@raining_outside
  46.  
  47. [sr_sound_act@raining_outside]
  48. theme = outdoor_white_noise_day_rain
  49. delay = 0
  50. delay_max = 0
  51. max_delay = 0
  52. stereo = false
  53. on_actor_inside = sr_idle %+interior_whitenoise_playing%
  54. on_info = {+interior_whitenoise_playing} sr_idle
  55. on_info2 = {-its_raining} sr_idle@day_check