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
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"name": "tip"
|
||||
},
|
||||
{
|
||||
"name": "solution"
|
||||
"name": "solution1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
|
||||
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
@@ -10,6 +10,9 @@
|
||||
{
|
||||
"name": "spear"
|
||||
},
|
||||
{
|
||||
"name": "spear1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -10,6 +10,9 @@
|
||||
{
|
||||
"name": "spear"
|
||||
},
|
||||
{
|
||||
"name": "spear1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -10,6 +10,9 @@
|
||||
{
|
||||
"name": "spear"
|
||||
},
|
||||
{
|
||||
"name": "spear1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
||||
BIN
Resources/Textures/Objects/Weapons/Melee/spear.rsi/spear1.png
Normal file
BIN
Resources/Textures/Objects/Weapons/Melee/spear.rsi/spear1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -10,6 +10,9 @@
|
||||
{
|
||||
"name": "spear"
|
||||
},
|
||||
{
|
||||
"name": "spear1"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user