Skip to content

Commit

Permalink
Remove DB TDs from seen items
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Jun 15, 2020
1 parent f80473d commit 39cab4b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
13 changes: 7 additions & 6 deletions db_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@ def processEveTypes():
if (
# Apparently people really want Civilian modules available
(row['typeName'].startswith('Civilian') and "Shuttle" not in row['typeName']) or
row['typeName'] in ('Capsule', 'Dark Blood Tracking Disruptor')
row['typeName'] == 'Capsule'
):
row['published'] = True
# Nearly useless and clutter search results too much
elif row['typeName'].startswith('Limited Synth '):
row['published'] = False

Expand All @@ -138,11 +139,11 @@ def processEveTypes():
row['typeID'] in (41549, 41548, 41551, 41550) or
# Abyssal weather (environment)
row['groupID'] in (
1882,
1975,
1971,
# the "container" for the abyssal environments
1983)
1882,
1975,
1971,
# the "container" for the abyssal environments
1983)
):
newData.append(row)

Expand Down
4 changes: 4 additions & 0 deletions eos/db/migrations/upgrade39.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Migration 39
- Shield amplifier tiericide
- CCP getting rid of DB TDs due to exploits
"""

CONVERSIONS = {
Expand All @@ -16,6 +17,9 @@
),
1800: ( # 'Basic' Thermal Shield Amplifier
9566, # Supplemental Thermal Dissipation Amplifier
),
22933: ( # 'Investor' Tracking Disruptor I
32416, # Dark Blood Tracking Disruptor
)
}

Expand Down
2 changes: 0 additions & 2 deletions eos/effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -21997,7 +21997,6 @@ class Effect5754(BaseEffect):
Used by:
Modules named like: Tracking Computer (19 of 19)
Variations of module: Tracking Disruptor I (6 of 6)
Module: Dark Blood Tracking Disruptor
"""

type = 'overheat'
Expand Down Expand Up @@ -27229,7 +27228,6 @@ class Effect6424(BaseEffect):

Used by:
Variations of module: Tracking Disruptor I (6 of 6)
Module: Dark Blood Tracking Disruptor
"""

type = 'projected', 'active'
Expand Down
1 change: 1 addition & 0 deletions service/conversions/releaseJun2020.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@
"Supplemental Explosive Deflection Amplifier": "'Basic' Explosive Shield Amplifier",
"Supplemental Kinetic Deflection Amplifier": "'Basic' Kinetic Shield Amplifier",
"Supplemental Thermal Dissipation Amplifier": "'Basic' Thermal Shield Amplifier",
"Dark Blood Tracking Disruptor": "'Investor' Tracking Disruptor I"
}
1 change: 0 additions & 1 deletion service/market.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ def __init__(self):
"'Habitat' Miner I": ("Storyline", "Miner I"),
"'Wild' Miner I": ("Storyline", "Miner I"),
"Khanid Navy Torpedo Launcher": ("Faction", "Torpedo Launcher I"),
"Dark Blood Tracking Disruptor": ("Faction", "Tracking Disruptor I"),
"Dread Guristas Standup Variable Spectrum ECM": ("Structure Faction", "Standup Variable Spectrum ECM I"),
"Dark Blood Standup Heavy Energy Neutralizer": ("Structure Faction", "Standup Heavy Energy Neutralizer I")}
# Parent type name: set(item names)
Expand Down

0 comments on commit 39cab4b

Please sign in to comment.