decelerator nerf and projectile penetration mini refactor (#24032)

* decelerator nerf and projectile fix

* datafield name difference

* forgot to add component

* missed datafield styling

* comment made summary

* CanPenetrateComponent and CollisionLayer check.

* Small comment changes
This commit is contained in:
Arendian
2024-01-15 00:39:09 +01:00
committed by GitHub
parent f9a57dc11e
commit 04a8761bb6
7 changed files with 154 additions and 38 deletions

View File

@@ -9,10 +9,11 @@
state: buckshot
- type: Projectile
deleteOnCollide: false
canPenetrate: true
damage:
types:
Blunt: 4
- type: CanPenetrate
penetrationLayer: MobLayer
- type: StaminaDamageOnCollide
damage: 55
- type: TimedDespawn
@@ -29,10 +30,11 @@
state: buckshot
- type: Projectile
deleteOnCollide: false
canPenetrate: true
damage:
types:
Piercing: 45
- type: CanPenetrate
penetrationLayer: MobLayer
- type: TimedDespawn
lifetime: 0.25
@@ -47,11 +49,12 @@
state: buckshot-flare
- type: Projectile
deleteOnCollide: false
canPenetrate: true
damage:
types:
Blunt: 1
Heat: 2
- type: CanPenetrate
penetrationLayer: MobLayer
- type: IgniteOnCollide
fireStacks: 3
count: 10

View File

@@ -210,7 +210,7 @@
Heat: 5
soundHit:
path: "/Audio/Weapons/Guns/Hits/taser_hit.ogg"
soundForce: true
forceSound: true
- type: StunOnCollide
stunAmount: 5
knockdownAmount: 5
@@ -256,7 +256,7 @@
Heat: 5
soundHit:
path: "/Audio/Weapons/tap.ogg"
soundForce: true
forceSound: true
- type: entity
name : disabler bolt practice
@@ -296,7 +296,7 @@
Heat: 1
soundHit:
path: "/Audio/Weapons/tap.ogg"
soundForce: true
forceSound: true
- type: entity
name: emitter bolt
@@ -865,7 +865,7 @@
Heat: 2
soundHit:
path: "/Audio/Weapons/tap.ogg"
soundForce: true
forceSound: true
- type: entity
name: tesla gun lightning

View File

@@ -13,13 +13,13 @@
map: [ "unshaded" ]
- type: Projectile
deleteOnCollide: false
canPenetrate: true
impactEffect: null
soundHit:
path: /Audio/Weapons/Guns/Hits/bullet_hit.ogg
damage:
types:
Radiation: 25
- type: CanPenetrate
- type: Physics
- type: Fixtures
fixtures:
@@ -64,5 +64,18 @@
state: particle0
shader: unshaded
map: [ "unshaded" ]
- type: Reflective
reflective:
- Energy
- type: Projectile
deleteOnCollide: false
impactEffect: null
soundHit:
path: /Audio/Weapons/Guns/Hits/bullet_hit.ogg
damage:
types:
Radiation: 10
- type: TimedDespawn
lifetime: 0.6
- type: SinguloFood
energy: -10