Replace Physics with Collidable in YAML prototypes (#2229)

* Replace Physics with Collidable in YAML prototypes

* Revert "Replace Physics with Collidable in YAML prototypes"

This reverts commit d8dd4b609979314c42742da01e1c0fba4d08192e.

* Replace Physics with Collidable in YAML prototypes
This commit is contained in:
DrSmugleaf
2020-10-11 15:21:33 +02:00
committed by GitHub
parent 753ca81865
commit f7c69d7b9a
23 changed files with 59 additions and 131 deletions

View File

@@ -12,7 +12,6 @@
- type: Destructible - type: Destructible
deadThreshold: 100 deadThreshold: 100
resistances: metallicResistances resistances: metallicResistances
- type: Physics
- type: ShuttleController - type: ShuttleController
- type: Strap - type: Strap
position: Stand position: Stand

View File

@@ -18,6 +18,8 @@
- type: InteractionOutline - type: InteractionOutline
- type: Anchorable - type: Anchorable
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.4,-0.25,0.4,0.25" bounds: "-0.4,-0.25,0.4,0.25"
@@ -26,9 +28,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Destructible - type: Destructible
@@ -58,6 +57,8 @@
- type: InteractionOutline - type: InteractionOutline
- type: Anchorable - type: Anchorable
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.4,-0.25,0.4,0.25" bounds: "-0.4,-0.25,0.4,0.25"
@@ -66,9 +67,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Destructible - type: Destructible

View File

@@ -15,6 +15,8 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,-0.25,0.5,0.25" bounds: "-0.5,-0.25,0.5,0.25"
@@ -23,9 +25,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: CloningPod - type: CloningPod

View File

@@ -6,6 +6,8 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.4,-0.25,0.4,0.25" bounds: "-0.4,-0.25,0.4,0.25"
@@ -14,9 +16,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Lathe - type: Lathe

View File

@@ -17,6 +17,8 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,0,0.5,1" bounds: "-0.5,0,0.5,1"
@@ -25,9 +27,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: MedicalScanner - type: MedicalScanner

View File

@@ -6,6 +6,8 @@
- type: InteractionOutline - type: InteractionOutline
- type: Anchorable - type: Anchorable
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.4,-0.25,0.4,0.25" bounds: "-0.4,-0.25,0.4,0.25"
@@ -14,9 +16,6 @@
- Impassable - Impassable
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: ReagentDispenser - type: ReagentDispenser

View File

@@ -34,6 +34,8 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
layer: layer:
@@ -56,6 +58,3 @@
- type: PowerDeviceVisualizer - type: PowerDeviceVisualizer
- type: PowerReceiver - type: PowerReceiver
- type: Anchorable - type: Anchorable
- type: Physics
mass: 25
anchored: true

View File

@@ -3,14 +3,13 @@
name: vending machine name: vending machine
abstract: true abstract: true
components: components:
- type: Physics
anchored: true
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Sprite - type: Sprite
sprite: Constructible/Power/VendingMachines/empty.rsi sprite: Constructible/Power/VendingMachines/empty.rsi
netsync: false netsync: false
- type: Collidable - type: Collidable
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,-0.25,0.5,0.25" bounds: "-0.5,-0.25,0.5,0.25"

View File

@@ -20,6 +20,8 @@
soundHit: /Audio/Effects/bang.ogg soundHit: /Audio/Effects/bang.ogg
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,-0.25,0.5,0.25" bounds: "-0.5,-0.25,0.5,0.25"
@@ -33,9 +35,6 @@
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- SmallImpassable - SmallImpassable
- type: Physics
mass: 25
anchored: false
- type: EntityStorage - type: EntityStorage
- type: PlaceableSurface - type: PlaceableSurface
- type: Destructible - type: Destructible

View File

@@ -7,6 +7,8 @@
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 15
anchored: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5" bounds: "-0.5,-0.5,0.5,0.5"
@@ -21,9 +23,6 @@
- MobImpassable - MobImpassable
- VaultImpassable - VaultImpassable
- SmallImpassable - SmallImpassable
- type: Physics
mass: 15
Anchored: false
- type: Destructible - type: Destructible
deadThreshold: 10 deadThreshold: 10
resistances: metallicResistances resistances: metallicResistances

View File

@@ -10,10 +10,11 @@
- state: crate - state: crate
- state: crate_door - state: crate_door
map: ["enum.StorageVisualLayers.Door"] map: ["enum.StorageVisualLayers.Door"]
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 25
anchored: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.4, -0.4, 0.4, 0.4" bounds: "-0.4, -0.4, 0.4, 0.4"
@@ -26,9 +27,6 @@
- Opaque - Opaque
- MobImpassable - MobImpassable
- SmallImpassable - SmallImpassable
- type: Physics
mass: 25
anchored: false
- type: EntityStorage - type: EntityStorage
capacity: 60 capacity: 60
CanWeldShut: false CanWeldShut: false

View File

@@ -7,14 +7,13 @@
sprite: Constructible/Misc/mirror.rsi sprite: Constructible/Misc/mirror.rsi
state: mirror state: mirror
- type: Collidable - type: Collidable
mass: 25
anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
layer: [Clickable] layer: [Clickable]
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Physics
mass: 25
anchored: true
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: MagicMirror - type: MagicMirror

View File

@@ -24,11 +24,9 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: monkey state: monkey
sprite: Mobs/Animals/monkey.rsi sprite: Mobs/Animals/monkey.rsi
- type: Clickable - type: Clickable
- type: Physics
mass: 50
- type: Collidable - type: Collidable
mass: 50
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.30,-0.25,0.40,0.25" bounds: "-0.30,-0.25,0.40,0.25"
@@ -78,10 +76,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: crawling state: crawling
sprite: Mobs/Animals/gorilla.rsi sprite: Mobs/Animals/gorilla.rsi
- type: Physics
mass: 90
- type: Collidable - type: Collidable
mass: 90
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.90,-0.50,0.05,0.50" bounds: "-0.90,-0.50,0.05,0.50"
@@ -114,10 +110,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: chicken-0 state: chicken-0
sprite: Mobs/Animals/chicken.rsi sprite: Mobs/Animals/chicken.rsi
- type: Physics
mass: 20
- type: Collidable - type: Collidable
mass: 20
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.45,-0.20,0.10,0.20" bounds: "-0.45,-0.20,0.10,0.20"
@@ -153,10 +147,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: butterfly state: butterfly
sprite: Mobs/Animals/butterfly.rsi sprite: Mobs/Animals/butterfly.rsi
- type: Physics
mass: 5
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.20,-0.20,0.20,0.20" bounds: "-0.20,-0.20,0.20,0.20"
@@ -202,10 +194,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: bat state: bat
sprite: Mobs/Animals/bat.rsi sprite: Mobs/Animals/bat.rsi
- type: Physics
mass: 5
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.20,-0.20,0.20,0.20" bounds: "-0.20,-0.20,0.20,0.20"
@@ -242,10 +232,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: 0 state: 0
sprite: Mobs/Animals/bee.rsi sprite: Mobs/Animals/bee.rsi
- type: Physics
mass: 5
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.10,-0.10,0.10,0.10" bounds: "-0.10,-0.10,0.10,0.10"
@@ -278,10 +266,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: goat state: goat
sprite: Mobs/Animals/goat.rsi sprite: Mobs/Animals/goat.rsi
- type: Physics
mass: 20
- type: Collidable - type: Collidable
mass: 20
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.60,-0.50,0.05,0.50" bounds: "-0.60,-0.50,0.05,0.50"
@@ -315,10 +301,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: goose state: goose
sprite: Mobs/Animals/goose.rsi sprite: Mobs/Animals/goose.rsi
- type: Physics
mass: 20
- type: Collidable - type: Collidable
mass: 20
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.45,-0.35,0.45,0.35" bounds: "-0.45,-0.35,0.45,0.35"
@@ -355,10 +339,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: parrot state: parrot
sprite: Mobs/Animals/parrot.rsi sprite: Mobs/Animals/parrot.rsi
- type: Physics
mass: 20
- type: Collidable - type: Collidable
mass: 20
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.30,-0.35,0.35,0.35" bounds: "-0.30,-0.35,0.35,0.35"
@@ -391,10 +373,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: snake state: snake
sprite: Mobs/Animals/snake.rsi sprite: Mobs/Animals/snake.rsi
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.30,-0.30,0.25,0.30" bounds: "-0.30,-0.30,0.25,0.30"
@@ -430,10 +410,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: tarantula state: tarantula
sprite: Mobs/Animals/spider.rsi sprite: Mobs/Animals/spider.rsi
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.30,-0.40,0.45,0.40" bounds: "-0.30,-0.40,0.45,0.40"
@@ -466,10 +444,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: crab state: crab
sprite: Mobs/Animals/crab.rsi sprite: Mobs/Animals/crab.rsi
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.40,-0.35,0.20,0.35" bounds: "-0.40,-0.35,0.20,0.35"
@@ -502,10 +478,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: penguin state: penguin
sprite: Mobs/Animals/penguin.rsi sprite: Mobs/Animals/penguin.rsi
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.50,-0.30,0.35,0.30" bounds: "-0.50,-0.30,0.35,0.30"

View File

@@ -19,11 +19,8 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: carp state: carp
sprite: Mobs/Aliens/Carps/carp_space.rsi sprite: Mobs/Aliens/Carps/carp_space.rsi
- type: Clickable
- type: Physics
mass: 50
- type: Collidable - type: Collidable
mass: 50
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35" bounds: "-0.35,-0.35,0.35,0.35"
@@ -70,8 +67,7 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: magicarp state: magicarp
sprite: Mobs/Aliens/Carps/carp_magic.rsi sprite: Mobs/Aliens/Carps/carp_magic.rsi
- type: Collidable
- type: Physics
mass: 60 mass: 60
- type: Appearance - type: Appearance
visuals: visuals:
@@ -94,8 +90,7 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: holocarp state: holocarp
sprite: Mobs/Aliens/Carps/carp_holo.rsi sprite: Mobs/Aliens/Carps/carp_holo.rsi
- type: Collidable
- type: Physics
mass: 5 mass: 5
- type: Appearance - type: Appearance
visuals: visuals:

View File

@@ -23,9 +23,8 @@
- type: Icon - type: Icon
sprite: Constructible/Power/VendingMachines/cola.rsi sprite: Constructible/Power/VendingMachines/cola.rsi
state: normal state: normal
- type: Physics
mass: 85
- type: Collidable - type: Collidable
mass: 85
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35" bounds: "-0.35,-0.35,0.35,0.35"

View File

@@ -20,9 +20,8 @@
baseSprintSpeed : 5 baseSprintSpeed : 5
- type: InteractionOutline - type: InteractionOutline
- type: Clickable - type: Clickable
- type: Physics
mass: 50
- type: Collidable - type: Collidable
mass: 50
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.30,-0.35,0.45,0.35" bounds: "-0.30,-0.35,0.45,0.35"
@@ -70,10 +69,8 @@
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: corgi state: corgi
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.50,-0.25,0.30,0.25" bounds: "-0.50,-0.25,0.30,0.25"
@@ -106,10 +103,8 @@
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: ian state: ian
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.50,-0.25,0.30,0.25" bounds: "-0.50,-0.25,0.30,0.25"
@@ -142,10 +137,8 @@
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: cat state: cat
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.45,-0.20,0.30,0.20" bounds: "-0.45,-0.20,0.30,0.20"
@@ -215,10 +208,8 @@
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: sloth state: sloth
- type: Physics
mass: 10
- type: Collidable - type: Collidable
mass: 10
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.45,-0.35,0.15,0.35" bounds: "-0.45,-0.35,0.15,0.35"

View File

@@ -21,11 +21,9 @@
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: running state: running
sprite: Mobs/Aliens/Xenos/xeno_hunter.rsi sprite: Mobs/Aliens/Xenos/xeno_hunter.rsi
- type: Clickable - type: Clickable
- type: Physics
mass: 85
- type: Collidable - type: Collidable
mass: 85
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35" bounds: "-0.35,-0.35,0.35,0.35"

View File

@@ -6,9 +6,8 @@
description: Boo! description: Boo!
components: components:
- type: Mind - type: Mind
- type: Physics
mass: 5
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35" bounds: "-0.35,-0.35,0.35,0.35"

View File

@@ -115,10 +115,8 @@
sprite: Mobs/Customization/human_hair.rsi sprite: Mobs/Customization/human_hair.rsi
- map: [ "enum.Slots.MASK" ] - map: [ "enum.Slots.MASK" ]
- map: [ "enum.Slots.HEAD" ] - map: [ "enum.Slots.HEAD" ]
- type: Physics
mass: 85
- type: Collidable - type: Collidable
mass: 85
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.50,-0.30,0.40,0.30" bounds: "-0.50,-0.30,0.40,0.30"
@@ -280,10 +278,8 @@
- map: ["enum.Slots.HEAD"] - map: ["enum.Slots.HEAD"]
- map: ["hand-left"] - map: ["hand-left"]
- map: ["hand-right"] - map: ["hand-right"]
- type: Physics
mass: 85
- type: Collidable - type: Collidable
mass: 85
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35" bounds: "-0.35,-0.35,0.35,0.35"

View File

@@ -103,11 +103,10 @@
visuals: visuals:
- type: PowerChargerVisualizer - type: PowerChargerVisualizer
- type: Anchorable - type: Anchorable
- type: Physics
mass: 5
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25" bounds: "-0.25,-0.25,0.25,0.25"
@@ -132,11 +131,10 @@
visuals: visuals:
- type: PowerChargerVisualizer - type: PowerChargerVisualizer
- type: Anchorable - type: Anchorable
- type: Physics
mass: 5
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25" bounds: "-0.25,-0.25,0.25,0.25"
@@ -160,11 +158,10 @@
- type: Appearance - type: Appearance
visuals: visuals:
- type: PowerChargerVisualizer - type: PowerChargerVisualizer
- type: Physics
mass: 5
- type: Clickable - type: Clickable
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25" bounds: "-0.25,-0.25,0.25,0.25"

View File

@@ -35,6 +35,8 @@
maxVol: 500 maxVol: 500
caps: AddTo, RemoveFrom caps: AddTo, RemoveFrom
- type: Collidable - type: Collidable
mass: 5
anchored: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.40,-0.25,0.25,0.25" bounds: "-0.40,-0.25,0.25,0.25"
@@ -43,9 +45,6 @@
- Opaque - Opaque
layer: layer:
- Opaque - Opaque
- type: Physics
mass: 5
anchored: false
- type: Spillable - type: Spillable
- type: Pullable - type: Pullable
@@ -68,14 +67,13 @@
maxVol: 500 maxVol: 500
caps: AddTo, RemoveFrom caps: AddTo, RemoveFrom
- type: Collidable - type: Collidable
mass: 5
anchored: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25" bounds: "-0.25,-0.25,0.25,0.25"
mask: mask:
- Impassable - Impassable
- type: Physics
mass: 5
anchored: false
- type: Spillable - type: Spillable
- type: entity - type: entity
@@ -177,7 +175,6 @@
layers: layers:
- state: chempuff - state: chempuff
map: [ "enum.VaporVisualLayers.Base" ] map: [ "enum.VaporVisualLayers.Base" ]
- type: Physics
- type: Collidable - type: Collidable
hard: false hard: false
shapes: shapes:

View File

@@ -11,8 +11,8 @@
directional: false directional: false
sprite: Objects/Weapons/Guns/Projectiles/bullet.rsi sprite: Objects/Weapons/Guns/Projectiles/bullet.rsi
state: bullet state: bullet
- type: Collidable - type: Collidable
edgeslide: false
hard: false hard: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
@@ -21,8 +21,6 @@
mask: mask:
- Impassable - Impassable
- MobImpassable - MobImpassable
- type: Physics
edgeslide: false
- type: Projectile - type: Projectile
soundHit: /Audio/Weapons/Guns/Hits/bullet_hit.ogg soundHit: /Audio/Weapons/Guns/Hits/bullet_hit.ogg
damages: damages:
@@ -98,14 +96,13 @@
- state: spark - state: spark
shader: unshaded shader: unshaded
- type: Collidable - type: Collidable
edgeslide: false
hard: false hard: false
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2" bounds: "-0.2,-0.2,0.2,0.2"
layer: 32 layer: 32
mask: 30 mask: 30
- type: Physics
edgeslide: false
# Launcher projectiles (grenade / rocket) # Launcher projectiles (grenade / rocket)
- type: entity - type: entity

View File

@@ -10,13 +10,12 @@
- type: MovedByPressure - type: MovedByPressure
- type: DamageOnHighSpeedImpact - type: DamageOnHighSpeedImpact
- type: Collidable - type: Collidable
mass: 5
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25" bounds: "-0.25,-0.25,0.25,0.25"
layer: layer:
- Clickable - Clickable
- type: Physics
mass: 5
- type: Sprite - type: Sprite
drawdepth: Items drawdepth: Items
- type: Pullable - type: Pullable