Adds disposal mailing units (again) (#7630)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
device-frequency-prototype-name-atmos = Atmospheric Devices
|
||||
device-frequency-prototype-name-suit-sensors = Suit Sensors
|
||||
device-frequency-prototype-name-lights = Smart Lights
|
||||
device-frequency-prototype-name-mailing-units = Mailing Units
|
||||
|
||||
## camera frequencies
|
||||
device-frequency-prototype-name-surveillance-camera-test = Subnet Test
|
||||
|
||||
@@ -1,25 +1,8 @@
|
||||
## UI
|
||||
|
||||
disposal-mailing-unit-window-state-label = State:
|
||||
disposal-mailing-unit-window-ready-state = Ready
|
||||
disposal-mailing-unit-pressure-label = Pressure:
|
||||
disposal-mailing-unit-handle-label = Handle:
|
||||
disposal-mailing-unit-engage-button = Engage
|
||||
disposal-mailing-unit-eject-label = Eject:
|
||||
disposal-mailing-unit-eject-button = Eject Contents
|
||||
disposal-mailing-unit-power-button = Power
|
||||
disposal-mailing-unit-destination-select-label = Select a destination:
|
||||
disposal-mailing-unit-unit-self-reference = This unit:
|
||||
disposal-mailing-unit-is-valid-interaction-cannot-interact = You can't do that!
|
||||
disposal-mailing-unit-is-valid-interaction-cannot-reach = You can't reach there!
|
||||
disposal-mailing-unit-is-valid-interaction-no-hands = You have no hands.
|
||||
ui-mailing-unit-window-title = {$tag} mailing unit
|
||||
|
||||
## SelfInsertVerb
|
||||
|
||||
disposal-self-insert-verb-get-data-text = Jump inside
|
||||
|
||||
## FlushVerb
|
||||
|
||||
disposal-flush-verb-get-data-text = Flush
|
||||
|
||||
disposal-eject-verb-contents = contents
|
||||
ui-mailing-unit-button-flush = Send
|
||||
ui-mailing-unit-destination-select-label = Select a destination:
|
||||
ui-mailing-unit-self-reference-label = This unit:
|
||||
ui-mailing-unit-target-label = Destination:
|
||||
|
||||
@@ -10,6 +10,11 @@ ui-disposal-unit-button-flush = Flush
|
||||
ui-disposal-unit-button-eject = Eject Contents
|
||||
ui-disposal-unit-button-power = Power
|
||||
|
||||
## No hands
|
||||
## FlushVerb
|
||||
disposal-flush-verb-get-data-text = Flush
|
||||
|
||||
## SelfInsertVerb
|
||||
disposal-self-insert-verb-get-data-text = Jump inside
|
||||
|
||||
## No hands
|
||||
disposal-unit-no-hands = You don't have hands!
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
BIN
Resources/Textures/Structures/Piping/disposal.rsi/conmailing.png
Normal file
BIN
Resources/Textures/Structures/Piping/disposal.rsi/conmailing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 421 B |
Binary file not shown.
|
After Width: | Height: | Size: 503 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Resources/Textures/Structures/Piping/disposal.rsi/mailing.png
Normal file
BIN
Resources/Textures/Structures/Piping/disposal.rsi/mailing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 452 B |
Binary file not shown.
|
After Width: | Height: | Size: 184 B |
@@ -16,6 +16,15 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "conmailing",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "conpipe-c",
|
||||
"directions": 4,
|
||||
@@ -187,6 +196,15 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mailing",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disposal-charging",
|
||||
"directions": 1,
|
||||
@@ -196,6 +214,15 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mailing-charging",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disposal-flush",
|
||||
"directions": 1,
|
||||
@@ -213,6 +240,23 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mailing-flush",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.5,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dispover-charge",
|
||||
"directions": 1,
|
||||
@@ -242,6 +286,15 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mailover-handle",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dispover-ready",
|
||||
"directions": 1,
|
||||
|
||||
Reference in New Issue
Block a user