Solutions on thrown spears/shot arrows (#20416)
* Solutions on thrown spears/shot arrows Spears inject their solution on thrown hit. Arrows now have 5u solution storage that is injected when it hits target. * Whoops, wrong arrow. Instead of base arrow, I accidentally modified the 'regular arrow' * spear and arrow solution graphics Spears and arrows now show what they are doped with when they are on ground. (just like beakers)
This commit is contained in:
@@ -41,6 +41,24 @@
|
||||
damage:
|
||||
types:
|
||||
Piercing: 25
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
ammo:
|
||||
maxVol: 5
|
||||
- type: RefillableSolution
|
||||
solution: ammo
|
||||
- type: InjectableSolution
|
||||
solution: ammo
|
||||
- type: SolutionInjectOnCollide
|
||||
transferAmount: 5
|
||||
blockSlots: NONE
|
||||
- type: SolutionTransfer
|
||||
maxTransferAmount: 5
|
||||
- type: Appearance
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 1
|
||||
fillBaseName: solution
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: BaseArrow
|
||||
@@ -55,6 +73,9 @@
|
||||
- state: rod
|
||||
color: brown
|
||||
- state: tip
|
||||
- state: solution1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
@@ -75,6 +96,9 @@
|
||||
color: darkgray
|
||||
- state: tip
|
||||
color: lightblue
|
||||
- state: solution1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
|
||||
@@ -28,7 +28,11 @@
|
||||
- type: Sharp
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Melee/spear.rsi
|
||||
state: spear
|
||||
layers:
|
||||
- state: spear
|
||||
- state: spear1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
@@ -61,6 +65,9 @@
|
||||
solution: melee
|
||||
- type: InjectableSolution
|
||||
solution: melee
|
||||
- type: SolutionInjectOnCollide
|
||||
transferAmount: 5
|
||||
blockSlots: NONE
|
||||
- type: SolutionTransfer
|
||||
maxTransferAmount: 5
|
||||
- type: Wieldable
|
||||
@@ -96,6 +103,10 @@
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
- type: Appearance
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 1
|
||||
fillBaseName: spear
|
||||
|
||||
- type: entity
|
||||
name: reinforced spear
|
||||
|
||||
Reference in New Issue
Block a user