Merged
Conversation
…ying firing mechanism, i probably missed a bug somewhere so that's scary
Contributor
Author
…le accuracy, added new sounds for the flash pan for better audio feedback on reloading
…lour on the font defines, oops.)
Merged
…es renamed and added to new quiver code, "balls" renamed to shots + typepaths renamed to be a bit more uniform
…o gunsgunsguns
…ch armoury plus equipment to operate them
… recipe, fixes erroneous spellings of shot pouch
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a basic flintlock musket to the game.
Planned tasks, in no particular order:
Also tweaks gun code a little bit, to check when emptying a weapon if the "bullet" should go straight to your inactive hand (assuming it's not full already), this will affect crossbows and bows as well.
Adds the Cudao Marksman mercenary subclass. In the future, this class will have a choice between types of firearm, but is limited to the flintlock musket for now.
Adds the musketeer virtue - gives you musket equipment and basic skills for firearm operation.
And a few things I've probably also forgot about.
Musket Acquisition
Currently, there are five ways to get your hands on a musket (and the tools necessary to make it works.)
Musket Operation
Compared to bows and crossbows, muskets have a slightly more complex reloading process - meaning trying to use this weapon solo will likely not go well for you. The steps for reloading the musket are as follows:
To shoot, simply make sure you're on shoot or arc intent, then hold down left click. If you let go of LMB before the crosshair shows the "ready" icon (looks like a cross) the shot will have terribly spread. The time this takes is affected by firearms skill and perception stat, much like bows and crossbows.
The pan does not necessarily need to be closed on step 3, just make sure you close it before trying to fire. If you add the shot before the powder, you will need to remove the bullet first. If you don't pack the powder, the shot will be inert. If you don't put any powder in at all, the same will happen. You can check the musket's reload status by examining it.
Activate in hand - Removes the bullet (if one is present) from the barrel. If there was powder present in the pan at this time, it will become unpacked and require re-packing when you put the bullet back in.
Right Click - Opens/closes the flash pan.
Middle Click - Packs the bullet into the powder.