-
Notifications
You must be signed in to change notification settings - Fork 3k
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 Refactoring #10534
base: master
Are you sure you want to change the base?
Weapon Refactoring #10534
Conversation
Also correct shooting
While you're at it, why not also remove that odd default x value of 5? I believe dagger only uses it, so it's been a slightly inconvenient value that do just exist. |
What about the default shootY of 3? |
@@ -488,8 +488,7 @@ private void rebuildBrowser(){ | |||
for(ModListing mod : listings){ | |||
if(((mod.hasJava || mod.hasScripts) && Vars.ios) || | |||
(!Strings.matches(searchtxt, mod.name) && !Strings.matches(searchtxt, mod.repo)) | |||
//hack, I'm basically testing if 135.10 >= modVersion, which is equivalent to modVersion >= 136 | |||
|| (Version.isAtLeast(135, 10, mod.minGameVersion)) | |||
|| (Version.isAtLeast(147, 0, mod.minGameVersion)) |
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.
very breaking changes
Refactors weapons into not being an unreadable mess.
BaseWeapon
BuildWeapon
MineWeapon
TargetWeapon
RepairBeamWeapon
ReloadWeapon
PointDefenseWeapon
Weapon
ContinuousWeapon
Should retain Json mod backwards compatability.
Java mods will need to be updated.
If your pull request is not translation or serverlist-related, read the list of requirements below and check each box: