Add a lantern and a radiating light component (#1571)
* added a lantern * Add A Lantern with radiating light * Update meta.json Added copyright information for lantern.rsi
This commit is contained in:
27
Resources/Prototypes/Entities/Objects/Tools/lantern.yml
Normal file
27
Resources/Prototypes/Entities/Objects/Tools/lantern.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- type: entity
|
||||
name: lantern
|
||||
parent: BaseItem
|
||||
id: lantern
|
||||
description: The holy light guides the way
|
||||
components:
|
||||
- type: HandheldLight
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lantern.rsi
|
||||
layers:
|
||||
- state: lantern
|
||||
- state: lantern-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
- type: Icon
|
||||
sprite: Objects/Tools/lantern.rsi
|
||||
state: lantern
|
||||
- type: Item
|
||||
sprite: Objects/Tools/lantern.rsi
|
||||
HeldPrefix: off
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#FFC458"
|
||||
- type: RadiatingLight
|
||||
- type: LoopingSound
|
||||
Reference in New Issue
Block a user