-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Mosin Obrez (Sawn-Off Mosin Nagant) & Sawing-Off Tweaks (#10008)
* MOSIN OBREZ (and sawing-off tweaks) Introduces the Mosin Obrez (sawn-off Mosin) In addition to regular sawn-off changes, adds wild spread w/ 0.5 factor. Adds sprites for Mosin Obrez Mosin Nagant & Obrez requires 2 hands to rack the bolt now. Mosin can now have interactions done while the bolt is closed (mounting/removing bayonet, sawing, etc) Mosin can only be loaded while bolt is open (like how guns work) Sawing a gun now checks the tool for the TOOL_SAW behavior. Sawing is now under attackby() for ballistic guns rather than being unique to each shotgun. Sawing a gun with an attached bayonet returns the bayonet and removes the mounting lug. Adds additional gun variables for sawn-off guns (unique name, can_sawoff variable, unique in-hand sprites) * Medium Weight Mosin Obrez Sets the Obrez to be MEDIUM weight instead of HEAVY to allow 1-handed firing (still requires 2 to rack the bolt). * Energy Saw Sawing & Sawing Tweaks Energy Saws now function as saws (already had toolspeed set smh) Plasmacutters can be used to sawoff guns again Unique shotgun sawing code removed to use parent proc * Improvised Shotgun Tweaks Can no longer delete cabling by reslinging a shotgun that's slung. Examine text tells you if there is a sling attached now. * adds suppressor support Sawing guns with suppressors return the suppressor and disallow attaching a new one Integrally suppressed guns will no longer be suppressed after hacking off the barrel, but do not give a free suppressor * Obrez now KICKS when fired 1-handed similar to warden's shottie, has spread 5 when fired 1-handed * Adds innate spread to Obrez Obrez now has spread 10, ontop of bonus_spread 25 from being sawn off. * Removes the Russian SOUL Changes sawn description from "Огонь!" ("Open fire!") to something in English.
- Loading branch information
1 parent
602e6a1
commit 8048bde
Showing
8 changed files
with
68 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.