Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes mail teleporter craftable. #87

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,19 @@
- type: ReverseEngineering
recipes:
- DeepFryerMachineCircuitboard

- type: entity
id: MailTeleporterMachineCircuitboard
parent: BaseMachineCircuitboard
name: mail teleporter machine board
components:
- type: Sprite
state: supply
- type: MachineBoard
prototype: MailTeleporter
requirements:
Capacitor: 1
MatterBin: 1
materialRequirements:
Steel: 4
Cable: 4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- type: entity
id: MailTeleporter
parent: BaseStructureDynamic
parent: [ BaseMachinePowered, ConstructibleMachine ]
name: mail teleporter
description: Teleports mail addressed to the crew of this station.
components:
Expand Down Expand Up @@ -37,11 +37,11 @@
!type:DamageTrigger
damage: 75
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 1
max: 1
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
acts: ["Destruction"]
- type: ApcPowerReceiver
Expand All @@ -56,3 +56,5 @@
True: {visible: true}
False: {visible: false}
- type: PowerSwitch
- type: Machine
board: MailTeleporterMachineCircuitboard
Loading