Fixes banana peels

This commit is contained in:
SweptWasTaken
2021-05-08 21:48:06 -07:00
parent 73d33b224c
commit 78875f1fdd
2 changed files with 29 additions and 28 deletions

View File

@@ -107,6 +107,35 @@
- ReagentId: JuiceBanana
Quantity: 10
- type: entity
name: banana peel
parent: BaseItem
id: TrashBananaPeel
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
state: peel
- type: Slippery
intersectPercentage: 0.2
- type: CollisionWake
enabled: false
- type: Physics
bodyType: Dynamic
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
name: "slips"
hard: false
layer:
- SmallImpassable
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
mass: 5
mask:
- SmallImpassable
- type: entity
name: carrot
parent: ProduceBase

View File

@@ -1,28 +0,0 @@
- type: entity
name: banana peel
parent: TrashBase
id: TrashBananaPeel
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
state: peel
- type: Slippery
intersectPercentage: 0.2
- type: CollisionWake
enabled: false
- type: Physics
bodyType: Dynamic
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
name: "slips"
hard: false
layer:
- SmallImpassable
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
mass: 5
mask:
- SmallImpassable