Skip to content

Commit c09bfd9

Browse files
committed
Added the spawners + sprite.
1 parent 593bf56 commit c09bfd9

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- type: entity
2+
parent: MarkerBase
3+
id: RandomSolarPanelState
4+
name: Random solar panel
5+
components:
6+
- type: Sprite
7+
layers:
8+
- sprite: DeltaV/Structures/Power/Generation/solar_panel.rsi
9+
state: random_solar
10+
- type: RandomSpawner
11+
offset: 0
12+
prototypes:
13+
- SolarPanel
14+
- SolarPanelBroken
15+
rareChance: 0.65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version":1,
3+
"license":"CC-BY-SA-3.0",
4+
"copyright":"Taken from https://github.com/discordia-space/CEV-Eris/blob/d1e0161af146835f4fb79d21a6200caa9cc842d0/icons/obj/power.dmi and modified. Modified by Radezolid for random solar spawner",
5+
"size":{"x":32,"y":32},
6+
"states":
7+
[
8+
{
9+
"name": "random_solar"
10+
}
11+
]
12+
}
Loading

0 commit comments

Comments
 (0)