Skip to content

Commit

Permalink
Makes mail teleporter craftable. (#832)
Browse files Browse the repository at this point in the history
* Makes mail teleporter craftable.

Makes a mail teleporter craftable and only provides the board to the LO's locker.
The point of this PR is to allow courier's to perhaps still be able to keep goin, even if the mail teleporter that was mapped was nuked/destroyed/vanished.
To-do:
Figure out why it gives an error and not make it when you do all steps and screwdriver it.

* makes it craftable.

* Makes it work

* Update mailTeleporter.yml

* Update heads.yml

---------

Signed-off-by: Adrian16199 <[email protected]>
Co-authored-by: Velcroboy <[email protected]>
  • Loading branch information
2 people authored and nearlyNonexistent committed Apr 14, 2024
1 parent d51a74a commit 79b96f9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
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

0 comments on commit 79b96f9

Please sign in to comment.