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