Add Anchorable to several objects (#1115)

This commit is contained in:
windarkata
2020-06-12 20:29:45 -05:00
committed by GitHub
parent 518a006d70
commit 482bb617e9
9 changed files with 33 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: WardrobeBase id: WardrobeBase
parent: LockerGeneric parent: LockerGeneric
abstract: true abstract: true

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: LockerGeneric id: LockerGeneric
name: closet name: closet
description: A standard-issue Nanotrasen storage unit. description: A standard-issue Nanotrasen storage unit.
@@ -48,6 +48,7 @@
state_open: generic_open state_open: generic_open
state_closed: generic_door state_closed: generic_door
- type: LoopingSound - type: LoopingSound
- type: Anchorable
placement: placement:
snap: snap:
- Wall - Wall

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: chem_dispenser id: chem_dispenser
name: chemical dispenser name: chemical dispenser
parent: ReagentDispenserBase parent: ReagentDispenserBase

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
name: baseinstrument name: baseinstrument
id: BaseInstrument id: BaseInstrument
abstract: true abstract: true
@@ -40,6 +40,7 @@
- type: Icon - type: Icon
sprite: Objects/Instruments/otherinstruments.rsi sprite: Objects/Instruments/otherinstruments.rsi
state: piano state: piano
- type: Anchorable
- type: entity - type: entity
name: minimoog name: minimoog

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: BaseLathe id: BaseLathe
name: "lathe" name: "lathe"
abstract: true abstract: true
@@ -6,10 +6,23 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - 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 - type: SnapGrid
offset: Center offset: Center
- type: Lathe - type: Lathe
- type: MaterialStorage - type: MaterialStorage
- type: Anchorable
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.LatheUiKey.Key - key: enum.LatheUiKey.Key

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: MedicalScanner id: MedicalScanner
name: medical scanner name: medical scanner
description: A bulky medical scanner. description: A bulky medical scanner.
@@ -15,7 +15,7 @@
- type: Icon - type: Icon
sprite: Buildings/medical_scanner.rsi sprite: Buildings/medical_scanner.rsi
state: scanner_open state: scanner_open
- type: Anchorable
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: Wire id: Wire
name: wire name: wire
description: Transfers power, avoid letting things come down it description: Transfers power, avoid letting things come down it
@@ -61,6 +61,7 @@
- type: PowerGenerator - type: PowerGenerator
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Anchorable
- type: entity - type: entity
id: SolarPanel id: SolarPanel
@@ -89,6 +90,7 @@
- type: Damageable - type: Damageable
- type: Breakable - type: Breakable
thresholdvalue: 100 thresholdvalue: 100
- type: Anchorable
- type: entity - type: entity
id: WPPnobattery id: WPPnobattery
@@ -187,6 +189,7 @@
- type: SmesVisualizer2D - type: SmesVisualizer2D
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Anchorable
- type: entity - type: entity
id: SmesDry id: SmesDry

View File

@@ -1,9 +1,10 @@
- type: entity - type: entity
abstract: true abstract: true
id: ReagentDispenserBase id: ReagentDispenserBase
components: components:
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Anchorable
- type: Collidable - type: Collidable
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
id: ResearchAndDevelopmentServer id: ResearchAndDevelopmentServer
name: "R&D server" name: "R&D server"
components: components:
@@ -59,3 +59,7 @@
visuals: visuals:
- type: PowerDeviceVisualizer2D - type: PowerDeviceVisualizer2D
- type: PowerDevice - type: PowerDevice
- type: Anchorable
- type: Physics
mass: 25
Anchored: true