BodySystem stuff 2: overused boogaloo (#1174)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
GlassEclipse
2020-07-02 13:51:14 -05:00
committed by GitHub
parent 7d346ede28
commit 610ab8bf50
30 changed files with 1493 additions and 688 deletions

View File

@@ -1,3 +1,20 @@
- type: entity
parent: BaseDroppedMechanism
id: HeartMechanismDebug
name: "human heart (debug)"
components:
- type: Sprite
sprite: Objects/BodySystem/Organs/basic_human.rsi
state: heart_human
- type: Icon
sprite: Objects/BodySystem/Organs/basic_human.rsi
state: heart_human
- type: DroppedMechanism
debugLoadMechanismData: mechanism.Heart.BasicHuman
- type: mechanism
id: mechanism.Brain.BasicHuman
name: "human brain"

View File

@@ -1,11 +1,27 @@
- type: entity
parent: BaseItem
id: BaseSurgeryTool
abstract: true
components:
- type: SurgeryTool
surgeryType: Incision
baseOperateTime: 5
- type: UserInterface
interfaces:
- key: enum.GenericSurgeryUiKey.Key
type: GenericSurgeryBoundUserInterface
- type: entity
name: scalpel
parent: BaseItem
parent: BaseSurgeryTool
id: scalpel
desc: A surgical tool used to make incisions into flesh.
components:
- type: SurgeryTool
surgeryToolClass: Incision
surgeryType: Incision
baseOperateTime: 3
- type: Sprite
@@ -22,12 +38,12 @@
- type: entity
name: retractor
parent: BaseItem
parent: BaseSurgeryTool
id: retractor
desc: A surgical tool used to hold open incisions.
components:
- type: SurgeryTool
surgeryToolClass: Retraction
surgeryType: Retraction
baseOperateTime: 3
- type: Sprite
@@ -44,12 +60,12 @@
- type: entity
name: cautery
parent: BaseItem
parent: BaseSurgeryTool
id: cautery
desc: A surgical tool used to cauterize open wounds.
components:
- type: SurgeryTool
surgeryToolClass: Cauterization
surgeryType: Cauterization
baseOperateTime: 3
- type: Sprite
@@ -66,12 +82,12 @@
- type: entity
name: drill
parent: BaseItem
parent: BaseSurgeryTool
id: drill
desc: A surgical drill for making holes into hard material.
components:
- type: SurgeryTool
surgeryToolClass: Drilling
surgeryType: Drilling
baseOperateTime: 3
- type: Sprite
@@ -88,12 +104,12 @@
- type: entity
name: bone saw
parent: BaseItem
parent: BaseSurgeryTool
id: bone_saw
desc: A surgical tool used to cauterize open wounds.
components:
- type: SurgeryTool
surgeryToolClass: BoneSawing
surgeryType: Amputation
baseOperateTime: 3
- type: Sprite
@@ -106,14 +122,16 @@
- type: ItemCooldown
- type: MeleeWeapon
- type: entity
name: hemostat
parent: BaseItem
parent: BaseSurgeryTool
id: hemostat
desc: A surgical tool used to compress blood vessels to prevent bleeding.
components:
- type: SurgeryTool
surgeryToolClass: VesselCompression
surgeryType: VesselCompression
baseOperateTime: 3
- type: Sprite

View File

@@ -8,6 +8,10 @@
- type: Sprite
texture: Objects\BodySystem\Organs\eyes_grey.png
- type: Icon
- type: UserInterface
interfaces:
- key: enum.GenericSurgeryUiKey.Key
type: GenericSurgeryBoundUserInterface
- type: entity
name: "basedroppedmechanism"
@@ -19,3 +23,7 @@
- type: Sprite
texture: Objects\BodySystem\Organs\eyes_grey.png
- type: Icon
- type: UserInterface
interfaces:
- key: enum.GenericSurgeryUiKey.Key
type: GenericSurgeryBoundUserInterface