Open liltenhead opened 1 year ago
No idea how it was pump action in the first place (the Kammerer), in shotguns.yml it inherits from this BaseWeaponShotgun that has been set to semi automatic for atleast a year (latest change to the selectedMode field was a year ago in #8301).
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/shotgun.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
How long ago was it pump action?
Uhh before the bolt PR so very recently.
Found a version of the repo before the pull request merged https://github.com/TaralGit/space-station-14-Taral/commits/master (this is the fork that was merged in pr #17219, a different branch without the bolt changes), cloned it and built it and the Kammerer works correctly. Need to figure out what caused it to break.
I believe I've figured out what it is, the BallisticAmmoProvider lacks the autoCycle: false property.
code before pr (working)
- type: BallisticAmmoProvider
autoCycle: false
whitelist:
tags:
- ShellShotgun
capacity: 7
proto: ShellShotgun
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg
code after pr (broken)
- type: BallisticAmmoProvider
whitelist:
tags:
- ShellShotgun
capacity: 7
proto: ShellShotgun
It's straight up been removed, dunno how this could have happened.
The AutoCycle property is missing from the new BallisticAmmoProviderComponent.cs, not just the yaml.
Fixed it, now I just gotta find and change the yamls of the shotguns and bolt actions back to having autoCycle, then I can submit a pr.
Description
Guns like the kammerer and mosin no longer need to be pumped or bolted. They are essentially semi auto guns now.
Reproduction Pick up one of the guns and just keep clicking.
Screenshots https://youtu.be/6uWch1mTar4?t=154