From 50aa80a7895676e9a4ee50ef07c668a92b92d5b3 Mon Sep 17 00:00:00 2001 From: Ebag333 Date: Thu, 13 Oct 2016 12:26:01 -0700 Subject: [PATCH] Merged #16 into #17 Merged #16 into #17 --- eos/const/eve.py | 8 ++++++-- eos/data/cache_generator/cleaner.py | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/eos/const/eve.py b/eos/const/eve.py index 73a499c1..4906935f 100644 --- a/eos/const/eve.py +++ b/eos/const/eve.py @@ -135,8 +135,6 @@ class Attribute(IntEnum): allowed_drone_group_2 = 1783 reload_time = 1795 - - @unique class Type(IntEnum): """Item ID holder""" @@ -169,13 +167,19 @@ class Group(IntEnum): @unique class Category(IntEnum): """Category ID holder""" + + # Mapping from invcategories + ship = 6 module = 7 charge = 8 skill = 16 drone = 18 + fighter = 87 implant = 20 subsystem = 32 + structure = 65 + structureModules = 66 @unique diff --git a/eos/data/cache_generator/cleaner.py b/eos/data/cache_generator/cleaner.py index 2eccc7ea..7178eef0 100644 --- a/eos/data/cache_generator/cleaner.py +++ b/eos/data/cache_generator/cleaner.py @@ -63,7 +63,10 @@ def _pump_evetypes(self): Category.skill, Category.drone, Category.implant, - Category.subsystem + Category.subsystem, + Category.fighter, + Category.structure, + Category.structureModules ) # Set with groupIDs of items we want to keep # It is set because we will need to modify it