-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weapon Category Update #1709
Weapon Category Update #1709
Conversation
weapon_category for martial arts cross-mod compatibility Co-Authored-By: Saicchi <[email protected]>
Co-Authored-By: Termineitor244 <[email protected]>
Co-authored-by: Saicchi <[email protected]>
* KNIVES * QUARTERSTAVES * BLADED_FARMING * Remaining knife * MEDIUM_SWORDS * LONG_SWORDS * SHORT_SWORDS * CLAWS * BATONS
* CLAWS * BATONS * Remove QUARTERSTAVES * KNIVES * BLADED_FARMING * SHIVS Co-authored-by: Kevin Granade <[email protected]>
* KNIVES * BATONS * QUARTERSTAVES * BLADED_FARMING * CUTTING_POLEARMS * PIERCING_POLEARMS * Removed non-sensical weapons * Removed swords * HOOKING_POLEARMS * POLEARMS
Weapon Categories: Fior Di Battaglia
Weapons Categories: Fencing
* BIONIC_WEAPONRY * CLAWS Co-Authored-By: Termineitor244 <[email protected]>
* make Zweihander a longsword * make estoc a longsword * Update martialarts.json * new sword categories * added new categories to weapons (except Japanese swords) and removed zwie- from long swords * added Japanese sword category to weapons
Weapon categories: Aikido, Judo, Bōjutsu and weapon category specific techniques
Is this ready or still a draft? |
Draft. I'm still going through the whole thing. I want to streamline the categories so that all weapons have only one category, then I need to try porting over the martial art weapon category display and tweak that so it doesn't scream at people. |
d845441
to
08e2dd4
Compare
08e2dd4
to
be4f99f
Compare
Co-authored-by: Olanti <[email protected]>
Co-authored-by: Olanti <[email protected]>
…taclysm-BN into Weapon-Categories
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check the melee weapons yet, but the ranged ones are ok.
Co-authored-by: Olanti <[email protected]>
rifle_pneumatic and rifle_elastic copy-from rifle_base so they already inherit the same looks_like.
Copy over magnetic mod locations
Skimmed the melee weapons, look fine. |
Add weapon category check to martial art
If we want this changed better do it in a different PR rather than this stupidly massive one.
* Merge pull request #50212 from Saicchi/weaponcategory weapon_category for martial arts cross-mod compatibility Co-Authored-By: Saicchi <[email protected]> * Weapon Categories: Krav Maga Co-Authored-By: Termineitor244 <[email protected]> * SHIVS (#52615) * weapon categories in [F1] menu (#52402) Co-authored-by: Saicchi <[email protected]> * Weapon Categories: Ninjutsu (#51868) * KNIVES * QUARTERSTAVES * BLADED_FARMING * Remaining knife * MEDIUM_SWORDS * LONG_SWORDS * SHORT_SWORDS * CLAWS * BATONS * Weapon Categories: Eskrima (#51918) * CLAWS * BATONS * Remove QUARTERSTAVES * KNIVES * BLADED_FARMING * SHIVS Co-authored-by: Kevin Granade <[email protected]> * [CR] Weapon Categories: Silat (And Polearms categories) (#51972) * KNIVES * BATONS * QUARTERSTAVES * BLADED_FARMING * CUTTING_POLEARMS * PIERCING_POLEARMS * Removed non-sensical weapons * Removed swords * HOOKING_POLEARMS * POLEARMS * POLEARMS (#52579) * Merge pull request #52671 from Termineitor244/Fior-Di-Battaglia-Weapons Weapon Categories: Fior Di Battaglia * Merge pull request #52786 from Termineitor244/Fencing-Weapons Weapons Categories: Fencing * Weapon Categories: Bionic Combatives (#52885) * BIONIC_WEAPONRY * CLAWS Co-Authored-By: Termineitor244 <[email protected]> * Weapon Categories: Medieval Swordsmanship (#53449) * make Zweihander a longsword * make estoc a longsword * Update martialarts.json * new sword categories * added new categories to weapons (except Japanese swords) and removed zwie- from long swords * added Japanese sword category to weapons * bokken and bio blade (#53695) * Rename * Merge pull request #57008 from Termineitor244/Weapon-Categories-Final Weapon categories: Aikido, Judo, Bōjutsu and weapon category specific techniques * Styling * Display weapon category in item info. * Strip out gun weapon categories * Add weapon categories to guns All guns now have their own categories, wheeeeee I want to die. * JSON fixes * Add weapon categories to melee weapons Reorganized - Axes and similar are in their own file. - Moved Shivs to misc.json. - Macuahuitl moved to swords - Fake and Inferior variants always underneath "original" versions. Reorganized melee weapon categories to follow form/function better. * martial arts update Update MA in accordance with changed weapon categories. * Display and sort Weapons displayed in MA based on category listed in MA json, any weapons specially added are listed as Special weapons. There can be duplicates on this list. Katanas appear in 1H_SWORDS and JAPANESE_SWORDS for instance. * Tweaks Update martialarts.json Update martialarts.cpp * Translated string Update Co-Authored-By: Saicchi <[email protected]> Co-Authored-By: Jianxiang Wang (王健翔) <[email protected]> * Tonfa separation from Batons Unique enough and keeps them out of Fencing style * Update martialarts.json * Update martialarts.json * Linting * Update weapons.json * Fixes Add the special stuff I missed from Ninjutsu and Silat. Fix a few logic issues. * Reference fix * Mod Update Add weapon categories to most mods. * Linting * Update tools.json * Update src/item.cpp Co-authored-by: Olanti <[email protected]> * Update src/martialarts.cpp Co-authored-by: Olanti <[email protected]> * Update description and add extract function to table * Move weapon category check * Update lang/extract_json_strings.py Co-authored-by: Olanti <[email protected]> * Alphabetize * Alphabetize 2 * Remove looks_like rifle_pneumatic and rifle_elastic copy-from rifle_base so they already inherit the same looks_like. * Magnetic weapon fix Copy over magnetic mod locations * Fix name for 1shot default rifle * Update martialarts.cpp Add weapon category check to martial art * No reason to change this here. If we want this changed better do it in a different PR rather than this stupidly massive one. --------- Co-authored-by: Saicchi <[email protected]> Co-authored-by: Termineitor244 <[email protected]> Co-authored-by: Termineitor244 <[email protected]> Co-authored-by: Saicchi <[email protected]> Co-authored-by: Kevin Granade <[email protected]> Co-authored-by: Angela Graves <[email protected]> Co-authored-by: catdach <[email protected]> Co-authored-by: David Seguin <[email protected]> Co-authored-by: Jianxiang Wang (王健翔) <[email protected]> Co-authored-by: Olanti <[email protected]>
Summary
SUMMARY: Infrastructure "Port over Weapon Categories and tweak to BN specifications."
Purpose of change
Add Weapon Categories, which allow easier addition of weapons to martial arts and hopefully in the future can be used to aid with holsters and magazines, to define what can and cannot be stored without writing a full thesis.
Describe the solution
Ports over all related PRs to this issue.
We will need to tweak these. Because from what I can read the system was updated at some point to force weapon categories, which honestly isn't the kind of system I'm looking for.
Category Display has been added with a rather different implementation from the inspiring PR, now the game will display the weapon categories listed in the MA jsons along with all applicable weapons. If you add a weapon via the old
"weapons"
variable it will list it as "Special" weapons for that style.Category Translation was merged. So now it's not screaming in all caps and _.
Contains a fix for techniques. Previously the game would only read and add techniques, never clearing them when using copy-from in any form. Now it properly inherits and clears. I have not personally tested extend/delete.
Describe alternatives you've considered
Lots of FLAGs.
Testing
Additional context
PRs like Category Display, Category Translation could probably be merged, with fixes, mostly because the category display is part of the reason weapon categories have been enforced.