mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
Send CommunityGoal TopTier info
This commit is contained in:
parent
4aa80c8426
commit
60ddc55d5e
@ -580,6 +580,9 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
data['tierReached'] = int(goal['TierReached'].split()[-1])
|
||||
if 'TopRankSize' in goal:
|
||||
data['topRankSize'] = goal['TopRankSize']
|
||||
if 'TopTier' in goal:
|
||||
data['tierMax'] = int(goal['TopTier']['Name'].split()[-1])
|
||||
data['completionBonus'] = goal['TopTier']['Bonus']
|
||||
add_event('setCommunityGoal', entry['timestamp'], data)
|
||||
|
||||
data = OrderedDict([
|
||||
|
Loading…
x
Reference in New Issue
Block a user