* teddy tesla

* Update Resources/Prototypes/Entities/Objects/Fun/toys.yml

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Ed
2024-01-04 08:51:22 +03:00
committed by GitHub
parent e77b4bd4f3
commit 29973bac73

View File

@@ -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