Skip to content
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

Armor rework, part 1a #5101

Merged
merged 11 commits into from
Feb 1, 2024
Merged

Armor rework, part 1a #5101

merged 11 commits into from
Feb 1, 2024

Conversation

neoancient
Copy link
Member

This is the first half of the first step of reworking armor EquipmentTypes to consolidate the armor statistics into one place and streamline their handling. The goal of the first part is to eliminate the static methods in EquipmentType and the construction data in Entity and TestEntity. This PR does so for armor names and weights/points per ton. I left it off here to keep the change from getting even bigger, but the second half of this step involves costs, removal of the remaining static methods from EquipmentType (many of which now simply pass the work on to ArmorType), and addition of support vehicle armors.

Copy link
Member

@NickAragua NickAragua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine code-wise.

@SJuliez SJuliez merged commit 358bcb5 into master Feb 1, 2024
2 of 4 checks passed
This was referenced Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants