Adds the ChemMaster 4000 (#1398)

This commit is contained in:
ike709
2020-07-17 15:41:19 -05:00
committed by GitHub
parent 37a893c8ad
commit e65c64af14
13 changed files with 1216 additions and 1 deletions

View 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

View File

@@ -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