Combine solution injection systems; Fix embeddable injectors (#26268)

* Combine injection systems

* Update Content.Server/Chemistry/EntitySystems/SolutionInjectOnEventSystem.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Tayrtahn
2024-03-31 23:39:34 -04:00
committed by GitHub
parent d8d4feec38
commit d0d12760a8
12 changed files with 249 additions and 182 deletions

View File

@@ -53,10 +53,10 @@
solution: melee
- type: InjectableSolution
solution: melee
- type: SolutionInjectOnCollide
- type: SolutionInjectOnEmbed
transferAmount: 2
solution: melee
blockSlots: OUTERCLOTHING
fixtureId: "throw-fixture"
- type: SolutionTransfer
maxTransferAmount: 2
- type: Damageable
@@ -124,10 +124,9 @@
solutions:
melee:
maxVol: 7
- type: SolutionInjectOnCollide
- type: SolutionInjectOnEmbed
transferAmount: 7
blockSlots: NONE
fixtureId: "throw-fixture"
solution: melee
- type: SolutionTransfer
maxTransferAmount: 7

View File

@@ -86,8 +86,8 @@
damage:
types:
Piercing: 3
Slash: 3
Slash: 3
- type: entity
id: PelletShotgunTranquilizer
@@ -110,9 +110,9 @@
solution: ammo
- type: DrainableSolution
solution: ammo
- type: SolutionInjectOnCollide
- type: SolutionInjectOnProjectileHit
transferAmount: 15
blockSlots: NONE #tranquillizer darts shouldn't be blocked by a mask
solution: ammo
- type: InjectableSolution
solution: ammo

View File

@@ -50,9 +50,9 @@
solution: ammo
- type: InjectableSolution
solution: ammo
- type: SolutionInjectOnCollide
- type: SolutionInjectOnEmbed
transferAmount: 2
blockSlots: NONE
solution: ammo
- type: SolutionTransfer
maxTransferAmount: 2
- type: Appearance

View File

@@ -65,10 +65,9 @@
solution: melee
- type: InjectableSolution
solution: melee
- type: SolutionInjectOnCollide
- type: SolutionInjectOnEmbed
transferAmount: 2
fixtureId: "throw-fixture"
blockSlots: NONE
solution: melee
- type: SolutionTransfer
maxTransferAmount: 2
- type: Wieldable