Add unarmed stage to explosive banana peel (#19321)

This commit is contained in:
crazybrain23
2023-08-20 21:58:22 +01:00
committed by GitHub
parent 0b050037b7
commit 9224e32989
3 changed files with 40 additions and 23 deletions

View File

@@ -912,7 +912,8 @@
id: uplinkBananaPeelExplosive
name: uplink-banana-peel-explosive-name
description: uplink-banana-peel-explosive-desc
productEntity: TrashBananaPeelExplosive
icon: { sprite: Objects/Specific/Hydroponics/banana.rsi, state: peel }
productEntity: TrashBananaPeelExplosiveUnarmed
cost:
Telecrystal: 2
categories:

View File

@@ -233,28 +233,6 @@
paralyzeTime: 4
launchForwardsMultiplier: 2
- type: entity
name: banana peel
suffix: Explosive
parent: TrashBananaPeel
id: TrashBananaPeelExplosive
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
layers:
- state: peel
- state: primed
shader: unshaded
- type: TriggerOnSlip
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default
maxIntensity: 2
totalIntensity: 10
canCreateVacuum: false
- type: DeleteOnTrigger
- type: AnimationPlayer
- type: entity
name: carrot
parent: FoodProduceBase

View File

@@ -66,3 +66,41 @@
tags:
- HideContextMenu
- type: AnimationPlayer
- type: entity
name: banana peel
suffix: Explosive
parent: TrashBananaPeel
id: TrashBananaPeelExplosive
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
layers:
- state: peel
- state: primed
shader: unshaded
- type: TriggerOnSlip
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default
maxIntensity: 2
totalIntensity: 10
canCreateVacuum: false
- type: DeleteOnTrigger
- type: AnimationPlayer
- type: entity
parent: BaseItem
id: TrashBananaPeelExplosiveUnarmed
name: banana
suffix: Unarmed
description: There's something unusual about this banana.
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/banana.rsi
state: produce
- type: SpawnItemsOnUse
items:
- id: TrashBananaPeelExplosive
sound:
path: /Audio/Effects/unwrap.ogg