Commit Graph

611 Commits

Author SHA1 Message Date
DarkPhoenix
cecb8f69a3 Change behavior of module state switching 2019-04-20 21:49:13 +03:00
DarkPhoenix
327ad78eb8 Fix insert for boosters as well 2019-04-20 19:31:44 +03:00
DarkPhoenix
dbca0f9dea Limit drone stacks by ship bandwidth too 2019-04-19 12:29:49 +03:00
DarkPhoenix
5b7c777d6b Add 2 functions which calculate how many drones ship can release / store 2019-04-19 09:36:28 +03:00
DarkPhoenix
9261d29ac1 DPS graph now respects factor reload option for fighters 2019-04-18 11:04:00 +03:00
DarkPhoenix
4c04fd93ae Make sure position is returned as None in case the module cannot be found on passed fit 2019-04-17 22:37:44 +03:00
DarkPhoenix
f4f92b0821 Copy spoolup settings of modules when copying fit 2019-04-17 22:26:41 +03:00
DarkPhoenix
3aede13136 Copy t3d modes when copying fit 2019-04-17 22:24:49 +03:00
DarkPhoenix
d171548936 Fix fit creation 2019-04-17 20:02:05 +03:00
DarkPhoenix
9fd70a4ba9 Avoid using modPosition where possible 2019-04-17 16:14:30 +03:00
DarkPhoenix
400bb10ed3 Ensure that owner fit is always visible from all fit items and their modified attribute map
Fixes some issues with some afflictions not shown/registered when fit has just been loaded
2019-04-17 15:35:15 +03:00
DarkPhoenix
53915eb956 Minor cleanup 2019-04-17 13:27:08 +03:00
DarkPhoenix
5457c31148 Use already existing method in module validator 2019-04-17 10:03:49 +03:00
DarkPhoenix
bc4c35665e Change the way dragging from cargo to modules is handled 2019-04-16 02:10:02 +03:00
DarkPhoenix
64bba0cfdb Rework cargo to module command 2019-04-16 01:41:19 +03:00
DarkPhoenix
9e6031edf2 Get rid of drone variation command 2019-04-13 20:53:26 +03:00
DarkPhoenix
6174bf8a0b Refactor non-projected fighter commands 2019-04-13 01:27:26 +03:00
DarkPhoenix
fda2c43a1d Restore booster state even when it was replaced by another booster 2019-04-10 18:18:26 +03:00
DarkPhoenix
dfa0373497 Fix fighter abilities and do not rely on effects' removed attributes anymore 2019-03-23 18:42:35 +03:00
Ryan Holmes
549353dba1 Merge pull request #1885 from pyfa-org/issue1870
Implement fixes for #1870 - undo the Module.toDummy that happens when…
2019-03-20 18:01:30 -04:00
Ryan Holmes
a74cdc59bd Implement fixes for #1870 - undo the Module.toDummy that happens when replacing a module, but the new module doesn't fit. And shuffle around the logic that dictates if a module / item fits onto a particular ship to allow us to ask a fit if a base item can fit based on low-level attributes that don't change 2019-03-17 22:03:39 -04:00
DarkPhoenix
579081393b Merge branch 'master' into price_optimize 2019-03-16 01:47:18 +03:00
Ryan Holmes
90e275e386 Remove unused import 2019-03-14 14:25:11 -04:00
Ryan Holmes
9a16c579eb fixing various imports to point to eos.const instead of old locations 2019-03-14 12:50:20 -04:00
Indiction
afa8c3c53a Replaced eos.enum by enum. Removed unused enum import.
Found another Enum to move.
2019-03-09 18:59:43 +01:00
Indiction
bd33efa875 Changed FittingSlot to IntEnum 2019-03-09 18:45:28 +01:00
Indiction
f58c8ec4f9 Added unique to rest except Fittingslot 2019-03-09 15:18:10 +01:00
Indiction
6333a0c74b Adding descriptions to enums.
Renaming Enums into more useful names.
2019-03-07 22:30:51 +01:00
DarkPhoenix
41711706c0 Merge branch 'master' into price_optimize 2019-03-07 13:13:17 +03:00
Indiction
e6309bb8bb Copy Enums to const.py
Switching to IntEnum where necessary.
2019-03-07 00:14:48 +01:00
DarkPhoenix
257df58c3a Get rid of idea of "better" replacements
It turned out to be maintenance hell and it's just hard to find all the dual-action attributes (like crash vs GD sig attr, AB cycle time modification vs rep cycle time modification etc)
2019-03-06 00:43:19 +03:00
DarkPhoenix
b03860e765 Add implant, booster and cargo support to fit price optimization 2019-03-03 19:57:59 +03:00
DarkPhoenix
647c093451 Add drones and fighters to fit optimization 2019-03-03 10:00:23 +03:00
DarkPhoenix
d96146034a Fix replacing of modules 2019-03-03 09:46:27 +03:00
blitzmann
f8e6474b39 Some slight tweaks to work done by @tonycoz for #1839 2019-03-02 17:21:46 -05:00
DarkPhoenix
ed24e7a2a3 Add validity override of 2 hours for prices 2019-02-25 08:43:27 +03:00
DarkPhoenix
704042b4b7 Change the way we work with prices 2019-02-19 19:02:50 +03:00
DarkPhoenix
7dd1c63898 Return 0 price even if price has not been fetched 2019-02-13 16:19:01 +03:00
DarkPhoenix
cbd1a34c68 Round cpu/pg like EVE does
To work around some fits where pyfa shows that items do not fit when they actually do
2019-02-13 13:14:18 +03:00
DarkPhoenix
e0c389a643 Do not show (!) for fetches which will always fail (e.g. abyssal mods). Also restore commit as it was a threat synchornization mechanism 2019-02-13 13:07:54 +03:00
DarkPhoenix
17313bd67b Assume RRs work at 100% efficiency, even if they are projected from self 2018-12-19 23:46:30 +03:00
DarkPhoenix
6f8fca7525 Implement spoolup parameters fetcher and rely on it for misc column stats 2018-12-14 08:15:05 +03:00
DarkPhoenix
7a8baac5bd Rework way we pass spoolup options, so that it's possible to prefer passed values or on-module values as needed 2018-12-13 13:54:53 +03:00
DarkPhoenix
74ebd3415c Calculate sustainable tank adjustments for prespool/fullspool values too 2018-12-13 09:17:59 +03:00
DarkPhoenix
de752cbe0a Add prespool/fullspool support to non-sustainable tank calculation 2018-12-12 15:48:30 +03:00
DarkPhoenix
25c5abffee Introduce new attributes which store prespool and postspool armor reps, and modify effects affecting it 2018-12-12 15:10:38 +03:00
DarkPhoenix
e6b2d15468 Fetch spoolup time for gun's misc value from spoolup calculator 2018-12-12 12:36:31 +03:00
DarkPhoenix
10572c7dbd Expose spoolup time to caller 2018-12-12 10:31:20 +03:00
DarkPhoenix
e83e081548 Calculate amount of cycles for spoolup 2018-12-12 10:20:17 +03:00
DarkPhoenix
2749426a7c Change tooltips 2018-12-12 08:43:54 +03:00