Made the Mosin bayonet usable. (#38295)

* Made mosin an alt-melee weapon, added reagent fill for the weapon.

* fixes

---------

Co-authored-by: RedBookcase <Usualmoves@gmail.com>
Co-authored-by: beck-thompson <beck314159@hotmail.com>
This commit is contained in:
RedBookcase
2025-07-14 17:49:27 -07:00
committed by GitHub
parent 6053509ceb
commit 34cc49ccf0
9 changed files with 67 additions and 1 deletions

View File

@@ -46,6 +46,45 @@
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Snipers/bolt_gun_wood.rsi
layers:
- state: base
- state: base1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 1
fillBaseName: base
inHandsFillBaseName: -fill-
inHandsMaxFillLevels: 1
equippedFillBaseName: -fill-
equippedMaxFillLevels: 1
- type: MeleeWeapon
wideAnimationRotation: -135
damage:
types:
Piercing: 12
angle: 0
animation: WeaponArcThrust
soundHit:
path: /Audio/Weapons/bladeslice.ogg
- type: MeleeRequiresWield
- type: AltFireMelee
attackType: Heavy
- type: SolutionContainerManager
solutions:
melee:
maxVol: 2
- type: MeleeChemicalInjector
solution: melee
- type: RefillableSolution
solution: melee
- type: InjectableSolution
solution: melee
- type: SolutionTransfer
maxTransferAmount: 2
- type: Sharp
butcherDelayModifier: 2 #It's a bayonet
- type: GunRequiresWield
- type: StaticPrice
price: 500

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from InterBay13 at https://github.com/AndySok/InterBay13/commit/84824582fe1381d9ea6282b9da407994ab8ab509, backpack sling sprite edited by Boaz1111, wield sprites by RiceMar1244",
"copyright": "Taken from InterBay13 at https://github.com/AndySok/InterBay13/commit/84824582fe1381d9ea6282b9da407994ab8ab509, backpack sling sprite edited by Boaz1111, wield sprites by RiceMar1244. Reagent fill sprites by RedBookcase on Github.",
"size": {
"x": 32,
"y": 32
@@ -10,6 +10,9 @@
{
"name": "base"
},
{
"name": "base1"
},
{
"name": "bolt-open"
},
@@ -17,25 +20,49 @@
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-left-fill-1",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-right-fill-1",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-left-fill-1",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-right-fill-1",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-backpack-fill-1",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
},
{
"name": "equipped-suitstorage-fill-1",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B