Remove duplicate Spear prototype information (#18581)
This commit is contained in:
@@ -79,239 +79,59 @@
|
|||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: reinforced spear
|
name: reinforced spear
|
||||||
parent: BaseItem
|
parent: Spear
|
||||||
id: SpearReinforced
|
id: SpearReinforced
|
||||||
description: A spear with a reinforced glass shard as a tip.
|
description: A spear with a reinforced glass shard as a tip.
|
||||||
components:
|
components:
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- Spear
|
|
||||||
- type: Sharp
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Weapons/Melee/reinforced_spear.rsi
|
sprite: Objects/Weapons/Melee/reinforced_spear.rsi
|
||||||
state: spear
|
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 15
|
Piercing: 15
|
||||||
angle: 0
|
|
||||||
animation: WeaponArcThrust
|
|
||||||
- type: DamageOtherOnHit
|
- type: DamageOtherOnHit
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 18
|
Piercing: 18
|
||||||
- type: Item
|
|
||||||
size: 95
|
|
||||||
- type: Clothing
|
|
||||||
quickEquip: false
|
|
||||||
slots:
|
|
||||||
- back
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: SpearReinforced
|
graph: SpearReinforced
|
||||||
node: spear
|
|
||||||
- type: ItemCooldown
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
melee:
|
|
||||||
maxVol: 5
|
|
||||||
- type: MeleeChemicalInjector
|
|
||||||
solution: melee
|
|
||||||
- type: RefillableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: InjectableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: SolutionTransfer
|
|
||||||
maxTransferAmount: 5
|
|
||||||
- type: Wieldable
|
|
||||||
- type: IncreaseDamageOnWield
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Piercing: 4
|
|
||||||
- type: Damageable
|
|
||||||
damageContainer: Inorganic
|
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 30 #excess damage avoids cost of spawning entities.
|
|
||||||
behaviors:
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 20
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
collection: GlassBreak
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
PartRodMetal1:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: DamageOnLand
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Blunt: 5
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: plasma spear
|
name: plasma spear
|
||||||
parent: BaseItem
|
parent: Spear
|
||||||
id: SpearPlasma
|
id: SpearPlasma
|
||||||
description: A spear with a plasma shard as a tip.
|
description: A spear with a plasma shard as a tip.
|
||||||
components:
|
components:
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- Spear
|
|
||||||
- type: Sharp
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Weapons/Melee/plasma_spear.rsi
|
sprite: Objects/Weapons/Melee/plasma_spear.rsi
|
||||||
state: spear
|
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 18
|
Piercing: 18
|
||||||
angle: 0
|
|
||||||
animation: WeaponArcThrust
|
|
||||||
- type: DamageOtherOnHit
|
- type: DamageOtherOnHit
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 21
|
Piercing: 21
|
||||||
- type: Item
|
|
||||||
size: 95
|
|
||||||
- type: Clothing
|
|
||||||
quickEquip: false
|
|
||||||
slots:
|
|
||||||
- back
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: SpearPlasma
|
graph: SpearPlasma
|
||||||
node: spear
|
|
||||||
- type: ItemCooldown
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
melee:
|
|
||||||
maxVol: 5
|
|
||||||
- type: MeleeChemicalInjector
|
|
||||||
solution: melee
|
|
||||||
- type: RefillableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: InjectableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: SolutionTransfer
|
|
||||||
maxTransferAmount: 5
|
|
||||||
- type: Wieldable
|
|
||||||
- type: IncreaseDamageOnWield
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Piercing: 4
|
|
||||||
- type: Damageable
|
|
||||||
damageContainer: Inorganic
|
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 30 #excess damage avoids cost of spawning entities.
|
|
||||||
behaviors:
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 20
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
collection: GlassBreak
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
PartRodMetal1:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: DamageOnLand
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Blunt: 5
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: uranium spear
|
name: uranium spear
|
||||||
parent: BaseItem
|
parent: Spear
|
||||||
id: SpearUranium
|
id: SpearUranium
|
||||||
description: A spear with a uranium shard as a tip.
|
description: A spear with a uranium shard as a tip.
|
||||||
components:
|
components:
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- Spear
|
|
||||||
- type: Sharp
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Weapons/Melee/uranium_spear.rsi
|
sprite: Objects/Weapons/Melee/uranium_spear.rsi
|
||||||
state: spear
|
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 10
|
Piercing: 10
|
||||||
Radiation: 8
|
Radiation: 8
|
||||||
angle: 0
|
|
||||||
animation: WeaponArcThrust
|
|
||||||
- type: DamageOtherOnHit
|
- type: DamageOtherOnHit
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Piercing: 12
|
Piercing: 12
|
||||||
Radiation: 9
|
Radiation: 9
|
||||||
- type: Item
|
|
||||||
size: 95
|
|
||||||
- type: Clothing
|
|
||||||
quickEquip: false
|
|
||||||
slots:
|
|
||||||
- back
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: SpearUranium
|
graph: SpearUranium
|
||||||
node: spear
|
|
||||||
- type: ItemCooldown
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
melee:
|
|
||||||
maxVol: 5
|
|
||||||
- type: MeleeChemicalInjector
|
|
||||||
solution: melee
|
|
||||||
- type: RefillableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: InjectableSolution
|
|
||||||
solution: melee
|
|
||||||
- type: SolutionTransfer
|
|
||||||
maxTransferAmount: 5
|
|
||||||
- type: Wieldable
|
|
||||||
- type: IncreaseDamageOnWield
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Piercing: 4
|
|
||||||
- type: Damageable
|
|
||||||
damageContainer: Inorganic
|
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 30 #excess damage avoids cost of spawning entities.
|
|
||||||
behaviors:
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 20
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
collection: GlassBreak
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
PartRodMetal1:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: DamageOnLand
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Blunt: 5
|
|
||||||
|
|||||||
Reference in New Issue
Block a user