Solar Panels (#936)

This commit is contained in:
20kdc
2020-05-21 20:08:03 +01:00
committed by GitHub
parent b270c69512
commit 0cfd2f3bb2
7 changed files with 187 additions and 1 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

View 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}]}

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B