Adds disposal mailing units (again) (#7630)
This commit is contained in:
@@ -239,6 +239,7 @@
|
||||
- ComputerTelevisionCircuitboard
|
||||
- AirAlarmElectronics
|
||||
- FireAlarmElectronics
|
||||
- MailingUnitElectronics
|
||||
- HolofanProjector
|
||||
|
||||
- type: technology
|
||||
|
||||
@@ -64,3 +64,8 @@
|
||||
id: SmartLight #used by powered lights.
|
||||
name: device-frequency-prototype-name-lights
|
||||
frequency: 1173
|
||||
|
||||
- type: deviceFrequency
|
||||
id: MailingUnit
|
||||
name: device-frequency-prototype-name-mailing-units
|
||||
frequency: 2300
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
- type: entity
|
||||
id: MailingUnitElectronics
|
||||
parent: BaseItem
|
||||
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
|
||||
@@ -181,6 +181,7 @@
|
||||
- APCElectronics
|
||||
- AirAlarmElectronics
|
||||
- FireAlarmElectronics
|
||||
- MailingUnitElectronics
|
||||
- Bucket
|
||||
- MopItem
|
||||
- SprayBottle
|
||||
|
||||
@@ -85,3 +85,57 @@
|
||||
interfaces:
|
||||
- key: enum.DisposalUnitUiKey.Key
|
||||
type: DisposalUnitBoundUserInterface
|
||||
|
||||
|
||||
- type: entity
|
||||
id: MailingUnit
|
||||
parent: DisposalUnitBase
|
||||
name: mailing unit
|
||||
description: A pneumatic mail delivery unit.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Piping/disposal.rsi
|
||||
layers:
|
||||
- state: conmailing
|
||||
map: [ "enum.DisposalUnitVisualLayers.Base" ]
|
||||
- state: mailover-handle
|
||||
map: [ "enum.DisposalUnitVisualLayers.Handle" ]
|
||||
- state: dispover-ready
|
||||
map: [ "enum.DisposalUnitVisualLayers.Light" ]
|
||||
- type: Construction
|
||||
graph: DisposalMachine
|
||||
node: mailing_unit
|
||||
- type: DisposalUnit
|
||||
flushTime: 2
|
||||
autoEngageEnabled: false
|
||||
mobsCanEnter: false
|
||||
- type: MailingUnit
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
receiveFrequencyId: MailingUnit
|
||||
transmitFrequencyId: MailingUnit
|
||||
- type: WiredNetworkConnection
|
||||
- type: Configuration
|
||||
config:
|
||||
tag:
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: DisposalUnitVisualizer
|
||||
state_unanchored: conmailing
|
||||
state_anchored: mailing
|
||||
state_charging: mailing-charging
|
||||
overlay_charging: dispover-charge
|
||||
overlay_ready: dispover-ready
|
||||
overlay_full: dispover-full
|
||||
overlay_engaged: mailover-handle
|
||||
state_flush: mailing-flush
|
||||
flush_sound:
|
||||
path: /Audio/Machines/disposalflush.ogg
|
||||
flush_time: 2
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.MailingUnitUiKey.Key
|
||||
type: DisposalUnitBoundUserInterface
|
||||
- key: enum.ConfigurationUiKey.Key
|
||||
type: ConfigurationBoundUserInterface
|
||||
|
||||
@@ -68,12 +68,15 @@
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 0.25
|
||||
#- to: frame_mailing
|
||||
# steps:
|
||||
# - ... # 1x mailing unit electronics
|
||||
# amount: 1
|
||||
# - tool: Screwing
|
||||
# doAfter: 0.25
|
||||
- to: frame_mailing
|
||||
steps:
|
||||
- tag: MailingUnitElectronics
|
||||
name: Mailing Unit Electronics
|
||||
icon:
|
||||
sprite: "Objects/Misc/module.rsi"
|
||||
state: "net_wired"
|
||||
- tool: Screwing
|
||||
doAfter: 0.25
|
||||
- node: frame_unit
|
||||
entity: DisposalMachineFrame
|
||||
actions:
|
||||
@@ -105,6 +108,37 @@
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 1
|
||||
- node: frame_mailing
|
||||
entity: DisposalMachineFrame
|
||||
actions:
|
||||
- !type:SpriteStateChange
|
||||
state: "frame_unit"
|
||||
edges:
|
||||
- to: frame_electronics
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 0.25
|
||||
- to: mailing_unit
|
||||
conditions:
|
||||
- !type:EntityAnchored
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- node: mailing_unit
|
||||
entity: MailingUnit
|
||||
edges:
|
||||
- to: frame_mailing
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 1
|
||||
- !type:EmptyAllContainers
|
||||
conditions:
|
||||
- !type:EntityAnchored
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 1
|
||||
- node: frame_inlet
|
||||
entity: DisposalMachineFrame
|
||||
actions:
|
||||
|
||||
@@ -134,6 +134,19 @@
|
||||
sprite: Structures/Piping/disposal.rsi
|
||||
state: "disposal"
|
||||
|
||||
- type: construction
|
||||
name: mailing unit
|
||||
id: MailingUnit
|
||||
graph: DisposalMachine
|
||||
startNode: start
|
||||
targetNode: mailing_unit
|
||||
category: Utilities
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
icon:
|
||||
sprite: Structures/Piping/disposal.rsi
|
||||
state: "mailing"
|
||||
|
||||
- type: construction
|
||||
name: disposal pipe
|
||||
id: DisposalPipe
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
Steel: 50
|
||||
Plastic: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: MailingUnitElectronics
|
||||
icon: Objects/Misc/module.rsi/net_wired.png
|
||||
result: MailingUnitElectronics
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 50
|
||||
Plastic: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: DoorElectronics
|
||||
icon: Objects/Misc/module.rsi/door_electronics.png
|
||||
|
||||
@@ -305,6 +305,9 @@
|
||||
- type: Tag
|
||||
id: Matchstick
|
||||
|
||||
- type: Tag
|
||||
id: MailingUnitElectronics
|
||||
|
||||
- type: Tag
|
||||
id: Medkit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user