Fix slippery items not being slippery (#1948)

* Fix slippery items not being slippery

* Fix slippery not being slippery part 2 redux electric boogaloo

* You got a license for that hard collidable?
This commit is contained in:
DrSmugleaf
2020-08-29 13:13:22 +02:00
committed by GitHub
parent c37c39fe3c
commit 4d23bbf4df
6 changed files with 59 additions and 29 deletions

View File

@@ -207,10 +207,17 @@
parent: TrashBase
id: TrashBananaPeel
components:
- type: Sprite
sprite: Objects/Consumable/Food/banana.rsi
state: peel
- type: Icon
sprite: Objects/Consumable/Food/banana.rsi
state: peel
- type: Slippery
- type: Sprite
sprite: Objects/Consumable/Food/banana.rsi
state: peel
- type: Icon
sprite: Objects/Consumable/Food/banana.rsi
state: peel
- type: Slippery
intersectPercentage: 0.2
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
layer:
- MobImpassable

View File

@@ -85,6 +85,12 @@
map: ["enum.PDAVisualLayers.Flashlight"]
- type: Slippery
paralyzeTime: 4
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
layer:
- MobImpassable
- type: entity
name: Cargo PDA

View File

@@ -102,17 +102,22 @@
parent: BaseItem
description: A cheap bar of soap. Doesn't smell.
components:
- type: Sprite
sprite: Objects/Specific/Janitorial/soap.rsi
state: soap
- type: Icon
sprite: Objects/Specific/Janitorial/soap.rsi
state: soap
- type: Item
sprite: Objects/Specific/Janitorial/soap.rsi
- type: Slippery
paralyzeTime: 2.5
- type: Sprite
sprite: Objects/Specific/Janitorial/soap.rsi
state: soap
- type: Icon
sprite: Objects/Specific/Janitorial/soap.rsi
state: soap
- type: Item
sprite: Objects/Specific/Janitorial/soap.rsi
- type: Slippery
paralyzeTime: 2.5
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
layer:
- MobImpassable
- type: entity
name: soap

View File

@@ -15,10 +15,13 @@
- type: LoopingSound
- type: InteractionOutline
- type: Clickable
- type: Slippery
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
bounds: "-0.4,-0.4,0.4,0.4"
layer:
- MobImpassable
hard: false
- type: entity