Guest User

Untitled

a guest
Sep 22nd, 2019
116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. image/spotlight
  2. plane = -1
  3. blend_mode = BLEND_ADD
  4. icon = 'icons/light.dmi'
  5. icon_state = "circle"
  6. mouse_opacity = 0
  7. alpha = 0
  8.  
  9. New(icon,loc,icon_state,layer,dir)
  10. ..()
  11. var matrix/m = new
  12. m.Scale(9, 9)
  13. m.Translate(44, 40)
  14. transform = m
  15. var anim_scale = 0.9
  16. var matrix/base_transform = transform
  17. var matrix/anim_transform = new
  18. anim_transform.Scale(9, 9)
  19. anim_transform.Translate(44 * 1.1, 40 * 1.1)
  20. anim_transform *= anim_scale
  21. animate(src, transform = anim_transform, time = 7, loop = -1, easing = SINE_EASING)
  22. animate(transform = base_transform, time = 7)
  23. animate(src, alpha = 255, time = 25, flags = ANIMATION_PARALLEL)
  24.  
  25. obj
  26. plane_lighten
  27. plane = -1
  28. blend_mode = BLEND_ADD
  29. mouse_opacity = 0
  30. icon = 'icons/box.dmi'
  31. screen_loc = "CENTER:12, CENTER:12"
  32.  
  33. New(set_alpha)
  34. ..()
  35. var/matrix/m = matrix()
  36. m.Scale(33, 25)
  37. transform = m
  38. animate(src, alpha = set_alpha || 24, time = 10)
  39.  
  40. dispose_custom()
  41. set waitfor = 0
  42. if(!isactive(src))
  43. return
  44. datum_state = DATUM_STATE_INACTIVE
  45. animate(src, alpha = 255, time = 15)
  46. sleep(15)
  47. ..()
  48.  
  49.  
  50. obj
  51. base_plane
  52. plane = 0
  53. appearance_flags = PLANE_MASTER | PIXEL_SCALE
  54. screen_loc = "1, 1"
  55.  
  56. New()
  57. transform *= 2
  58.  
  59. dark
  60. blend_mode = BLEND_MULTIPLY
  61. appearance_flags = PLANE_MASTER | PIXEL_SCALE | NO_CLIENT_COLOR
  62. color = list(null, null, null, "#0000", "#000f")
  63. mouse_opacity = 0
  64.  
  65. flower_mist
  66. screen_loc = "SOUTH,WEST to NORTH,EAST"
  67. icon = 'icons/blur.dmi'
  68. icon_state = "3"
  69. /*
  70. New()
  71. ..()
  72. animate(src, alpha = 192, time = 10, loop = -1, easing = CIRCULAR_EASING)
  73. animate(alpha = 255, time = 5)
  74. */
RAW Paste Data