staves.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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: Item
  19. size: Normal
  20. inhandVisuals:
  21. left:
  22. - state: staff-inhand-left
  23. - state: staff-inhand-left-unshaded
  24. shader: unshaded
  25. right:
  26. - state: staff-inhand-right
  27. - state: staff-inhand-right-unshaded
  28. shader: unshaded
  29. - type: RgbLightController
  30. - type: PointLight
  31. enabled: true
  32. radius: 2
  33. - type: entity
  34. id: AnimationStaff
  35. parent: [ BaseItem, BaseMagicalContraband ]
  36. name: staff of animation
  37. description: Brings inanimate objects to life!
  38. components:
  39. - type: Sprite
  40. sprite: Objects/Weapons/Guns/Basic/staves.rsi
  41. layers:
  42. - state: animation
  43. - type: ActionOnInteract
  44. actions:
  45. - ActionAnimateSpell
  46. - type: Item
  47. size: Normal
  48. inhandVisuals:
  49. left:
  50. - state: animation-inhand-left
  51. right:
  52. - state: animation-inhand-right
  53. - type: Tag
  54. tags:
  55. - WizardWand
  56. - type: entity
  57. id: ActionRgbLight
  58. components:
  59. - type: EntityTargetAction
  60. whitelist: { components: [ PointLight ] }
  61. charges: 25
  62. sound: /Audio/Magic/blink.ogg
  63. event: !type:ChangeComponentsSpellEvent
  64. toAdd:
  65. - type: RgbLightController