Biogenerator (#30694)

* biogenerator

* ack

* test success!

* fix tests

* increase price of reagents
This commit is contained in:
Nemanja
2024-09-08 01:34:22 -04:00
committed by GitHub
parent 6fcb5cf148
commit efe54e011e
9 changed files with 422 additions and 0 deletions

View File

@@ -193,6 +193,23 @@
stackRequirements:
Plasma: 5
- type: entity
id: BiogeneratorMachineCircuitboard
parent: BaseMachineCircuitboard
name: biogenerator machine board
description: A machine printed circuit board for a biogenerator.
components:
- type: Sprite
state: service
- type: MachineBoard
prototype: Biogenerator
stackRequirements:
MatterBin: 2
tagRequirements:
GlassBeaker:
amount: 1
defaultPrototype: Beaker
- type: entity
id: UniformPrinterMachineCircuitboard
parent: BaseMachineCircuitboard

View File

@@ -430,6 +430,7 @@
- ProtolatheMachineCircuitboard
- AutolatheMachineCircuitboard
- CircuitImprinterMachineCircuitboard
- BiogeneratorMachineCircuitboard
- OreProcessorMachineCircuitboard
- ElectrolysisUnitMachineCircuitboard
- CentrifugeMachineCircuitboard
@@ -1150,6 +1151,70 @@
- RawMaterial
- Ingot
- type: entity
id: Biogenerator
parent: BaseLathe
name: biogenerator
description: Converts plants into biomass, which can be used to construct useful items.
components:
- type: Sprite
sprite: Structures/Machines/biofabricator.rsi
snapCardinals: true
layers:
- state: icon
map: ["enum.LatheVisualLayers.IsRunning"]
- state: unlit
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: inserting
map: ["enum.MaterialStorageVisualLayers.Inserting"]
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Machine
board: BiogeneratorMachineCircuitboard
- type: MaterialStorage
insertOnInteract: false
canEjectStoredMaterials: false
- type: ProduceMaterialExtractor
- type: ItemSlots
slots:
beaker_slot:
name: lathe-component-output-slot-beaker-name
whitelist:
components:
- FitsInDispenser
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container
beaker_slot: !type:ContainerSlot
- type: Lathe
reagentOutputSlotId: beaker_slot
idleState: icon
runningState: building
staticRecipes:
- BioGenMilk
- BioGenMilkSoy
- BioGenEthanol
- BioGenCream
- BioGenBlackpepper
- BioGenEnzyme
- BioGenFlour
- BioGenSugar
- BioGenMonkeyCube
- BioGenKoboldCube
- BioGenMaterialCloth1
- BioGenMaterialCardboard1
- BioGenPaper
- BioGenPaperRolling1
- BioGenCandle
- BioGenPlantBGone
- BioGenWeedKiller
- BioGenPestKiller
- BioGenLeft4Zed
- BioGenEZNutrient
- BioGenRobustHarvest
- type: entity
parent: BaseLathe
id: OreProcessor