Adds the ChemMaster 4000 (#1398)
This commit is contained in:
33
Resources/Prototypes/Entities/Buildings/chem_master.yml
Normal file
33
Resources/Prototypes/Entities/Buildings/chem_master.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
- type: entity
|
||||
id: chem_master
|
||||
name: ChemMaster 4000
|
||||
description: An industrial grade chemical manipulator with pill and bottle production included.
|
||||
components:
|
||||
- type: Sprite
|
||||
texture: Constructible/Power/mixer.rsi/mixer_loaded.png
|
||||
- type: Icon
|
||||
texture: Constructible/Power/mixer.rsi/mixer_loaded.png
|
||||
- type: ChemMaster
|
||||
- type: PowerReceiver
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Anchorable
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.25,0.4,0.25"
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
IsScrapingFloor: true
|
||||
- type: Physics
|
||||
mass: 25
|
||||
Anchored: true
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.ChemMasterUiKey.Key
|
||||
type: ChemMasterBoundUserInterface
|
||||
@@ -77,3 +77,33 @@
|
||||
- type: Injector
|
||||
injectOnly: false
|
||||
- type: CanSpill
|
||||
|
||||
- type: entity
|
||||
name: bottle
|
||||
parent: BaseItem
|
||||
id: bottle
|
||||
components:
|
||||
- type: Drink
|
||||
- type: Solution
|
||||
maxVol: 30
|
||||
- type: Pourable
|
||||
transferAmount: 5
|
||||
- type: Sprite
|
||||
texture: Objects/Specific/Chemistry/bottle.rsi/bottle.png
|
||||
- type: Icon
|
||||
texture: Objects/Specific/Chemistry/bottle.rsi/bottle.png
|
||||
- type: CanSpill
|
||||
|
||||
- type: entity
|
||||
name: pill
|
||||
parent: FoodBase
|
||||
id: pill
|
||||
description: It's not a suppository.
|
||||
components:
|
||||
- type: Pill
|
||||
- type: Solution
|
||||
maxVol: 50
|
||||
- type: Sprite
|
||||
texture: Objects/Specific/Chemistry/pills.rsi/pill.png
|
||||
- type: Icon
|
||||
texture: Objects/Specific/Chemistry/pills.rsi/pill.png
|
||||
|
||||
Reference in New Issue
Block a user