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