Solar Panels (#936)
This commit is contained in:
@@ -62,6 +62,35 @@
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
|
||||
- type: entity
|
||||
id: SolarPanel
|
||||
name: Solar Panel
|
||||
description: Generates power from sunlight. Usually used to power replacements for sunlight. Fragile.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
layer: 31
|
||||
- type: Sprite
|
||||
sprite: Buildings/solar_panel.rsi
|
||||
state: normal
|
||||
- type: Icon
|
||||
sprite: Buildings/solar_panel.rsi
|
||||
state: normal
|
||||
- type: PowerGenerator
|
||||
- type: SolarPanel
|
||||
supply: 1500
|
||||
- type: Rotatable
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Damageable
|
||||
- type: Breakable
|
||||
thresholdvalue: 100
|
||||
|
||||
- type: entity
|
||||
id: WPPnobattery
|
||||
name: WPPnobattery
|
||||
|
||||
BIN
Resources/Textures/Buildings/solar_panel.rsi/broken.png
Normal file
BIN
Resources/Textures/Buildings/solar_panel.rsi/broken.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 B |
1
Resources/Textures/Buildings/solar_panel.rsi/meta.json
Normal file
1
Resources/Textures/Buildings/solar_panel.rsi/meta.json
Normal file
@@ -0,0 +1 @@
|
||||
{"version":1,"license":"CC-BY-SA-3.0","copyright":"Taken from https://github.com/discordia-space/CEV-Eris/blob/d1e0161af146835f4fb79d21a6200caa9cc842d0/icons/obj/power.dmi and modified.","size":{"x":32,"y":32},"states":[{"name":"normal","select":[],"flags":{},"directions":8},{"name":"broken","select":[],"flags":{},"directions":1}]}
|
||||
BIN
Resources/Textures/Buildings/solar_panel.rsi/normal.png
Normal file
BIN
Resources/Textures/Buildings/solar_panel.rsi/normal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 886 B |
Reference in New Issue
Block a user