Athanasius
77d96f61c7
Odyssey Credits: Update for book/cancel Taxi/Dropship
2021-05-01 10:50:20 +01:00
Athanasius
d74b886587
Update credits for SellOrganicData
2021-05-01 10:46:25 +01:00
Athanasius
751002bf1a
Suits: Guards for if we don't have CAPI data yet
...
We still need each try/except in case:
1. Journal has you buying a suit, or creating a SuitLoadout.
2. It then has you selling/deleting a different one.
3. But no CAPI data yet, so we don't know about that different one.
2021-05-01 10:42:54 +01:00
Athanasius
81104ca973
Suits: Only debug log if we can't find loadout for DeleteSuitLoadout
2021-05-01 10:31:08 +01:00
Athanasius
0e18666054
Suits: Only process SwitchSuitLoadout
if we know about Suits and Loadouts
2021-05-01 10:25:39 +01:00
Athanasius
3ab8b97562
Suits: We might not know about SuitLoadout being switched to
2021-05-01 10:19:10 +01:00
Athanasius
c867d4c282
CAPI: Don't auto-update on Taxi Docked
, but do on Disembark
in-station
...
Closes #1016
2021-05-01 10:14:35 +01:00
Athanasius
b4295058cc
Merge pull request #1015 from EDCD/enhancement/odyssey-alpha4-items
...
Items: Odyssey alpha4 changes/updates.
2021-05-01 10:02:37 +01:00
Athanasius
6d58863a40
Suits: Fix 'mame' typo
2021-04-30 15:42:10 +01:00
Athanasius
60b2045ea4
Items: Fix DropItems
and CollectItems
...
Tested as actually working.
2021-04-30 15:21:47 +01:00
Athanasius
e1a63c2879
Items: Correct UseConsumable
code
2021-04-30 15:12:12 +01:00
Athanasius
f89ed7999e
Items: Implement CollectItems
, DropItems
and UseConsumable
...
The paranoia when subtracting from counts is because of the lack of
fresh `BackPackMaterials` if relogging whilst on foot.
2021-04-30 14:44:20 +01:00
Athanasius
422b766586
Items: Decrement BackPack Consumable on UseConsumable
2021-04-30 14:30:37 +01:00
Athanasius
1f8215ed92
Items: ShipLockerMaterials
now has Data
...
But also, we're not getting a `BackPackMaterials` at the same time to be
sure of the state of things.
2021-04-30 13:56:26 +01:00
Athanasius
8e8c9fa3ff
Items: Data
is now in BackPackMaterials
as well
2021-04-30 13:50:52 +01:00
Athanasius
ae49797632
Merge pull request #1013 from EDCD/enhancement/odyssey-alpha4-suits
...
Odyssey Alpha4 extra suits-related support
2021-04-30 12:30:06 +01:00
Athanasius
eed4402340
Suits: Init monitor.state['Suits'] to empty dict
2021-04-30 10:53:38 +01:00
Athanasius
30b8a5eead
Suits: Log if a buy/sell event doesn't contain Price
2021-04-30 10:49:39 +01:00
Athanasius
203fb051b0
Suits: Simplify BuySuit
code.
2021-04-30 10:47:09 +01:00
Athanasius
ac4f052695
Suits: Update credits on BuyWeapon
...
Also cleaning out some verbose comments.
2021-04-29 12:38:01 +01:00
Athanasius
7b76e327ce
Suits: Always set 'id' to None
...
Better to get a `None` value than a KeyError.
2021-04-29 12:32:31 +01:00
Athanasius
d27075cb38
Suits: Handle LoadoutEquipModule
event
...
We're assuming weapons only at this point. Might need adjustment when
we get access to engineering.
2021-04-29 12:28:45 +01:00
Athanasius
d35f64ebd5
Suits: Handle LoadoutRemoveModule
...
Currently this seems to only trigger if you 'overwrite' an equipped
weapon with another one. The one being removed will be cited in this
event.
2021-04-29 12:21:08 +01:00
Athanasius
218073ed73
Suits: Remove weapon from all loadouts if sold.
...
Also update credits total for the sale.
2021-04-29 12:07:48 +01:00
Athanasius
2253e45c18
Suits: Add some paranoia around Loadouts
...
* Initialise to empty dict.
* try/except in case CAPI pull hasn't happened yet when parsing Journal
events.
2021-04-29 11:45:06 +01:00
Athanasius
e796684fc6
Suits: Handle RenameSuitLoadout
2021-04-29 11:40:59 +01:00
Athanasius
e24e0b3547
Suits: Update DeleteSuitLoadout
code with alpha4 example
...
Also slightly simplified this. Leaving the try/except for now, although
it should no longer be necessary.
2021-04-29 11:34:29 +01:00
Athanasius
bd1b86d3a3
Suits/Loadouts: Always convert to dict form for simpler downstream code.
2021-04-29 11:30:55 +01:00
Athanasius
addb178d3d
Suits: Handle 'CreateSuitLoadout'
...
This entails converting the Journal supplied data into CAPI form.
2021-04-29 11:23:14 +01:00
Athanasius
29a517ce11
Suits: Note that we need an 'UpgradeSuit' example still
...
The journal document has to be mistaken about cost being in credits.
2021-04-29 10:34:03 +01:00
Athanasius
aeca211a88
Suits: Handle 'SellSuit'
2021-04-29 10:26:55 +01:00
Athanasius
c8d98bba2e
suits: Guard against "no CAPI pull yet" on BuySuit
2021-04-29 10:23:39 +01:00
Athanasius
7b8c113962
suits: Record a newly bought suit in monitor.state['Suits']
...
We can't fill in the 'id' field, but this is likely the FDevID of the
suit type ?
2021-04-29 10:12:49 +01:00
Athanasius
96d9a80956
odyssey-4: Add outlines/comments for all upcoming events
2021-04-27 11:54:15 +01:00
Athanasius
f8f4fa6bb3
L10n: Add 'Suit' to en.template
2021-04-26 23:09:22 +01:00
Athanasius
77e6b64c64
L10n: Move "Minimize to system tray" to correct position
2021-04-26 23:08:08 +01:00
Athanasius
f8a001459f
Merge pull request #1011 from SayakMukhopadhyay/enhancement/126-minimize-tray
...
EDMarketConnector: Added minimize to tray on close functionality
2021-04-26 17:19:18 +01:00
Sayak Mukhopadhyay
a52472d6e0
Fix for tray icon not stopping on app stop when minimize to tray option is disabled
2021-04-26 19:18:47 +05:30
Sayak Mukhopadhyay
fc83dcf090
Added annotations for systray
2021-04-26 16:05:40 +05:30
Sayak Mukhopadhyay
b377199119
Changed logic to handle minimize too system tray
2021-04-26 15:36:43 +05:30
Sayak Mukhopadhyay
2dddf02f9b
Comments to describe the hack
2021-04-26 14:40:11 +05:30
Sayak Mukhopadhyay
fa58d2f0c2
Added windows OS checks
2021-04-26 14:23:08 +05:30
Sayak Mukhopadhyay
6c0437642e
Formatting fixes
2021-04-26 14:03:22 +05:30
Sayak Mukhopadhyay
ecf16762d0
Fixed linting issues with EDMarketConnector.py
2021-04-26 13:37:27 +05:30
Athanasius
d0a6322458
Merge pull request #1012 from EDCD/dependabot/pip/develop/py2exe-0.10.4.0
...
build(deps-dev): bump py2exe from 0.10.3.1 to 0.10.4.0
2021-04-26 08:20:16 +01:00
dependabot[bot]
94c296a9da
build(deps-dev): bump py2exe from 0.10.3.1 to 0.10.4.0
...
Bumps [py2exe](https://github.com/py2exe/py2exe ) from 0.10.3.1 to 0.10.4.0.
- [Release notes](https://github.com/py2exe/py2exe/releases )
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog )
- [Commits](https://github.com/py2exe/py2exe/compare/v0.10.3.1...v0.10.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 07:15:37 +00:00
Sayak Mukhopadhyay
df31aed6c5
Added appearance config option and implementation for minimize to tray on close functionality
2021-04-26 01:22:01 +05:30
Athanasius
e4e97f4642
Merge pull request #1010 from EDCD/dependabot/pip/develop/watchdog-2.0.3
...
build(deps): bump watchdog from 2.0.2 to 2.0.3
2021-04-23 08:37:20 +01:00
dependabot[bot]
f7154d8e78
build(deps): bump watchdog from 2.0.2 to 2.0.3
...
Bumps [watchdog](https://github.com/gorakhargosh/watchdog ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases )
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst )
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.0.2...v2.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 06:01:10 +00:00
Athanasius
806ac63c38
ChangeLog: Call out that Python 3.9 means no more Windows 7 support
2021-04-21 10:10:14 +01:00