staves.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # non-projectile / "gun" staves
  2. # wand that gives lights an RGB effect.
  3. - type: entity
  4. id: RGBStaff
  5. parent: BaseItem
  6. name: RGB staff
  7. description: Helps fix the underabundance of RGB gear on the station.
  8. components:
  9. - type: Sprite
  10. sprite: Objects/Weapons/Guns/Basic/staves.rsi
  11. layers:
  12. - state: nothing
  13. - state: nothing-unshaded
  14. shader: unshaded
  15. - type: ActionOnInteract
  16. actions:
  17. - ActionRgbLight
  18. - type: STWeight
  19. self: 3
  20. - type: Item
  21. size: Normal
  22. inhandVisuals:
  23. left:
  24. - state: staff-inhand-left
  25. - state: staff-inhand-left-unshaded
  26. shader: unshaded
  27. right:
  28. - state: staff-inhand-right
  29. - state: staff-inhand-right-unshaded
  30. shader: unshaded
  31. - type: RgbLightController
  32. - type: PointLight
  33. enabled: true
  34. radius: 2
  35. - type: entity
  36. id: AnimationStaff
  37. parent: [BaseItem]
  38. name: staff of animation
  39. description: Brings inanimate objects to life!
  40. components:
  41. - type: Sprite
  42. sprite: Objects/Weapons/Guns/Basic/staves.rsi
  43. layers:
  44. - state: animation
  45. - type: ActionOnInteract
  46. actions:
  47. - ActionAnimateSpell
  48. - type: STWeight
  49. self: 3
  50. - type: Item
  51. size: Normal
  52. inhandVisuals:
  53. left:
  54. - state: animation-inhand-left
  55. right:
  56. - state: animation-inhand-right
  57. - type: Tag
  58. tags:
  59. - WizardWand
  60. - type: entity
  61. id: ActionRgbLight
  62. components:
  63. - type: EntityTargetAction
  64. whitelist: { components: [PointLight] }
  65. charges: 25
  66. sound: /Audio/Magic/blink.ogg
  67. event: !type:ChangeComponentsSpellEvent
  68. toAdd:
  69. - type: RgbLightController