Skip to content

Commit

Permalink
Merge branch 'singularity'
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed May 30, 2018
2 parents 92a9066 + 861d034 commit e8efa22
Show file tree
Hide file tree
Showing 326 changed files with 1,280 additions and 1,705 deletions.
6 changes: 3 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

# Version data

version = "2.0.2"
version = "2.1.0"
tag = "Stable"
expansionName = "YC120.3"
expansionVersion = "1.8"
expansionName = "Into the Abyss"
expansionVersion = "1.1"
evemonMinVersion = "4081"

minItemSearchLength = 3
Expand Down
1 change: 1 addition & 0 deletions eos/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
gamedataCache = True
saveddataCache = True
gamedata_version = ""
gamedata_date = ""
gamedata_connectionstring = 'sqlite:///' + realpath(join(dirname(abspath(__file__)), "..", "eve.db"))
pyfalog.debug("Gamedata connection string: {0}", gamedata_connectionstring)

Expand Down
4 changes: 4 additions & 0 deletions eos/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ class ReadOnlyException(Exception):
config.gamedata_version = gamedata_session.execute(
"SELECT `field_value` FROM `metadata` WHERE `field_name` LIKE 'client_build'"
).fetchone()[0]
config.gamedata_date = gamedata_session.execute(
"SELECT `field_value` FROM `metadata` WHERE `field_name` LIKE 'dump_time'"
).fetchone()[0]
except Exception as e:
pyfalog.warning("Missing gamedata version.")
pyfalog.critical(e)
config.gamedata_version = None
config.gamedata_date = None

saveddata_connectionstring = config.saveddata_connectionstring
if saveddata_connectionstring is not None:
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/addtosignatureradius2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Used by:
# Modules from group: Missile Launcher Bomb (2 of 2)
# Modules from group: Shield Extender (33 of 33)
# Modules from group: Shield Extender (36 of 36)
type = "passive"


Expand Down
2 changes: 1 addition & 1 deletion eos/effects/ammoinfluencecapneed.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ammoInfluenceCapNeed
#
# Used by:
# Items from category: Charge (478 of 928)
# Items from category: Charge (493 of 947)
type = "passive"


Expand Down
2 changes: 1 addition & 1 deletion eos/effects/ammoinfluencerange.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ammoInfluenceRange
#
# Used by:
# Items from category: Charge (572 of 928)
# Items from category: Charge (587 of 947)
type = "passive"


Expand Down
1 change: 1 addition & 0 deletions eos/effects/ammospeedmultiplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Charges from group: Festival Charges (23 of 23)
# Charges from group: Interdiction Probe (2 of 2)
# Charges from group: Structure Festival Charges (3 of 3)
# Special Edition Assetss from group: Festival Charges Expired (2 of 2)
type = "passive"


Expand Down
7 changes: 1 addition & 6 deletions eos/effects/ammotrackingmultiplier.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# ammoTrackingMultiplier
#
# Used by:
# Charges from group: Advanced Artillery Ammo (8 of 8)
# Charges from group: Advanced Autocannon Ammo (8 of 8)
# Charges from group: Advanced Beam Laser Crystal (8 of 8)
# Charges from group: Advanced Blaster Charge (8 of 8)
# Charges from group: Advanced Pulse Laser Crystal (8 of 8)
# Charges from group: Advanced Railgun Charge (8 of 8)
# Items from category: Charge (182 of 947)
# Charges from group: Projectile Ammo (128 of 128)
type = "passive"

Expand Down
16 changes: 16 additions & 0 deletions eos/effects/aoebeaconbioluminescencecloud.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# aoe_beacon_bioluminescence_cloud
#
# Used by:
# Celestials named like: Bioluminescence Cloud (3 of 3)
runTime = "early"
type = ("projected", "passive", "gang")


def handler(fit, beacon, context, **kwargs):
for x in range(1, 3):
if beacon.getModifiedItemAttr("warfareBuff{}ID".format(x)):
value = beacon.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = beacon.getModifiedItemAttr("warfareBuff{}ID".format(x))

if id:
fit.addCommandBonus(id, value, beacon, kwargs['effect'], 'early')
16 changes: 16 additions & 0 deletions eos/effects/aoebeaconcausticcloud.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# aoe_beacon_caustic_cloud
#
# Used by:
# Celestials named like: Caustic Cloud (3 of 3)
runTime = "early"
type = ("projected", "passive", "gang")


def handler(fit, beacon, context, **kwargs):
for x in range(1, 3):
if beacon.getModifiedItemAttr("warfareBuff{}ID".format(x)):
value = beacon.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = beacon.getModifiedItemAttr("warfareBuff{}ID".format(x))

if id:
fit.addCommandBonus(id, value, beacon, kwargs['effect'], 'early')
16 changes: 16 additions & 0 deletions eos/effects/aoebeaconfilamentcloud.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# aoe_beacon_filament_cloud
#
# Used by:
# Celestials named like: Filament Cloud (3 of 3)
runTime = "early"
type = ("projected", "passive", "gang")


def handler(fit, beacon, context, **kwargs):
for x in range(1, 3):
if beacon.getModifiedItemAttr("warfareBuff{}ID".format(x)):
value = beacon.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = beacon.getModifiedItemAttr("warfareBuff{}ID".format(x))

if id:
fit.addCommandBonus(id, value, beacon, kwargs['effect'], 'early')
3 changes: 2 additions & 1 deletion eos/effects/armorallrepairsystemsamountbonuspassive.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# armorAllRepairSystemsAmountBonusPassive
#
# Used by:
# Implants named like: Agency 'Hardshell' TB Dose (3 of 4)
# Implants named like: Exile Booster (4 of 4)
# Implant: Antipharmakon Kosybo
type = "passive"
Expand All @@ -9,4 +10,4 @@
def handler(fit, booster, context):
fit.modules.filteredItemBoost(
lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Capital Repair Systems"),
"armorDamageAmount", booster.getModifiedItemAttr("armorDamageAmountBonus"))
"armorDamageAmount", booster.getModifiedItemAttr("armorDamageAmountBonus") or 0)
2 changes: 1 addition & 1 deletion eos/effects/armorhpbonusadd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# armorHPBonusAdd
#
# Used by:
# Modules from group: Armor Reinforcer (48 of 48)
# Modules from group: Armor Reinforcer (51 of 51)
type = "passive"


Expand Down
2 changes: 1 addition & 1 deletion eos/effects/armorreinforcermassadd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# armorReinforcerMassAdd
#
# Used by:
# Modules from group: Armor Reinforcer (48 of 48)
# Modules from group: Armor Reinforcer (51 of 51)
type = "passive"


Expand Down
2 changes: 1 addition & 1 deletion eos/effects/armorrepair.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# armorRepair
#
# Used by:
# Modules from group: Armor Repair Unit (105 of 105)
# Modules from group: Armor Repair Unit (108 of 108)
runTime = "late"
type = "active"

Expand Down
10 changes: 0 additions & 10 deletions eos/effects/armorwarfarearmorhpreplacer.py

This file was deleted.

2 changes: 1 addition & 1 deletion eos/effects/boosterarmorhppenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterArmorHpPenalty
#
# Used by:
# Implants from group: Booster (12 of 62)
# Implants named like: Booster (12 of 33)
type = "boosterSideEffect"

# User-friendly name for the side effect
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/boostermaxvelocitypenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterMaxVelocityPenalty
#
# Used by:
# Implants from group: Booster (12 of 62)
# Implants named like: Booster (12 of 33)
type = "boosterSideEffect"

# User-friendly name for the side effect
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/boostershieldcapacitypenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterShieldCapacityPenalty
#
# Used by:
# Implants from group: Booster (12 of 62)
# Implants named like: Booster (12 of 33)
type = "boosterSideEffect"

# User-friendly name for the side effect
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/capacitorcapacitymultiply.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Modules from group: Capacitor Flux Coil (6 of 6)
# Modules from group: Capacitor Power Relay (20 of 20)
# Modules from group: Power Diagnostic System (23 of 23)
# Modules from group: Propulsion Module (65 of 127)
# Modules from group: Propulsion Module (68 of 133)
# Modules from group: Reactor Control Unit (22 of 22)
type = "passive"

Expand Down
5 changes: 4 additions & 1 deletion eos/effects/citadelrigbonus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Not used by any item
# citadelRigBonus
#
# Used by:
# Structures from group: Citadel (9 of 9)
type = "passive"
runTime = "early"

Expand Down
1 change: 1 addition & 0 deletions eos/effects/cpumultiplierpostmulcpuoutputship.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: CPU Enhancer (19 of 19)
# Variations of structure module: Standup Co-Processor Array I (2 of 2)
type = "passive"


Expand Down
9 changes: 0 additions & 9 deletions eos/effects/decreasetargetspeed.py

This file was deleted.

11 changes: 11 additions & 0 deletions eos/effects/disintegratorweapondamagemultiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# disintegratorWeaponDamageMultiply
#
# Used by:
# Modules from group: Entropic Radiation Sink (3 of 3)
type = "passive"


def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Precursor Weapon",
"damageMultiplier", module.getModifiedItemAttr("damageMultiplier"),
stackingPenalties=True)
11 changes: 11 additions & 0 deletions eos/effects/disintegratorweaponspeedmultiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# disintegratorWeaponSpeedMultiply
#
# Used by:
# Modules from group: Entropic Radiation Sink (3 of 3)
type = "passive"


def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Precursor Weapon",
"speed", module.getModifiedItemAttr("speedMultiplier"),
stackingPenalties=True)
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoebubble.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Warp Disruption Burst Projector
# Structure Module: Standup Warp Disruption Burst Projector
type = "projected", "active"


Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoedamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Sensor Dampening Burst Projector
# Structure Module: Standup Sensor Dampening Burst Projector
type = "projected", "active"


Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoeecm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: ECM Jammer Burst Projector
# Structure Module: Standup ECM Jammer Burst Projector
from eos.modifiedAttributeDict import ModifiedAttributeDict

type = "projected", "active"
Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoeneut.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Energy Neutralization Burst Projector
# Structure Module: Standup Energy Neutralization Burst Projector
from eos.saveddata.module import State
from eos.modifiedAttributeDict import ModifiedAttributeDict

Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoepaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Target Illumination Burst Projector
# Structure Module: Standup Target Illumination Burst Projector
type = "projected", "active"


Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoetrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Weapon Disruption Burst Projector
# Structure Module: Standup Weapon Disruption Burst Projector

type = "active", "projected"

Expand Down
1 change: 1 addition & 0 deletions eos/effects/doomsdayaoeweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Module: Stasis Webification Burst Projector
# Structure Module: Standup Stasis Webification Burst Projector
type = "active", "projected"


Expand Down
7 changes: 0 additions & 7 deletions eos/effects/dronedamagebonusrequringdrones.py

This file was deleted.

9 changes: 0 additions & 9 deletions eos/effects/elitebonuscommanddestroyerinfohidden1.py

This file was deleted.

7 changes: 0 additions & 7 deletions eos/effects/elitebonuscommanddestroyermwdsigradius3.py

This file was deleted.

7 changes: 0 additions & 7 deletions eos/effects/elitebonuscommandshipinformationhiddencs3.py

This file was deleted.

6 changes: 0 additions & 6 deletions eos/effects/elitebonusgunshipdronecapacity2.py

This file was deleted.

7 changes: 0 additions & 7 deletions eos/effects/elitebonusgunshipdronetracking2.py

This file was deleted.

12 changes: 0 additions & 12 deletions eos/effects/energydestabilizationnew.py

This file was deleted.

Loading

0 comments on commit e8efa22

Please sign in to comment.