Portable scrubbers (#9417)
This commit is contained in:
@@ -5,4 +5,5 @@ gas_vent - https://freesound.org/people/kyles/sounds/453642/ - CC0-1.0
|
||||
flowing_water_open - https://freesound.org/people/sterferny/sounds/382322/ - CC0-1.0
|
||||
server_fans - https://freesound.org/people/DeVern/sounds/610761/ - CC-BY-3.0
|
||||
drain.ogg - https://freesound.org/people/PhreaKsAccount/sounds/46266/ - CC-BY-3.0 (by PhreaKsAccount)
|
||||
alarm.ogg - https://github.com/Baystation12/Baystation12/commit/41b11ef289bccfdfa2940480beb9c1e3f50c3b93, fire_alarm.ogg CC-BY-SA-3.0
|
||||
portable_scrubber.ogg - https://freesound.org/people/Beethovenboy/sounds/384335/ - CC0 (by Beethovenboy)
|
||||
alarm.ogg - https://github.com/Baystation12/Baystation12/commit/41b11ef289bccfdfa2940480beb9c1e3f50c3b93, fire_alarm.ogg CC-BY-SA-3.0
|
||||
|
||||
BIN
Resources/Audio/Ambience/Objects/portable_scrubber.ogg
Normal file
BIN
Resources/Audio/Ambience/Objects/portable_scrubber.ogg
Normal file
Binary file not shown.
1
Resources/Locale/en-US/atmos/portable-scrubber.ftl
Normal file
1
Resources/Locale/en-US/atmos/portable-scrubber.ftl
Normal file
@@ -0,0 +1 @@
|
||||
portable-scrubber-fill-level = It's at about [color=yellow]{$percent}%[/color] of its maximum internal pressure.
|
||||
@@ -265,6 +265,7 @@
|
||||
- IndustrialEngineering
|
||||
unlockedRecipes:
|
||||
- ThermomachineFreezerMachineCircuitBoard
|
||||
- PortableScrubberMachineCircuitBoard
|
||||
|
||||
# Avionics Circuitry Technology Tree
|
||||
|
||||
|
||||
@@ -156,6 +156,21 @@
|
||||
graph: ThermomachineBoard
|
||||
node: heater
|
||||
|
||||
- type: entity
|
||||
id: PortableScrubberMachineCircuitBoard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: portable scrubber machine board
|
||||
description: A PCB for a portable scrubber.
|
||||
components:
|
||||
- type: MachineBoard
|
||||
prototype: PortableScrubber
|
||||
requirements:
|
||||
MatterBin: 3
|
||||
Laser: 2
|
||||
ScanningModule: 1
|
||||
materialRequirements:
|
||||
Cable: 5
|
||||
|
||||
- type: entity
|
||||
id: CloningPodMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
@@ -396,7 +411,7 @@
|
||||
materialRequirements:
|
||||
Glass: 2
|
||||
Cable: 2
|
||||
|
||||
|
||||
- type: entity
|
||||
id: EmitterCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
|
||||
@@ -240,6 +240,7 @@
|
||||
- SMESMachineCircuitboard
|
||||
- SubstationMachineCircuitboard
|
||||
- ThermomachineFreezerMachineCircuitBoard
|
||||
- PortableScrubberMachineCircuitBoard
|
||||
- CloningPodMachineCircuitboard
|
||||
- MedicalScannerMachineCircuitboard
|
||||
- CrewMonitoringComputerCircuitboard
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
- type: entity
|
||||
id: PortableScrubber
|
||||
parent: BaseStructureDynamic
|
||||
name: portable scrubber
|
||||
description: It scrubs, portably!
|
||||
components:
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.4
|
||||
mass: 50
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Piping/Atmospherics/Portable/portable_scrubber.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["enum.PortableScrubberVisualLayers.IsRunning"]
|
||||
- state: unlit
|
||||
shader: unshaded
|
||||
map: ["enum.PowerDeviceVisualLayers.Powered"]
|
||||
- state: draining
|
||||
shader: unshaded
|
||||
visible: false
|
||||
map: ["enum.PortableScrubberVisualLayers.IsDraining"]
|
||||
- type: Pullable
|
||||
- type: AtmosDevice
|
||||
joinSystem: true
|
||||
- type: PortableScrubber
|
||||
gasMixture:
|
||||
volume: 1250
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
port:
|
||||
!type:PortablePipeNode
|
||||
nodeGroupID: Pipe
|
||||
rotationsEnabled: false
|
||||
volume: 1
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 2000
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: PowerDeviceVisualizer
|
||||
- type: PortableScrubberVisuals
|
||||
idleState: icon
|
||||
runningState: icon-running
|
||||
readyState: unlit
|
||||
fullState: unlit-full
|
||||
- type: AmbientSound
|
||||
enabled: false
|
||||
volume: -5
|
||||
range: 5
|
||||
sound:
|
||||
path: /Audio/Ambience/Objects/portable_scrubber.ogg
|
||||
- type: Machine
|
||||
board: PortableScrubberMachineCircuitBoard
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 300
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 3
|
||||
SheetGlass1:
|
||||
min: 1
|
||||
max: 3
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: CollideOnAnchor
|
||||
enable: true
|
||||
@@ -54,6 +54,16 @@
|
||||
Glass: 900
|
||||
Gold: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: PortableScrubberMachineCircuitBoard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
result: PortableScrubberMachineCircuitBoard
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 150
|
||||
Glass: 900
|
||||
Gold: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: MedicalScannerMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -357,7 +367,7 @@
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: EmitterCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a, and modified a bit by Rane",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-running",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "unlit"
|
||||
},
|
||||
{
|
||||
"name": "unlit-full"
|
||||
},
|
||||
{
|
||||
"name": "draining"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 705 B |
Binary file not shown.
|
After Width: | Height: | Size: 706 B |
Reference in New Issue
Block a user