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

Implement copy from fitting window #91

Closed
blitzmann opened this issue May 13, 2014 · 4 comments
Closed

Implement copy from fitting window #91

blitzmann opened this issue May 13, 2014 · 4 comments
Labels
enhancement This is a feature request, or an idea to enhancement a current feature

Comments

@blitzmann
Copy link
Collaborator

Fitting window being:
sabre

You can copy this with Ctrl+A then Ctrl+C, and paste. This is the format:

High power
7x 125mm Gatling AutoCannon II
1x Interdiction Sphere Launcher I
Medium power
2x Medium Shield Extender II
1x Limited 1MN Microwarpdrive I
1x Warp Scrambler II
Low power
1x Damage Control II
1x Nanofiber Internal Structure II
Rig Slot
2x Small Core Defense Field Extender II
Charges
662x Barrage S
8x Warp Disrupt Probe
1x Republic Fleet Phased Plasma S
81x Nanite Repair Paste
@blitzmann
Copy link
Collaborator Author

Just realized that the format doesn't specify ship, so... this isn't gonna work unless we prompt user for ship type. Which is probably more trouble than it's worth right now. Shame, would have been an easy way to import fits from the client. =(

@DarkFenX
Copy link
Member

What if it will just try to append mods to currently open ship fitting?

It is likely to be other kind of import though, because currently used import system does not really support it.

@blitzmann
Copy link
Collaborator Author

That could work, however it deviates from the current system a bit. We could perhaps pass the active fit to the import function. If there are modules on the current active ship, then make a new fit with the same ship. If modules are empty, then simply append...

That could work. I'll reopen and see what I can do. =)

@blitzmann blitzmann reopened this May 14, 2014
@DarkFenX
Copy link
Member

Fit can have 0 modules, but still have cargo and/or rigs (freighter, ship with stripped modules). It should match all possible (exact) headers imo, if any is found - do the import magic. I will fix it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is a feature request, or an idea to enhancement a current feature
Projects
None yet
Development

No branches or pull requests

2 participants