Remove DB TDs from seen items

This commit is contained in:
DarkPhoenix
2020-06-15 15:00:36 +03:00
parent f80473d073
commit 39cab4be72
5 changed files with 12 additions and 9 deletions

View File

@@ -122,9 +122,10 @@ def update_db():
if ( if (
# Apparently people really want Civilian modules available # Apparently people really want Civilian modules available
(row['typeName'].startswith('Civilian') and "Shuttle" not in row['typeName']) or (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 row['published'] = True
# Nearly useless and clutter search results too much
elif row['typeName'].startswith('Limited Synth '): elif row['typeName'].startswith('Limited Synth '):
row['published'] = False row['published'] = False
@@ -138,11 +139,11 @@ def update_db():
row['typeID'] in (41549, 41548, 41551, 41550) or row['typeID'] in (41549, 41548, 41551, 41550) or
# Abyssal weather (environment) # Abyssal weather (environment)
row['groupID'] in ( row['groupID'] in (
1882, 1882,
1975, 1975,
1971, 1971,
# the "container" for the abyssal environments # the "container" for the abyssal environments
1983) 1983)
): ):
newData.append(row) newData.append(row)

View File

@@ -2,6 +2,7 @@
Migration 39 Migration 39
- Shield amplifier tiericide - Shield amplifier tiericide
- CCP getting rid of DB TDs due to exploits
""" """
CONVERSIONS = { CONVERSIONS = {
@@ -16,6 +17,9 @@ CONVERSIONS = {
), ),
1800: ( # 'Basic' Thermal Shield Amplifier 1800: ( # 'Basic' Thermal Shield Amplifier
9566, # Supplemental Thermal Dissipation Amplifier 9566, # Supplemental Thermal Dissipation Amplifier
),
22933: ( # 'Investor' Tracking Disruptor I
32416, # Dark Blood Tracking Disruptor
) )
} }

View File

@@ -21997,7 +21997,6 @@ class Effect5754(BaseEffect):
Used by: Used by:
Modules named like: Tracking Computer (19 of 19) Modules named like: Tracking Computer (19 of 19)
Variations of module: Tracking Disruptor I (6 of 6) Variations of module: Tracking Disruptor I (6 of 6)
Module: Dark Blood Tracking Disruptor
""" """
type = 'overheat' type = 'overheat'
@@ -27229,7 +27228,6 @@ class Effect6424(BaseEffect):
Used by: Used by:
Variations of module: Tracking Disruptor I (6 of 6) Variations of module: Tracking Disruptor I (6 of 6)
Module: Dark Blood Tracking Disruptor
""" """
type = 'projected', 'active' type = 'projected', 'active'

View File

@@ -93,4 +93,5 @@ CONVERSIONS = {
"Supplemental Explosive Deflection Amplifier": "'Basic' Explosive Shield Amplifier", "Supplemental Explosive Deflection Amplifier": "'Basic' Explosive Shield Amplifier",
"Supplemental Kinetic Deflection Amplifier": "'Basic' Kinetic Shield Amplifier", "Supplemental Kinetic Deflection Amplifier": "'Basic' Kinetic Shield Amplifier",
"Supplemental Thermal Dissipation Amplifier": "'Basic' Thermal Shield Amplifier", "Supplemental Thermal Dissipation Amplifier": "'Basic' Thermal Shield Amplifier",
"Dark Blood Tracking Disruptor": "'Investor' Tracking Disruptor I"
} }

View File

@@ -359,7 +359,6 @@ class Market:
"'Habitat' Miner I": ("Storyline", "Miner I"), "'Habitat' Miner I": ("Storyline", "Miner I"),
"'Wild' Miner I": ("Storyline", "Miner I"), "'Wild' Miner I": ("Storyline", "Miner I"),
"Khanid Navy Torpedo Launcher": ("Faction", "Torpedo Launcher 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"), "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")} "Dark Blood Standup Heavy Energy Neutralizer": ("Structure Faction", "Standup Heavy Energy Neutralizer I")}
# Parent type name: set(item names) # Parent type name: set(item names)