Skip to content
Draft
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
1 change: 1 addition & 0 deletions Resources/Prototypes/Recipes/Lathes/Packs/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
id: CargoBoards
recipes:
- OreProcessorIndustrialMachineCircuitboard
- OreMagnetMachineCircuitboard # Mono
# - CargoTelepadMachineCircuitboard # Frontier
- ShuttleGunKineticCircuitboard
- WeaponTurretM25Circuitboard # Mono
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- WeaponGrapplingGun # Frontier
- MineralScannerEmpty
- OreProcessorIndustrialMachineCircuitboard
- OreMagnetMachineCircuitboard
- ClothingMaskWeldingGas
- ClothingShoesBootsJump
- MechEquipmentDrill # Goobstation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
- id: MaterialReclaimerMachineCircuitboard
- id: OreProcessorIndustrialMachineCircuitboard
- id: OreProcessorMachineCircuitboard
- id: OreMagnetMachineCircuitboard # Mono
- id: ShredderMachineCircuitboard
- id: ShuttleGunKineticCircuitboard
- id: NFScrapProcessorCircuitboard
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- type: entity
id: OreMagnetMachineCircuitboard
parent: BaseMachineCircuitboard
name: ore magnet machine board
description: A machine printed circuit board for an ore magnet.
components:
- type: Sprite
state: engineering
- type: MachineBoard
prototype: MachineOreMagnet
requirements:
Capacitor: 4
stackRequirements:
Steel: 5
CableHV: 5
123 changes: 123 additions & 0 deletions Resources/Prototypes/_Mono/Entities/Structures/Machines/ore_magnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
- type: entity
parent: [BaseMachinePowered, ConstructibleMachine]
id: MachineOreMagnet
name: ore magnet
description: Uses a powerful magnet to suck in ore. Has an internal storage.
components:
- type: MagnetPickup
magnetEnabled: false
magnetCanBeEnabled: false
range: 30
- type: Sprite
sprite: Structures/Machines/salvage.rsi
layers:
- state: salvage-magnet
- state: salvage-magnet-o4
shader: unshaded
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- state: salvage-magnet-ready-blinking
visible: false
map: [ "enum.ToggleableVisuals.Layer" ]
- type: LitOnPowered
- type: PointLight
radius: 1.5
energy: 1.6
color: "#3db83b"
castShadows: false
- type: AmbientSound
volume: -10
range: 5
sound:
path: /Audio/Ambience/Objects/hdd_buzz.ogg
- type: Appearance
- type: ApcPowerReceiver
powerLoad: 7000
- type: ExtensionCableReceiver
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 1
max: 2
- type: Rotatable
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
density: 500
mask:
- MachineMask
layer:
- MachineLayer
- type: Storage
grid:
- 0,0,19,9
maxItemSize: Normal
storageOpenSound: /Audio/Effects/closetopen.ogg
storageCloseSound: /Audio/Effects/closetclose.ogg
whitelist:
tags:
- Ore
- ArtifactFragment
- type: UserInterface
interfaces:
enum.StorageUiKey.Key:
type: StorageBoundUserInterface
- type: Dumpable
multiplier: 0.15
- type: ItemToggle
soundActivate: &soundActivate
collection: sparks
params:
variation: 0.25
soundDeactivate: *soundActivate
onUse: false
onAltUse: true
onActivate: false
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
enum.ToggleableVisuals.Enabled:
enum.ToggleableVisuals.Layer:
True: { visible: True }
False: { visible: False }
- type: ItemToggleExamine
on: item-toggle-examine-magnet-on
off: item-toggle-examine-magnet-off
- type: Machine
board: OreMagnetMachineCircuitboard
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
machine_board: !type:Container
machine_parts: !type:Container

- type: entity
name: ore magnet flatpack
id: OreMagnetFlatpack
parent: BaseNFFlatpack
description: A flatpack used for constructing an ore magnet.
components:
- type: Flatpack
entity: MachineOreMagnet
- type: StaticPrice
price: 6500
vendPrice: 10000
5 changes: 5 additions & 0 deletions Resources/Prototypes/_Mono/Recipes/Lathes/electronics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@
parent: BaseGoldCircuitboardRecipe
id: CentrifugeLatheMiniCircuitboard
result: CentrifugeLatheMiniCircuitboard

- type: latheRecipe
parent: BaseGoldCircuitboardRecipe
id: OreMagnetMachineCircuitboard
result: OreMagnetMachineCircuitboard
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
startingInventory:
#ShuttleGunKineticFlatpack: 4294967295 # Infinite
OreProcessorFlatpack: 4294967295 # Infinite
OreMagnetFlatpack: 4294967295 # Infinite
AutolatheFlatpack: 4294967295 # Infinite
HydroponicsTrayEmptyFlatpack: 4294967295 # Get a food ship, or an atmost ship - Mono Infinite
ExosuitFabricatorFlatpack: 4294967295 # Infinite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@
- PortableGeneratorPacmanMachineCircuitboard
- ReagentGrinderMachineCircuitboard
- OreProcessorMachineCircuitboard
- OreMagnetMachineCircuitboard
- MicrowaveMachineCircuitboard
- SurveillanceWirelessCameraMovableCircuitboard
- PowerComputerCircuitboard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
- SalvageTechFabCircuitboardNF
- AutolatheMachineCircuitboard
- OreProcessorMachineCircuitboard
- OreMagnetMachineCircuitboard
# Machines
- MaterialReclaimerMachineCircuitboard
- SpaceHeaterMachineCircuitBoard
Expand Down
Loading