Buffs window resistance and nerfs spears (#7049)

This commit is contained in:
Peptide90
2022-03-12 22:07:27 +00:00
committed by GitHub
parent 05f3fcff28
commit a1376f5d53
6 changed files with 56 additions and 9 deletions

View File

@@ -23,7 +23,7 @@
types:
Piercing: 15
- type: Clothing
size: 24
size: 40
sprite: Objects/Weapons/Melee/spear.rsi
QuickEquip: false
Slots:
@@ -48,6 +48,34 @@
modifiers:
flatReductions:
Piercing: -7
- 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: MeleeWeaponAnimation
id: spear

View File

@@ -10,7 +10,7 @@
sprite: Structures/Windows/plasma_window.rsi
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
damageModifierSet: RGlass
- type: Destructible
thresholds:
- trigger:

View File

@@ -11,6 +11,9 @@
- type: Repairable
fuelCost: 10
doAfterDelay: 2
- type: Damageable
damageContainer: Inorganic
damageModifierSet: RGlass
- type: Destructible
thresholds:
- trigger:

View File

@@ -10,7 +10,7 @@
sprite: Structures/Windows/reinforced_plasma_window.rsi
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
damageModifierSet: RGlass
- type: Destructible
thresholds:
- trigger: