DummyWireComponent (#3011)
* DummyWireComponent * connector wire proto names * comment fix * Uses IMapInit * Removes unused icon components * Moves component to client * Renames component Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
supplyRate: 3000
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: ClientEntitySpawner
|
||||
prototypes:
|
||||
- HVDummyWire
|
||||
|
||||
- type: entity
|
||||
id: BaseSmes
|
||||
@@ -93,7 +96,10 @@
|
||||
activeSupplyRate: 1000
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
|
||||
- type: ClientEntitySpawner
|
||||
prototypes:
|
||||
- HVDummyWire
|
||||
|
||||
- type: entity
|
||||
id: BaseSubstation
|
||||
description: Reduces the voltage of electricity put into it.
|
||||
@@ -148,7 +154,11 @@
|
||||
activeSupplyRate: 1000
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
|
||||
- type: ClientEntitySpawner
|
||||
prototypes:
|
||||
- HVDummyWire
|
||||
- MVDummyWire
|
||||
|
||||
- type: entity
|
||||
id: BaseApc
|
||||
description: A control terminal for the area's electrical systems.
|
||||
@@ -201,7 +211,11 @@
|
||||
- type: Construction
|
||||
graph: apc
|
||||
node: apc
|
||||
|
||||
- type: ClientEntitySpawner
|
||||
prototypes:
|
||||
- MVDummyWire
|
||||
- LVDummyWire
|
||||
|
||||
- type: entity
|
||||
id: SolarPanel
|
||||
name: solar panel
|
||||
@@ -249,3 +263,6 @@
|
||||
acts: ["Breakage"]
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: ClientEntitySpawner
|
||||
prototypes:
|
||||
- HVDummyWire
|
||||
@@ -138,3 +138,60 @@
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
#Dummy wires
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
id: BaseDummyWire
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Sprite
|
||||
drawdepth: BelowFloor
|
||||
- type: IconSmooth
|
||||
mode: CardinalFlags
|
||||
- type: SubFloorHide
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: BaseDummyWire
|
||||
id: HVDummyWire
|
||||
name: HV Connector Wire
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Constructible/Power/hv_cable.rsi
|
||||
state: hvcable_0
|
||||
- type: IconSmooth
|
||||
base: hvcable_
|
||||
key: hv_cables
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: BaseDummyWire
|
||||
id: MVDummyWire
|
||||
name: MV Connector Wire
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Constructible/Power/mv_cable.rsi
|
||||
state: mvcable_0
|
||||
color: Yellow
|
||||
- type: IconSmooth
|
||||
base: mvcable_
|
||||
key: mv_cables
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: BaseDummyWire
|
||||
id: LVDummyWire
|
||||
name: LV Connector Wire
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Constructible/Power/lv_cable.rsi
|
||||
state: lvcable_0
|
||||
color: Green
|
||||
- type: IconSmooth
|
||||
base: lvcable_
|
||||
key: lv_cables
|
||||
Reference in New Issue
Block a user