blitzmann
5991d19b3e
Allow Subsystems as modules.
2015-07-04 00:32:28 -04:00
blitzmann
ca08f8d8da
Handle fits with invalid ships by removing and deleting them when loaded.
2015-07-02 15:03:56 -04:00
blitzmann
e1ce672569
Move flag_modified to HandledList.remove() so that it takes care of all our use cases. Give fits an itemID like everything else so that projected fits can be removed correctly by this logic. No reason for them to be special snowflakes.
2015-07-02 11:22:26 -04:00
blitzmann
717080b58c
Handle invalid implants and boosters. Uses a different method to ensure implant and booster slot is not duplicated. Still need to modify existing databases to remove Booster table constraint. Reverts a previous commit: "Gracefully handle invalid boosters in database (both itemIDs that don't exist as well as non-booster items). Implants need a little more work" ( aaa5a6ae18)
2015-07-02 00:48:32 -04:00
blitzmann
51696c509f
Merged Cargo and Drone collection class (essentially the same). Utilized SQLAlchemy's flag_modified() to force SA to update DB (in this case, remove the entry)
2015-07-01 20:54:40 -04:00
blitzmann
4a5ae9f6f1
Handle invalid cargo. Noticed that cargo nor drones are removed from the database with these methods. Not sure why - projected drones and modules are correctly removed in similar ways
2015-07-01 15:21:27 -04:00
blitzmann
bcc77f11cd
Handle invalid projected drones
2015-07-01 14:50:08 -04:00
blitzmann
1c18a5207c
System Effects are wrapped in Module class, even though they are not modules. Account for this.
2015-07-01 13:32:31 -04:00
blitzmann
fa2b1e3821
Handle invalid modules. This streamlines the module init code from both program and database sources. When loading from the database, we ensure that the module item is actually an item. If not, we set a flag to delete it (which is picked up by the collection class)(can't use exceptions as there's no place to catch them)
2015-07-01 02:20:56 -04:00
blitzmann
aaa5a6ae18
Gracefully handle invalid boosters in database (both itemIDs that don't exist as well as non-booster items). Implants need a little more work
2015-06-30 13:51:49 -04:00
blitzmann
8008c986d3
Fix #302 - Projected fit applying Tactical Destroyer mode effects on projectee
2015-06-16 13:14:16 -04:00
DarkPhoenix
8c30ee3fd3
Merge branch 'master' into singularity
2015-05-28 15:21:28 +03:00
wolfwood
b78c0a5845
fix issue copying fits with sqlalchemy 1.0
2015-05-27 10:21:16 -07:00
DarkPhoenix
ef6e25bfce
Merge branch 'master' into singularity
2015-05-27 14:55:12 +03:00
DarkPhoenix
e81f7eb765
Change validator requirement for owner ID
...
This fixes bug related to sqlalch 1.0
2015-05-27 14:54:37 +03:00
DarkPhoenix
26122f6da7
Add latest changes from Singularity
2015-05-21 16:44:39 +03:00
Cameron Grout
e082077dfc
Updated None || 0 check to meet requested style
...
Updated for pull request #263
2015-02-23 17:02:47 +13:00
Cameron Grout
be7e8be85b
Fix for bug #261
...
Missile launchers do not have a "capacitorNeed" attribute (while other
capless weapon systems do), so getModifiedItemAttr will return None
rather than 0. Added a check for this.
2015-02-22 23:52:58 +13:00
blitzmann
192d6f4605
Fix #156
2015-01-05 22:50:33 -05:00
blitzmann
85608616dd
readjust some mode logic
2014-12-10 22:04:12 -05:00
blitzmann
d5ce666d8d
Fix #225 - set mode whenever the ship is set.
2014-12-10 21:54:26 -05:00
DarkPhoenix
20b2f1e5fc
Merge branch 'singularity'
2014-12-09 23:39:57 +03:00
blitzmann
2e460adbc9
Add drone volleys
2014-12-04 21:08:41 -05:00
blitzmann
337db326fd
Add Mode and separation to fitting list.
...
Todo: A few exceptions are thrown when trying to remove mode via double click, spawn context menu, move to a different position, etc. All simply because Mode is not a Module. Will need to add try-except blocks to cover these instances
2014-12-02 14:33:47 -05:00
blitzmann
022a929399
Fix initial mode assignment
2014-12-02 12:31:10 -05:00
blitzmann
2a7e35ff6f
Fix exception with non-t3-dessys context menu
2014-12-02 02:15:01 -05:00
blitzmann
23a71e7448
Implement service layer mode setter. Modes now have basic support and testing.
...
Also decided to have two separate functions that return the mode items as Items or Modes. Returning them as Items makes it easier to check if provided modeID from user database is valid (since we cannot easily map the modeID to create a Mode), returning as Modes allows us to easily use them for setters. There's probably a better way to do this, but w/e
2014-11-30 16:43:15 -05:00
blitzmann
081e32da6f
Various event binding fixes for context menus. It's still a mess, but it's not as bad of a mess.
2014-11-30 01:14:47 -05:00
blitzmann
7100e8997b
Merge branch 'master' into singularity
2014-11-29 21:53:22 -05:00
blitzmann
8df7593223
Moved compat.py to new dir utils/ and also added timer class
2014-11-29 20:47:53 -05:00
blitzmann
88ee1d60be
Fix loading of mode, and add some (untested) setting functions
2014-11-29 02:58:43 -05:00
blitzmann
dda1494b90
Added method to check/get modes, and start GUI integration (simple context menu)
2014-11-28 01:23:44 -05:00
blitzmann
f53384c4c2
Preliminary backend support for tactical destroyer modes.
...
* Modifies fits table to add "mode" column, which contains typeID of mode for fit
* Introduces Mode type, similar to Ship and Module type
* Includes effects for Amarr Tactical Destroyer Propulsion Mode
Still a lot to do: GUI switching, constraints on which ships get modes, etc
2014-11-27 23:23:24 -05:00
DarkPhoenix
15087a290a
Add proper support of attribute value limit
...
This fixes issue with blighted/polarized weapons getting resistances down to negative values
2014-11-07 12:49:34 +03:00
blitzmann
23906d5824
Fix #126
2014-10-14 00:10:47 -04:00
blitzmann
c9f33f200d
Fix #119
2014-09-29 16:20:59 -04:00
Ryan Holmes
b5f2df58ce
Merge pull request #168 from blitzmann/161-effDps
...
Implement effective DPS
2014-09-19 19:18:20 -04:00
blitzmann
c903dff8ad
Removed debugging prints
2014-09-15 18:02:49 -04:00
blitzmann
cc770898d9
Fixes issue where cargo is not copied with fit
2014-09-14 17:46:14 -04:00
blitzmann
bb16e649af
Added message to damage profile export
2014-09-03 18:45:04 -04:00
blitzmann
035443b4ff
We now use EFT-style import/exports for damage profiles.
...
Also, percentages now shown next to damage amount instead of foot (where notifications are going)
2014-09-03 14:56:44 -04:00
blitzmann
f0473f1eab
Added support to show errors for resist imports, as well as many improvements to GUI logic.
2014-09-03 12:52:05 -04:00
blitzmann
a95eabac7b
TargetResists: drones work. Also cleaned up redundancy in module.damageStats()
2014-09-03 01:37:59 -04:00
blitzmann
1ab76a7170
Commit initial work for effect DPS / Target resists
2014-09-03 00:49:53 -04:00
Ryan Holmes
b1bf14de29
Merge pull request #155 from blitzmann/network
...
Network service, other things - Resolves #135
2014-08-19 16:50:32 -04:00
blitzmann
e8041470c8
Remove / disable debugging prints
2014-08-17 23:40:22 -04:00
blitzmann
0881abae7b
Moves price fetching to new service as well as removes old and defunct c0rporation price source (along with much of the price fetching logic used to support multiple sources)
2014-08-17 21:47:07 -04:00
blitzmann
ed1b9854a0
Modify eveapi to work with pyfa service, move all character API calls from EOS to Character service and use new network service
2014-08-14 11:44:50 -04:00
blitzmann
d29b4d91e9
Adds "Chance to Jam" to Sensor Strength tooltip
2014-08-07 22:47:59 -04:00
blitzmann
dd27c3c805
Set files to 644 besides pyfa.py and scripts
2014-07-30 21:23:27 -04:00