biofabricator (#23319)
* initial implementation * implement * more mobs * add tech * buff abomination * uncopypaste desc * add sprite * fix sprite * remove biomass tag * inden't * less plasma for fish
This commit is contained in:
@@ -27,6 +27,7 @@ research-technology-mechanized-treatment = Mechanized Treatment
|
|||||||
research-technology-virology = Virology
|
research-technology-virology = Virology
|
||||||
research-technology-cryogenics = Cryogenics
|
research-technology-cryogenics = Cryogenics
|
||||||
research-technology-chemical-dispensary = Chemical Dispensary
|
research-technology-chemical-dispensary = Chemical Dispensary
|
||||||
|
research-technology-biofabrication = Biofabrication
|
||||||
research-technology-crew-monitoring = Crew Monitoring
|
research-technology-crew-monitoring = Crew Monitoring
|
||||||
research-technology-bluespace-chemistry = Bluespace Chemistry
|
research-technology-bluespace-chemistry = Bluespace Chemistry
|
||||||
research-technology-cloning = Cloning
|
research-technology-cloning = Cloning
|
||||||
|
|||||||
@@ -643,7 +643,7 @@
|
|||||||
shape:
|
shape:
|
||||||
!type:PhysShapeCircle
|
!type:PhysShapeCircle
|
||||||
radius: 0.40
|
radius: 0.40
|
||||||
density: 1400
|
density: 400
|
||||||
mask:
|
mask:
|
||||||
- MobMask
|
- MobMask
|
||||||
layer:
|
layer:
|
||||||
|
|||||||
@@ -67,6 +67,19 @@
|
|||||||
DefaultPrototype: Igniter
|
DefaultPrototype: Igniter
|
||||||
ExamineName: Igniter
|
ExamineName: Igniter
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: BiofabricatorMachineCircuitboard
|
||||||
|
parent: BaseMachineCircuitboard
|
||||||
|
name: biofabricator machine board
|
||||||
|
description: A machine printed circuit board for a biofabricator.
|
||||||
|
components:
|
||||||
|
- type: MachineBoard
|
||||||
|
prototype: Biofabricator
|
||||||
|
requirements:
|
||||||
|
MatterBin: 4
|
||||||
|
materialRequirements:
|
||||||
|
Glass: 1
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: SecurityTechFabCircuitboard
|
id: SecurityTechFabCircuitboard
|
||||||
parent: BaseMachineCircuitboard
|
parent: BaseMachineCircuitboard
|
||||||
|
|||||||
@@ -53,12 +53,103 @@
|
|||||||
parent: MonkeyCube
|
parent: MonkeyCube
|
||||||
id: KoboldCube
|
id: KoboldCube
|
||||||
name: kobold cube
|
name: kobold cube
|
||||||
description: Just add water!
|
|
||||||
components:
|
components:
|
||||||
- type: Rehydratable
|
- type: Rehydratable
|
||||||
possibleSpawns:
|
possibleSpawns:
|
||||||
- MobKobold
|
- MobKobold
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: CowCube
|
||||||
|
name: cow cube
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobCow
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: GoatCube
|
||||||
|
name: goat cube
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobGoat
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: MothroachCube
|
||||||
|
name: mothroach cube
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobMothroach
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: MouseCube
|
||||||
|
name: mouse cube
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobMouse
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: CockroachCube
|
||||||
|
name: cockroach cube
|
||||||
|
description: Just add wa- OH GOD!
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobCockroach
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: SpaceCarpCube
|
||||||
|
name: carp cube
|
||||||
|
description: Just add water! At your own risk.
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobCarp
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: SpaceTickCube
|
||||||
|
name: tick cube
|
||||||
|
description: Just add water! At your own risk.
|
||||||
|
components:
|
||||||
|
- type: Rehydratable
|
||||||
|
possibleSpawns:
|
||||||
|
- MobTick
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MonkeyCube
|
||||||
|
id: AbominationCube
|
||||||
|
name: abomination cube
|
||||||
|
description: Just add blood!
|
||||||
|
components:
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
cube:
|
||||||
|
maxVol: 10 # needs room for more blood
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Blood
|
||||||
|
Quantity: 9
|
||||||
|
- type: Reactive
|
||||||
|
reactions:
|
||||||
|
- reagents: [Blood]
|
||||||
|
methods: [Touch, Ingestion, Injection]
|
||||||
|
effects:
|
||||||
|
- !type:AddToSolutionReaction
|
||||||
|
solution: cube
|
||||||
|
- type: Rehydratable
|
||||||
|
catalyst: Blood # blood is fuel
|
||||||
|
catalystMinimum: 10
|
||||||
|
possibleSpawns:
|
||||||
|
- MobAbomination
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: PlushieCarp
|
parent: PlushieCarp
|
||||||
id: DehydratedSpaceCarp
|
id: DehydratedSpaceCarp
|
||||||
|
|||||||
@@ -370,6 +370,7 @@
|
|||||||
- ChemMasterMachineCircuitboard
|
- ChemMasterMachineCircuitboard
|
||||||
- ChemDispenserMachineCircuitboard
|
- ChemDispenserMachineCircuitboard
|
||||||
- BiomassReclaimerMachineCircuitboard
|
- BiomassReclaimerMachineCircuitboard
|
||||||
|
- BiofabricatorMachineCircuitboard
|
||||||
- SurveillanceCameraRouterCircuitboard
|
- SurveillanceCameraRouterCircuitboard
|
||||||
- SurveillanceCameraMonitorCircuitboard
|
- SurveillanceCameraMonitorCircuitboard
|
||||||
- SurveillanceWirelessCameraMonitorCircuitboard
|
- SurveillanceWirelessCameraMonitorCircuitboard
|
||||||
@@ -552,6 +553,49 @@
|
|||||||
guides:
|
guides:
|
||||||
- Robotics
|
- Robotics
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: Biofabricator
|
||||||
|
parent: BaseLathe
|
||||||
|
name: biofabricator
|
||||||
|
description: Produces animal cubes using biomass.
|
||||||
|
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: BiofabricatorMachineCircuitboard
|
||||||
|
- type: MaterialStorage
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- Sheet
|
||||||
|
- RawMaterial
|
||||||
|
- type: Lathe
|
||||||
|
idleState: icon
|
||||||
|
runningState: building
|
||||||
|
staticRecipes:
|
||||||
|
- MonkeyCube
|
||||||
|
- KoboldCube
|
||||||
|
- CowCube
|
||||||
|
- GoatCube
|
||||||
|
- MothroachCube
|
||||||
|
- MouseCube
|
||||||
|
- CockroachCube
|
||||||
|
- type: EmagLatheRecipes
|
||||||
|
emagStaticRecipes:
|
||||||
|
- AbominationCube
|
||||||
|
- SpaceCarpCube
|
||||||
|
- SpaceTickCube
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: SecurityTechFab
|
id: SecurityTechFab
|
||||||
parent: BaseLathe
|
parent: BaseLathe
|
||||||
|
|||||||
@@ -164,6 +164,15 @@
|
|||||||
Glass: 900
|
Glass: 900
|
||||||
Gold: 100
|
Gold: 100
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: BiofabricatorMachineCircuitboard
|
||||||
|
result: BiofabricatorMachineCircuitboard
|
||||||
|
completetime: 4
|
||||||
|
materials:
|
||||||
|
Steel: 100
|
||||||
|
Glass: 900
|
||||||
|
Gold: 100
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: HydroponicsTrayMachineCircuitboard
|
id: HydroponicsTrayMachineCircuitboard
|
||||||
result: HydroponicsTrayMachineCircuitboard
|
result: HydroponicsTrayMachineCircuitboard
|
||||||
|
|||||||
74
Resources/Prototypes/Recipes/Lathes/rehydrateable.yml
Normal file
74
Resources/Prototypes/Recipes/Lathes/rehydrateable.yml
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
# recipes should generally cost 1.5x to 2x of the biomass output of their mob
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: MonkeyCube
|
||||||
|
result: MonkeyCube
|
||||||
|
completetime: 30
|
||||||
|
materials:
|
||||||
|
Biomass: 16
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: KoboldCube
|
||||||
|
result: KoboldCube
|
||||||
|
completetime: 30
|
||||||
|
materials:
|
||||||
|
Biomass: 16
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: CowCube
|
||||||
|
result: CowCube
|
||||||
|
completetime: 30
|
||||||
|
materials:
|
||||||
|
Biomass: 120
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: GoatCube
|
||||||
|
result: GoatCube
|
||||||
|
completetime: 30
|
||||||
|
materials:
|
||||||
|
Biomass: 35
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: MothroachCube
|
||||||
|
result: MothroachCube
|
||||||
|
completetime: 45 # prevent biblical floods
|
||||||
|
materials:
|
||||||
|
Biomass: 20 # a lot of materials wasted due to complex genetics
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: MouseCube
|
||||||
|
result: MouseCube
|
||||||
|
completetime: 15
|
||||||
|
materials:
|
||||||
|
Biomass: 12
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: CockroachCube
|
||||||
|
result: CockroachCube
|
||||||
|
completetime: 15
|
||||||
|
materials:
|
||||||
|
Biomass: 16
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: SpaceCarpCube
|
||||||
|
result: SpaceCarpCube
|
||||||
|
completetime: 30
|
||||||
|
materials:
|
||||||
|
Biomass: 24
|
||||||
|
Plasma: 600
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: SpaceTickCube
|
||||||
|
result: SpaceTickCube
|
||||||
|
completetime: 15
|
||||||
|
materials:
|
||||||
|
Biomass: 8
|
||||||
|
Plasma: 300 # less biomass but more plasma
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: AbominationCube
|
||||||
|
result: AbominationCube
|
||||||
|
completetime: 30
|
||||||
|
materials: # abominations are slow and essentially worse than even carp
|
||||||
|
Biomass: 28
|
||||||
|
Plasma: 500 # more biomass but less plasma
|
||||||
@@ -90,6 +90,19 @@
|
|||||||
recipeUnlocks:
|
recipeUnlocks:
|
||||||
- CryoPodMachineCircuitboard
|
- CryoPodMachineCircuitboard
|
||||||
|
|
||||||
|
- type: technology
|
||||||
|
id: Biofabrication
|
||||||
|
name: research-technology-biofabrication
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Machines/biofabricator.rsi
|
||||||
|
state: icon
|
||||||
|
discipline: Biochemical
|
||||||
|
tier: 2
|
||||||
|
cost: 10000
|
||||||
|
recipeUnlocks:
|
||||||
|
- BiofabricatorMachineCircuitboard
|
||||||
|
- BiomassReclaimerMachineCircuitboard
|
||||||
|
|
||||||
- type: technology
|
- type: technology
|
||||||
id: ChemicalDispensary
|
id: ChemicalDispensary
|
||||||
name: research-technology-chemical-dispensary
|
name: research-technology-chemical-dispensary
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 960 B |
Binary file not shown.
|
After Width: | Height: | Size: 716 B |
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/338c826d1c3172eecd86d8430608669543dce0cc",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "building",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inserting",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 195 B |
Binary file not shown.
|
After Width: | Height: | Size: 405 B |
Reference in New Issue
Block a user