Adds small lights and small light bulbs. (#156)

In the future, someone might want to edit the sprites so the bulb is white and not yellow.
Here's some screenshots:
![image](https://user-images.githubusercontent.com/6766154/54878560-d9242e80-4e2e-11e9-8fde-39ae082f34b0.png)
![image](https://user-images.githubusercontent.com/6766154/54878572-f3f6a300-4e2e-11e9-95a1-253a5504922f.png)
This commit is contained in:
Víctor Aguilera Puerto
2019-03-24 18:05:32 +01:00
committed by Pieter-Jan Briers
parent 03856b79b4
commit d9ff72c907
14 changed files with 101 additions and 5 deletions

View File

@@ -46,6 +46,32 @@
- type: PoweredLight
load: 40
bulb: Tube
- type: entity
name: Small Light
id: poweredsmalllight
parent: wall_light
components:
- type: Clickable
- type: BoundingBox
- type: Sprite
sprite: Buildings/light_small.rsi
state: off
- type: Icon
sprite: Buildings/light_small.rsi
state: off
- type: PointLight
energy: 1.0
state: Off
- type: PowerDevice
priority: Low
- type: PoweredLight
load: 40
bulb: Bulb
- type: entity
parent: BaseItem
@@ -68,4 +94,20 @@
- type: Icon
sprite: Objects/light_tube.rsi
state: normal
- type: entity
parent: BaseLightbulb
name: Light Bulb
id: LightBulb
components:
- type: LightBulb
bulb: Bulb
- type: Sprite
sprite: Objects/light_bulb.rsi
state: normal
- type: Icon
sprite: Objects/light_bulb.rsi
state: normal