Commit Graph

119 Commits

Author SHA1 Message Date
DarkPhoenix
98e834fd30 Re-add merge functionality 2019-04-16 17:23:25 +03:00
DarkPhoenix
7ae8d1dc1a Allow splitting drone stacks again 2019-04-16 16:53:22 +03:00
DarkPhoenix
e57fce39fe Fix fetching of prices of on-character implants 2019-04-16 16:25:44 +03:00
DarkPhoenix
fd54d2c28c Make sure module position is None when we're asking if it can be fit, fixes crash with cloning siege module-alike modules 2019-04-16 15:17:27 +03:00
DarkPhoenix
fbf3cace10 Save secondary state changes and restore them on undo 2019-04-16 14:48:25 +03:00
DarkPhoenix
9301bb56fa More changes to cargo to module command, start reworking module to cargo as well 2019-04-16 12:20:54 +03:00
DarkPhoenix
64bba0cfdb Rework cargo to module command 2019-04-16 01:41:19 +03:00
DarkPhoenix
46fa1eb0c6 Fix implant set addition 2019-04-15 23:12:51 +03:00
DarkPhoenix
c7ed6367f9 Rework clone/swap modules 2019-04-15 21:00:34 +03:00
DarkPhoenix
9523c6f349 Add meta swap support to projected items 2019-04-15 20:03:00 +03:00
DarkPhoenix
8b0f5f871c Make sure drones to not merge on meta change 2019-04-15 18:57:00 +03:00
DarkPhoenix
4c0f88cdfa Rework meta swap command 2019-04-15 18:05:18 +03:00
DarkPhoenix
82777d0b02 Move gui commands to their own package to avoid confusion in commands package 2019-04-15 12:15:19 +03:00
DarkPhoenix
c4c68a4e93 Rename calc command package, as we're going to put gui commands into packages too 2019-04-14 14:21:43 +03:00
DarkPhoenix
f80244d560 Add custom command processor for our internal needs and use it in booster add command 2019-04-14 14:14:14 +03:00
DarkPhoenix
a8684ef1b9 Merge several local/projected commands into universal commands 2019-04-14 13:30:14 +03:00
DarkPhoenix
5ac9604fab Categorize other calc commands 2019-04-14 12:37:24 +03:00
DarkPhoenix
c2b742304e Move some of commands into packages 2019-04-14 11:45:58 +03:00
DarkPhoenix
c2b0257449 Rework toggle commands 2019-04-14 11:37:58 +03:00
DarkPhoenix
0d90c187f2 Rename set mode command 2019-04-14 04:07:31 +03:00
DarkPhoenix
88acec4241 Show spoolup option for projected modules, and set spoolup via command processor for all cases 2019-04-14 03:59:59 +03:00
DarkPhoenix
9a6255cb29 Rework setting mode and fix command which changes fit name
It was just broken before
2019-04-14 03:18:25 +03:00
DarkPhoenix
c721869dfa Change charge changing command 2019-04-14 02:06:41 +03:00
DarkPhoenix
1154435a89 Minor style fixes 2019-04-13 23:26:53 +03:00
DarkPhoenix
6d9e60648e Do not remove items when quantity is 0 in fit commands, it will be done in gui commands instead 2019-04-13 23:11:28 +03:00
DarkPhoenix
4522edb814 Rework module state changing 2019-04-13 23:08:49 +03:00
DarkPhoenix
8139d88a52 Allow changing amounts of projected fighters 2019-04-13 22:48:20 +03:00
DarkPhoenix
353b845102 Change how changing of projected drone amount is done via commands 2019-04-13 22:05:06 +03:00
DarkPhoenix
c3bffcad34 Rework figter amount changer 2019-04-13 21:19:01 +03:00
DarkPhoenix
9e6031edf2 Get rid of drone variation command 2019-04-13 20:53:26 +03:00
DarkPhoenix
bb47df2119 Rework "change drone/cargo amount" commands 2019-04-13 20:33:23 +03:00
DarkPhoenix
aab9b39fea Slightly change how projected fits are processed 2019-04-13 18:47:47 +03:00
DarkPhoenix
1ca4c73a3e Rework projected fighter fit commands 2019-04-13 18:26:05 +03:00
DarkPhoenix
7f870cf675 Rework projected drone fit commands 2019-04-13 16:25:49 +03:00
DarkPhoenix
aa9f16d3ad Make sure our handled lists are not sorted
Because we rely on item positions within lists to identify modules for undo/redo stuff
2019-04-13 02:46:54 +03:00
DarkPhoenix
c997661f3a Rework implant fit commands 2019-04-13 01:56:17 +03:00
DarkPhoenix
6174bf8a0b Refactor non-projected fighter commands 2019-04-13 01:27:26 +03:00
DarkPhoenix
36c19fe6e8 Rework local drone commands 2019-04-12 23:46:41 +03:00
DarkPhoenix
e6c9db3eef Change command-related commands a little 2019-04-12 22:24:13 +03:00
DarkPhoenix
336af0f669 Rework cargo to use cargoinfo 2019-04-12 20:09:13 +03:00
DarkPhoenix
2800637a90 Rework cargo fit commands 2019-04-12 19:51:18 +03:00
DarkPhoenix
1fb9936893 Fix booster commands 2019-04-12 17:55:56 +03:00
DarkPhoenix
d738ba615e Finish overhauling module-related fit commands 2019-04-12 14:32:25 +03:00
DarkPhoenix
1d98f889fd Raise exceptions on failures to add module to module list 2019-04-12 10:47:14 +03:00
DarkPhoenix
ad03f907fa Overhaul module-related commands 2019-04-12 04:02:28 +03:00
DarkPhoenix
5579929f83 Undoing removal of drones now restores their proper state 2019-04-11 18:20:56 +03:00
DarkPhoenix
e90e9a5ca1 Make removal of fighters completely undoable 2019-04-11 16:31:44 +03:00
DarkPhoenix
2341650437 Store projected fit state on deletion for undo purposes 2019-04-11 14:03:44 +03:00
DarkPhoenix
f2c26af791 Fix toggling of abilities of projected fighters 2019-04-11 13:45:25 +03:00
DarkPhoenix
fc82e45d6c As wormhole effects are still modules and we now fully support reverting modules even in case they were overwritten, consider them as modules in commands too 2019-04-11 13:21:49 +03:00