* 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)
12 files changed:
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
- state: rod
color: brown
- state: tip
+ - state: solution1
+ map: ["enum.SolutionContainerLayers.Fill"]
+ visible: false
- type: Projectile
damage:
types:
color: darkgray
- state: tip
color: lightblue
+ - state: solution1
+ map: ["enum.SolutionContainerLayers.Fill"]
+ visible: false
- type: Projectile
damage:
types:
- 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:
solution: melee
- type: InjectableSolution
solution: melee
+ - type: SolutionInjectOnCollide
+ transferAmount: 5
+ blockSlots: NONE
- type: SolutionTransfer
maxTransferAmount: 5
- type: Wieldable
damage:
types:
Blunt: 5
+ - type: Appearance
+ - type: SolutionContainerVisuals
+ maxFillLevels: 1
+ fillBaseName: spear
- type: entity
name: reinforced spear
"name": "tip"
},
{
- "name": "solution"
+ "name": "solution1"
},
{
"name": "inhand-left",
{
"name": "spear"
},
+ {
+ "name": "spear1"
+ },
{
"name": "inhand-left",
"directions": 4
{
"name": "spear"
},
+ {
+ "name": "spear1"
+ },
{
"name": "inhand-left",
"directions": 4
{
"name": "spear"
},
+ {
+ "name": "spear1"
+ },
{
"name": "inhand-left",
"directions": 4
{
"name": "spear"
},
+ {
+ "name": "spear1"
+ },
{
"name": "inhand-left",
"directions": 4