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

@@ -45,9 +45,20 @@
- type: damageModifierSet
id: Glass
coefficients:
Blunt: 0.5
Blunt: 1
Slash: 0.5
Piercing: 1.5
Piercing: 1.1
Heat: 0
Shock: 0
flatReductions:
Blunt: 5
- type: damageModifierSet
id: RGlass
coefficients:
Blunt: 0.8
Slash: 0.5
Piercing: 0.7
Heat: 0
Shock: 0
flatReductions:

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:

View File

@@ -6,12 +6,17 @@
edges:
- to: spear
steps:
- material: Steel
- material: MetalRod
amount: 2
doAfter: 2
- material: Glass
- material: Cable
amount: 2
doAfter: 2
doAfter: 1
- prototype: ShardGlass
name: Glass Shard
icon:
sprite: Objects/Materials/Shards/shard.rsi
state: shard1
doAfter: 1
- node: spear
entity: Spear