Cleanup and re-parenting of wallmount/door electronics (#11397)

This commit is contained in:
corentt
2022-09-22 17:57:24 +02:00
committed by GitHub
parent 9f31d69dc6
commit 5464e8a0d7
13 changed files with 35 additions and 63 deletions

View File

@@ -1,27 +1,19 @@
- type: entity - type: entity
id: AirAlarmElectronics id: AirAlarmElectronics
parent: BaseItem parent: BaseElectronics
name: air alarm electronics name: air alarm electronics
description: An electronics board used in air alarms description: An electronics board used in air alarms
components: components:
- type: Tag
tags:
- AirAlarmElectronics
- DroneUsable
- type: Sprite - type: Sprite
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: airalarm_electronics state: airalarm_electronics
- type: entity - type: entity
id: FireAlarmElectronics id: FireAlarmElectronics
parent: BaseItem parent: BaseElectronics
name: fire alarm electronics name: fire alarm electronics
description: An electronics board used in fire alarms description: An electronics board used in fire alarms
components: components:
- type: Tag
tags:
- FireAlarmElectronics
- DroneUsable
- type: Sprite - type: Sprite
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: airalarm_electronics state: airalarm_electronics

View File

@@ -0,0 +1,16 @@
- type: entity
id: BaseElectronics
parent: BaseItem
name: base electronics
abstract: true
suffix: Electronics
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: generic
netsync: false
- type: Tag
tags:
- DroneUsable
- type: StaticPrice
price: 100

View File

@@ -1,13 +1,9 @@
- type: entity - type: entity
id: MailingUnitElectronics id: MailingUnitElectronics
parent: BaseItem parent: BaseElectronics
name: mailing unit electronics name: mailing unit electronics
description: An electronics board used in mailing units description: An electronics board used in mailing units
components: components:
- type: Tag
tags:
- MailingUnitElectronics
- DroneUsable
- type: Sprite - type: Sprite
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: net_wired state: net_wired

View File

@@ -1,13 +1,9 @@
- type: entity - type: entity
id: DoorElectronics id: DoorElectronics
parent: BaseItem parent: BaseElectronics
name: door electronics name: door electronics
description: An electronics board used in doors and airlocks description: An electronics board used in doors and airlocks
components: components:
- type: Tag
tags:
- DoorElectronics
- DroneUsable
- type: Sprite - type: Sprite
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: door_electronics state: door_electronics

View File

@@ -1,16 +1,10 @@
- type: entity - type: entity
id: FirelockElectronics id: FirelockElectronics
parent: BaseItem parent: BaseElectronics
name: firelock electronics name: firelock electronics
description: An electronics board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door. description: An electronics board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door.
components: components:
- type: Tag
tags:
- FirelockElectronics
- DroneUsable
- type: Sprite - type: Sprite
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: mainboard state: mainboard
netsync: false netsync: false
- type: StaticPrice
price: 100

View File

@@ -1,7 +1,7 @@
# APC # APC
- type: entity - type: entity
id: APCElectronics id: APCElectronics
parent: BaseItem parent: BaseElectronics
name: APC electronics name: APC electronics
description: Circuit used in APC construction. description: Circuit used in APC construction.
components: components:
@@ -10,13 +10,11 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: charger_APC state: charger_APC
netsync: false netsync: false
- type: StaticPrice
price: 100
# Wallmount Substation # Wallmount Substation
- type: entity - type: entity
id: WallmountSubstationElectronics id: WallmountSubstationElectronics
parent: BaseItem parent: BaseElectronics
name: wallmount substation electronics name: wallmount substation electronics
description: Circuit used to construct a wallmount substation. description: Circuit used to construct a wallmount substation.
components: components:
@@ -24,13 +22,11 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: charger_APC state: charger_APC
netsync: false netsync: false
- type: StaticPrice
price: 100
# Wallmount Generator # Wallmount Generator
- type: entity - type: entity
id: WallmountGeneratorElectronics id: WallmountGeneratorElectronics
parent: BaseItem parent: BaseElectronics
name: wallmount generator electronics name: wallmount generator electronics
description: Circuit used to construct a wallmount generator. description: Circuit used to construct a wallmount generator.
components: components:
@@ -38,13 +34,11 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: charger_APC state: charger_APC
netsync: false netsync: false
- type: StaticPrice
price: 100
# APU # APU
- type: entity - type: entity
id: WallmountGeneratorAPUElectronics id: WallmountGeneratorAPUElectronics
parent: BaseItem parent: BaseElectronics
name: wallmount APU electronics name: wallmount APU electronics
description: Circuit used to construct a wallmount APU. description: Circuit used to construct a wallmount APU.
components: components:
@@ -52,12 +46,10 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: charger_APC state: charger_APC
netsync: false netsync: false
- type: StaticPrice
price: 100
# Solar Tracker Electronics # Solar Tracker Electronics
- type: entity - type: entity
parent: BaseItem parent: BaseElectronics
id: SolarTrackerElectronics id: SolarTrackerElectronics
name: solar tracker electronics name: solar tracker electronics
description: Advanced circuit board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door. description: Advanced circuit board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door.
@@ -66,5 +58,3 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: generic state: generic
netsync: false netsync: false
- type: StaticPrice
price: 100

View File

@@ -48,7 +48,7 @@
conditions: conditions:
- !type:EntityAnchored {} - !type:EntityAnchored {}
steps: steps:
- tag: DoorElectronics - prototype: DoorElectronics
store: board store: board
name: "door electronics circuit board" name: "door electronics circuit board"
icon: icon:

View File

@@ -44,7 +44,7 @@
- !type:EntityAnchored - !type:EntityAnchored
anchored: true anchored: true
steps: steps:
- tag: DoorElectronics - prototype: DoorElectronics
name: Door Electronics name: Door Electronics
icon: icon:
sprite: "Objects/Misc/module.rsi" sprite: "Objects/Misc/module.rsi"

View File

@@ -25,7 +25,7 @@
conditions: conditions:
- !type:EntityAnchored {} - !type:EntityAnchored {}
steps: steps:
- tag: DoorElectronics - prototype: DoorElectronics
store: board store: board
name: "door electronics circuit board" name: "door electronics circuit board"
icon: icon:

View File

@@ -77,7 +77,7 @@
conditions: conditions:
- !type:EntityAnchored {} - !type:EntityAnchored {}
steps: steps:
- tag: DoorElectronics - prototype: DoorElectronics
store: board store: board
name: "door electronics circuit board" name: "door electronics circuit board"
icon: icon:
@@ -178,7 +178,7 @@
conditions: conditions:
- !type:EntityAnchored { } - !type:EntityAnchored { }
steps: steps:
- tag: DoorElectronics - prototype: DoorElectronics
store: board store: board
name: "door electronics circuit board" name: "door electronics circuit board"
icon: icon:

View File

@@ -36,7 +36,7 @@
edges: edges:
- to: electronics - to: electronics
steps: steps:
- tag: AirAlarmElectronics - prototype: AirAlarmElectronics
store: board store: board
name: "air alarm electronics" name: "air alarm electronics"
icon: icon:
@@ -115,7 +115,7 @@
edges: edges:
- to: electronics - to: electronics
steps: steps:
- tag: FireAlarmElectronics - prototype: FireAlarmElectronics
store: board store: board
name: "fire alarm electronics" name: "fire alarm electronics"
icon: icon:

View File

@@ -70,7 +70,7 @@
doAfter: 0.25 doAfter: 0.25
- to: frame_mailing - to: frame_mailing
steps: steps:
- tag: MailingUnitElectronics - prototype: MailingUnitElectronics
name: Mailing Unit Electronics name: Mailing Unit Electronics
icon: icon:
sprite: "Objects/Misc/module.rsi" sprite: "Objects/Misc/module.rsi"

View File

@@ -3,9 +3,6 @@
- type: Tag - type: Tag
id: AirAlarm id: AirAlarm
- type: Tag
id: AirAlarmElectronics
- type: Tag - type: Tag
id: AirSensor id: AirSensor
@@ -165,9 +162,6 @@
- type: Tag - type: Tag
id: DoorBumpOpener id: DoorBumpOpener
- type: Tag
id: DoorElectronics
- type: Tag - type: Tag
id: DonkPocket id: DonkPocket
@@ -192,9 +186,6 @@
- type: Tag - type: Tag
id: FireAlarm id: FireAlarm
- type: Tag
id: FireAlarmElectronics
- type: Tag - type: Tag
id: FireAxe id: FireAxe
@@ -329,9 +320,6 @@
- type: Tag - type: Tag
id: Matchstick id: Matchstick
- type: Tag
id: MailingUnitElectronics
- type: Tag - type: Tag
id: Medkit id: Medkit