blitzmann
dc8aff6b6c
Merge branch 'master' into charImplants
2016-03-19 15:33:35 -04:00
blitzmann
c42748a5dd
Fix #537 - cap battery causing remote cap transfers to apply incorrect values.
...
Bump to stable 1.20.1
2016-03-15 22:46:51 -04:00
blitzmann
b5cf835959
Add a toggle between fit-specific implants and character implants. This avoids a lot of the problems of how to mix these two sources of implants. Character implants cannot change stage.
2016-03-13 14:48:43 -04:00
blitzmann
627dac692c
Modify applied cap drain based on ship's cap resistance
2016-03-08 18:23:35 -05:00
blitzmann
e3742c0420
Fix double calculations on projected fits that double as boosters ( #496 )
2016-02-10 00:04:19 -05:00
Cameron Grout
702d249bad
Updated turret detection as advised
2015-10-31 16:15:35 +13:00
Cameron Grout
cc2835a341
Turrets of the same type now do not stagger
...
Playing with the cap simulator, I noticed that turrets of the same type
stack and have staggering applied when running through the cap
simulator. This is not realistic behaviour as most (all?) pilots will
have grouped their turrets in-game, meaning they will all activate
simultaneously rather than activating individually, offset from
each other.
This change introduces a 'disable stagger' field to the drain tuple that
is passed through to the cap simulator, allowing us to disable
staggering on certain modules. This will enable us to add GUI options in the
future to allow users to choose whether to stagger certain modules (eg,
cap boosters, neuts) or have them all fire simultaneously. Currently
this defaults to False (existing behavior) for all modules except for
turrets, which will now behave more like in-game turrets for cap
simulation purposes.
2015-10-31 15:30:20 +13:00
blitzmann
f17fb82ce7
Fix issue with ship bonuses not applying when fit is projected ( #374 )
2015-10-05 18:10:39 -04:00
blitzmann
a5f1370eec
Fit system effects not applying to projected fits.
2015-10-04 13:17:13 -04:00
blitzmann
30a8437515
Fix returning unicode with __repr__ and __str__. Fixes #356
2015-09-24 14:15:54 -04:00
blitzmann
a08bb2494b
Fix system effect states
2015-09-22 21:45:32 -04:00
blitzmann
6e95f69565
Support speedLimit introduced with Entosis Link
2015-08-25 17:26:25 -04:00
blitzmann
e74e2615ad
Merge remote-tracking branch 'origin/projections'
2015-07-23 15:46:32 -04:00
blitzmann
9de3600d7f
Fix self-boosting
2015-07-23 01:38:51 -04:00
blitzmann
5a4f526b2b
Fix fit copying
2015-07-22 14:27:44 -04:00
blitzmann
17733d5951
Added missing tactical mode calculations... whoops
2015-07-22 13:02:08 -04:00
blitzmann
71b258a8f5
Merge fit attributes with ship
2015-07-17 16:32:42 -04:00
blitzmann
cd7579a4bf
Fix #332 - offline rigs calculated in calibration stats
2015-07-17 00:01:31 -04:00
blitzmann
d6199a58c2
Separate projected fits from list of affectors. Also, show when affected module is projected. Still need to clean up affector tree stuff
2015-07-16 23:59:37 -04:00
blitzmann
3ad5aaac89
Fix #331 - gang boosts not applied to self projection
2015-07-15 16:52:09 -04:00
blitzmann
9a1b0f07c0
Added documentation on why projections don't respect the __calculated flag which gang boosts do
2015-07-14 16:32:10 -04:00
blitzmann
c571fdc5e6
Fit fit alterations with self projections
2015-07-13 19:29:23 -04:00
blitzmann
63fce4be17
Handle self projections by creating a copy of the fit. Due to the way effects are calculated, we would have double effects implemented if not for the copy
2015-07-11 16:28:09 -04:00
blitzmann
86ee5292d8
Fix fit copying and deleting fits not being reflected in other fits.
2015-07-11 12:43:47 -04:00
blitzmann
28a5318e3b
Merge branch 'master' into toggleProjectionFit
...
Conflicts:
config.py
2015-07-10 16:09:00 -04:00
blitzmann
496e9b56b5
Handle use case of invalid fit's mucking things up
2015-07-10 15:46:15 -04:00
blitzmann
68dddf2810
Fix for init projected fit. Took a long time to figure out what was happening.
2015-07-10 11:58:15 -04:00
blitzmann
c17e03d8d0
Fixes critical design issue when it comes to projected fits. Disabled some of the more advanced functionality (projection amount and active) to cope to development. Crash still happens occasionally when adding projected fit for unknown reasons - not 100% reproducable yet
2015-07-09 17:53:41 -04:00
blitzmann
af9f64db5f
Move the chain into the runtime loop, otherwise projections won't work for some odd reason.
2015-07-09 14:48:15 -04:00
blitzmann
d885bd4636
Bump dev and Fix #321 - oversight in tactical mode selection
2015-07-09 11:48:11 -04:00
blitzmann
c17bce55bb
Lots of stuff
...
- Added logging and replaced Timer class with more useful one
- Move projected fit loop out of runtimes
- Eliminate recursions from Fit.clear()
- Clean up overall fit calc logic
2015-07-09 10:43:39 -04:00
blitzmann
b95a10d284
Add active column. Looping the fit to apply it x amount of times doesn't seem to work. Probably because it's been flagged calculated and returns early
2015-07-07 13:49:38 -04:00
blitzmann
2bca3ddcc8
GUI support (also made regular checkboxes pretty for drones/implant/etc)
2015-07-07 13:49:37 -04:00
blitzmann
9ef182aa99
First working prototype of toggleable projected fits. Creates a new association object that stores projection-specific information. GUI hasn't been touched (need to show state), and there are a lot of variables that I need to rename.
2015-07-07 13:49:35 -04:00
blitzmann
3773d1c28e
Improvements to fit initializations and logging
2015-07-05 12:57:04 -04:00
blitzmann
7959593c6c
Improve object initialization and add support for logging the errors.
2015-07-05 00:31:52 -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
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
8008c986d3
Fix #302 - Projected fit applying Tactical Destroyer mode effects on projectee
2015-06-16 13:14:16 -04:00
wolfwood
b78c0a5845
fix issue copying fits with sqlalchemy 1.0
2015-05-27 10:21:16 -07: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
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
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
7100e8997b
Merge branch 'master' into singularity
2014-11-29 21:53:22 -05:00