Daemonion

this?

Jun 7th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. ;;;;;;;;;;;;;;;;;;
  2. ; found in scripts\sound_theme.script
  3. ;;;;;;;;;;;;;;;;;;
  4.  
  5. function weather_class(avail_types, npc)
  6. local type = "weather_good"
  7. if level.rain_factor() < 0.07 then
  8. type = "weather_good"
  9. else
  10. type = "weather_bad"
  11. end
  12. return type
  13. end
Advertisement
Add Comment
Please, Sign In to add comment