Merge branch 'master' into singularity
This commit is contained in:
@@ -198,11 +198,18 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
|
||||
# todo: validate baseItem as well if it's set.
|
||||
if self.isEmpty:
|
||||
return False
|
||||
return (
|
||||
self.__item is None or (
|
||||
self.__item.category.name not in ("Module", "Subsystem", "Structure Module") and
|
||||
self.__item.group.name not in self.SYSTEM_GROUPS) or
|
||||
(self.item.isAbyssal and not self.isMutated))
|
||||
if self.__item is None:
|
||||
return True
|
||||
if (
|
||||
self.__item.category.name not in ("Module", "Subsystem", "Structure Module")
|
||||
and self.__item.group.name not in self.SYSTEM_GROUPS
|
||||
):
|
||||
return True
|
||||
if self.item.isAbyssal and not self.isMutated:
|
||||
return True
|
||||
if self.isMutated and not self.__mutaplasmid:
|
||||
return True
|
||||
return False
|
||||
|
||||
@property
|
||||
def isMutated(self):
|
||||
|
||||
@@ -627,6 +627,15 @@ laar:
|
||||
caar:
|
||||
- 'caar'
|
||||
- 'capital ancillary (.+ )?(?<!remote )armor repairer'
|
||||
25k:
|
||||
- '25k'
|
||||
- '25000'
|
||||
25kmm:
|
||||
- '25kmm'
|
||||
- '25000mm'
|
||||
25m:
|
||||
- '25m'
|
||||
- '25000mm'
|
||||
|
||||
# Hull modules
|
||||
dc:
|
||||
@@ -649,6 +658,18 @@ cehe:
|
||||
- 'capital (.+ )?emergency hull energizer'
|
||||
|
||||
# Propulsion modules and upgrades
|
||||
10k:
|
||||
- '10k'
|
||||
- '10000'
|
||||
10kmn:
|
||||
- '10kmn'
|
||||
- '10000mn'
|
||||
50k:
|
||||
- '50k'
|
||||
- '50000'
|
||||
50kmn:
|
||||
- '50kmn'
|
||||
- '50000mn'
|
||||
ab:
|
||||
- '(^| )ab' # Checking only beginning of a word to remove unwanted spam
|
||||
- 'afterburner'
|
||||
|
||||
Reference in New Issue
Block a user