artifact crusher (#22301)

This commit is contained in:
Nemanja
2023-12-11 18:15:47 -05:00
committed by GitHub
parent 0433d3b06a
commit 6e91346ff3
23 changed files with 501 additions and 1 deletions

View File

@@ -217,6 +217,22 @@
Steel: 5
Cable: 1
- type: entity
id: ArtifactCrusherMachineCircuitboard
parent: BaseMachineCircuitboard
name: artifact crusher machine board
description: A machine printed circuit board for an artifact crusher.
components:
- type: Sprite
state: science
- type: MachineBoard
prototype: MachineArtifactCrusher
requirements:
Manipulator: 2
materialRequirements:
Glass: 1
Steel: 5
- type: entity
parent: BaseMachineCircuitboard
id: AnomalyVesselCircuitboard

View File

@@ -133,3 +133,81 @@
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
- type: entity
id: MachineArtifactCrusher
parent: [ ConstructibleMachine, BaseMachinePowered ]
name: artifact crusher
description: Best not to let your fingers get stuck...
components:
- type: ArtifactCrusher
crushingWhitelist:
components:
- Artifact
crushingDamage:
types:
Blunt: 10
- type: Machine
board: ArtifactCrusherMachineCircuitboard
- type: Wires
boardName: wires-board-name-crusher
layoutId: Crusher
- type: WiresPanel
- type: Sprite
sprite: Structures/Machines/artifact_crusher.rsi
offset: 0,0.5
noRot: true
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]
- state: door-closed
map: ["enum.StorageVisualLayers.Door"]
- state: piston
map: ["pistonlayer"]
- state: glass
- state: lights
map: ["enum.PowerDeviceVisualLayers.Powered"]
shader: unshaded
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.45
density: 50
mask:
- HighImpassable
layer:
- HighImpassable
- type: EntityStorage
capacity: 1
whitelist:
components:
- Artifact
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ArtifactCrusherVisuals.Crushing:
pistonlayer:
True: {state: piston-push}
False: {state: piston}
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
- type: EntityStorageVisuals
stateDoorClosed: door-closed
openDrawDepth: 0
closedDrawDepth: 4
- type: Construction
containers:
- machine_board
- machine_parts
- entity_storage
- output_container
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container
entity_storage: !type:Container
output_container: !type:Container

View File

@@ -374,6 +374,7 @@
- APECircuitboard
- ArtifactAnalyzerMachineCircuitboard
- TraversalDistorterMachineCircuitboard
- ArtifactCrusherMachineCircuitboard
- BoozeDispenserMachineCircuitboard
- SodaDispenserMachineCircuitboard
- TelecomServerCircuitboard

View File

@@ -240,6 +240,15 @@
Glass: 900
Gold: 100
- type: latheRecipe
id: ArtifactCrusherMachineCircuitboard
result: ArtifactCrusherMachineCircuitboard
completetime: 4
materials:
Steel: 100
Glass: 900
Gold: 100
- type: latheRecipe
id: AnomalyVesselCircuitboard
result: AnomalyVesselCircuitboard

View File

@@ -97,6 +97,7 @@
cost: 5000
recipeUnlocks:
- TraversalDistorterMachineCircuitboard
- ArtifactCrusherMachineCircuitboard
- type: technology
id: AdvancedAnomalyResearch