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
id: AirAlarmElectronics
parent: BaseItem
parent: BaseElectronics
name: air alarm electronics
description: An electronics board used in air alarms
components:
- type: Tag
tags:
- AirAlarmElectronics
- DroneUsable
- type: Sprite
sprite: Objects/Misc/module.rsi
state: airalarm_electronics
- type: entity
id: FireAlarmElectronics
parent: BaseItem
parent: BaseElectronics
name: fire alarm electronics
description: An electronics board used in fire alarms
components:
- type: Tag
tags:
- FireAlarmElectronics
- DroneUsable
- type: Sprite
sprite: Objects/Misc/module.rsi
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
id: MailingUnitElectronics
parent: BaseItem
parent: BaseElectronics
name: mailing unit electronics
description: An electronics board used in mailing units
components:
- type: Tag
tags:
- MailingUnitElectronics
- DroneUsable
- type: Sprite
sprite: Objects/Misc/module.rsi
state: net_wired

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
# APC
- type: entity
id: APCElectronics
parent: BaseItem
parent: BaseElectronics
name: APC electronics
description: Circuit used in APC construction.
components:
@@ -10,13 +10,11 @@
sprite: Objects/Misc/module.rsi
state: charger_APC
netsync: false
- type: StaticPrice
price: 100
# Wallmount Substation
- type: entity
id: WallmountSubstationElectronics
parent: BaseItem
parent: BaseElectronics
name: wallmount substation electronics
description: Circuit used to construct a wallmount substation.
components:
@@ -24,13 +22,11 @@
sprite: Objects/Misc/module.rsi
state: charger_APC
netsync: false
- type: StaticPrice
price: 100
# Wallmount Generator
- type: entity
id: WallmountGeneratorElectronics
parent: BaseItem
parent: BaseElectronics
name: wallmount generator electronics
description: Circuit used to construct a wallmount generator.
components:
@@ -38,13 +34,11 @@
sprite: Objects/Misc/module.rsi
state: charger_APC
netsync: false
- type: StaticPrice
price: 100
# APU
- type: entity
id: WallmountGeneratorAPUElectronics
parent: BaseItem
parent: BaseElectronics
name: wallmount APU electronics
description: Circuit used to construct a wallmount APU.
components:
@@ -52,12 +46,10 @@
sprite: Objects/Misc/module.rsi
state: charger_APC
netsync: false
- type: StaticPrice
price: 100
# Solar Tracker Electronics
- type: entity
parent: BaseItem
parent: BaseElectronics
id: SolarTrackerElectronics
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.
@@ -66,5 +58,3 @@
sprite: Objects/Misc/module.rsi
state: generic
netsync: false
- type: StaticPrice
price: 100

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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