Fix cloning machine and medical scanner pulling
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
- type: entity
|
||||
id: CloningPod
|
||||
parent: BaseMachine
|
||||
name: cloning pod
|
||||
description: A Cloning Pod. 50% reliable.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: CloningPod
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Constructible/Specific/Medical/cloning.rsi
|
||||
layers:
|
||||
- state: pod_0
|
||||
map: ["enum.CloningPodVisualLayers.Machine"]
|
||||
- type: PowerReceiver
|
||||
- type: Anchorable
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixtures:
|
||||
@@ -23,22 +19,10 @@
|
||||
bounds: "-0.5,-0.25,0.5,0.25"
|
||||
mass: 25
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- type: SnapGrid
|
||||
- type: CloningPod
|
||||
- type: Damageable
|
||||
resistances: metallicResistances
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- SmallImpassable
|
||||
- Opaque
|
||||
mask:
|
||||
- MobMask
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: CloningPodVisualizer
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
- type: entity
|
||||
id: MedicalScanner
|
||||
parent: BaseMachine
|
||||
name: medical scanner
|
||||
description: A bulky medical scanner.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: MedicalScanner
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
noRot: true
|
||||
@@ -14,32 +14,6 @@
|
||||
map: ["enum.MedicalScannerVisualLayers.Machine"]
|
||||
- state: idle_unlit
|
||||
map: ["enum.MedicalScannerVisualLayers.Terminal"]
|
||||
- type: PowerReceiver
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb {}
|
||||
mass: 25
|
||||
layer:
|
||||
- Impassable
|
||||
- VaultImpassable
|
||||
- type: SnapGrid
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: MedicalScanner
|
||||
- type: Damageable
|
||||
resistances: metallicResistances
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: MedicalScannerVisualizer
|
||||
|
||||
30
Resources/Prototypes/Entities/Constructible/base_machine.yml
Normal file
30
Resources/Prototypes/Entities/Constructible/base_machine.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: BaseConstructible
|
||||
id: BaseMachine
|
||||
components:
|
||||
- type: InteractionOutline
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: PowerReceiver
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb {}
|
||||
mass: 25
|
||||
layer:
|
||||
- MobMask
|
||||
- Opaque
|
||||
mask:
|
||||
- MobMask
|
||||
- type: Damageable
|
||||
resistances: metallicResistances
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
Reference in New Issue
Block a user