From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Thu, 4 Jan 2024 05:51:22 +0000 (+0300) Subject: Toy Tesla (#23370) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=29973bac731d5626f2a587e100692cad70da3f8d;p=space-station-14.git Toy Tesla (#23370) * teddy tesla * Update Resources/Prototypes/Entities/Objects/Fun/toys.yml --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> --- diff --git a/Resources/Prototypes/Entities/Objects/Fun/toys.yml b/Resources/Prototypes/Entities/Objects/Fun/toys.yml index 41233ffecd..63d956f7b3 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/toys.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/toys.yml @@ -822,6 +822,32 @@ sprite: Objects/Fun/toys.rsi heldPrefix: singularitytoy +- type: entity + parent: BaseItem + id: TeslaToy + name: Teddy Tesla + description: The favorite toy of the great engineer Nikola Tesla. + components: + - type: Sprite + sprite: Structures/Power/Generation/Tesla/energy_miniball.rsi + shader: unshaded + layers: + - state: tesla_projectile + - type: PointLight + enabled: true + radius: 5 + color: "#4080FF" + - type: Electrified + shockDamage: 2 + shockTime: 0.8 + requirePower: false + - type: EmitSoundOnCollide + sound: + path: /Audio/Effects/Lightning/lightningshock.ogg + params: + variation: 0.65 + volume: -10 + - type: entity parent: BaseItem id: PonderingOrb