-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Citadel 1.14 and update effect headers0
- Loading branch information
Showing
62 changed files
with
200 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
# eliteBonusCommandDestroyerMWDSigRadius3 | ||
# | ||
# Used by: | ||
# Ships from group: Command Destroyers (4 of 4) | ||
# Not used by any item | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"), "signatureRadiusBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer3"), skill="Command Destroyers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# eliteBonusLogisticRemoteArmorRepairCapNeed1 | ||
# | ||
# Used by: | ||
# Ship: Oneiros | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics1"), skill="Logistics Cruisers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# eliteBonusLogisticRemoteArmorRepairCapNeed2 | ||
# | ||
# Used by: | ||
# Ship: Guardian | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics2"), skill="Logistics Cruisers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# eliteBonusLogisticShieldTransferCapNeed1 | ||
# | ||
# Used by: | ||
# Ship: Basilisk | ||
# Ship: Etana | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics1"), skill="Logistics Cruisers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# eliteBonusLogisticShieldTransferCapNeed2 | ||
# | ||
# Used by: | ||
# Ship: Scimitar | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics2"), skill="Logistics Cruisers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# energyNeutralizerEntity | ||
# | ||
# Used by: | ||
# Drones from group: Energy Neutralizer Drone (3 of 3) | ||
from eos.types import State | ||
type = "active", "projected" | ||
def handler(fit, container, context): | ||
if "projected" in context and ((hasattr(container, "state") \ | ||
and container.state >= State.ACTIVE) or hasattr(container, "amountActive")): | ||
amount = container.getModifiedItemAttr("energyDestabilizationAmount") | ||
time = container.getModifiedItemAttr("duration") | ||
fit.addDrain(time, amount, 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# overloadSelfDamageBonus | ||
# | ||
# Used by: | ||
# Modules from group: Energy Weapon (102 of 209) | ||
# Modules from group: Hybrid Weapon (106 of 221) | ||
# Modules from group: Projectile Weapon (100 of 165) | ||
# Modules from group: Energy Weapon (101 of 209) | ||
# Modules from group: Hybrid Weapon (105 of 221) | ||
# Modules from group: Projectile Weapon (99 of 165) | ||
type = "overheat" | ||
def handler(fit, module, context): | ||
module.boostItemAttr("damageMultiplier", module.getModifiedItemAttr("overloadDamageModifier")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# remoteArmorPowerNeedBonusEffect | ||
# | ||
# Used by: | ||
# Ship: Guardian | ||
# Ship: Oneiros | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "power", src.getModifiedItemAttr("remoteArmorPowerNeedBonus")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# remoteArmorRepairEntity | ||
# | ||
# Used by: | ||
# Drones named like: Armor Maintenance Bot (6 of 6) | ||
type = "projected", "active" | ||
def handler(fit, container, context): | ||
if "projected" in context: | ||
bonus = container.getModifiedItemAttr("armorDamageAmount") | ||
duration = container.getModifiedItemAttr("duration") / 1000.0 | ||
fit.extraAttributes.increase("armorRepair", bonus / duration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
# remoteEcmBurst | ||
# | ||
# Used by: | ||
# Module: ECM Jammer Burst Projector | ||
# Not used by any item | ||
type = 'active' | ||
def handler(fit, module, context): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# remoteHullRepairEntity | ||
# | ||
# Used by: | ||
# Drones named like: Hull Maintenance Bot (6 of 6) | ||
type = "projected", "active" | ||
runTime = "late" | ||
def handler(fit, module, context): | ||
if "projected" not in context: return | ||
bonus = module.getModifiedItemAttr("structureDamageAmount") | ||
duration = module.getModifiedItemAttr("duration") / 1000.0 | ||
fit.extraAttributes.increase("hullRepair", bonus / duration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# remoteSensorDampEntity | ||
# | ||
# Used by: | ||
# Drones named like: SD (3 of 3) | ||
type= "projected", "active" | ||
def handler(fit, module, context): | ||
if "projected" not in context: | ||
return | ||
|
||
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"), | ||
stackingPenalties = True, remoteResists=True) | ||
|
||
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"), | ||
stackingPenalties = True, remoteResists=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# remoteShieldTransferEntity | ||
# | ||
# Used by: | ||
# Drones named like: Shield Maintenance Bot (6 of 6) | ||
type = "projected", "active" | ||
def handler(fit, container, context): | ||
if "projected" in context: | ||
bonus = container.getModifiedItemAttr("shieldBonus") | ||
duration = container.getModifiedItemAttr("duration") / 1000.0 | ||
fit.extraAttributes.increase("shieldRepair", bonus / duration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# remoteTargetPaintEntity | ||
# | ||
# Used by: | ||
# Drones named like: TP (3 of 3) | ||
type = "projected", "active" | ||
def handler(fit, container, context): | ||
if "projected" in context: | ||
fit.ship.boostItemAttr("signatureRadius", container.getModifiedItemAttr("signatureRadiusBonus"), | ||
stackingPenalties = True, remoteResists=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# remoteWeaponDisruptEntity | ||
# | ||
# Used by: | ||
# Drones named like: TD (3 of 3) | ||
type= "projected", "active" | ||
def handler(fit, module, context): | ||
if "projected" in context: | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"), | ||
"trackingSpeed", module.getModifiedItemAttr("trackingSpeedBonus"), | ||
stackingPenalties = True, remoteResists=True) | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"), | ||
"maxRange", module.getModifiedItemAttr("maxRangeBonus"), | ||
stackingPenalties = True, remoteResists=True) | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"), | ||
"falloff", module.getModifiedItemAttr("falloffBonus"), | ||
stackingPenalties = True, remoteResists=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# remoteWebifierEntity | ||
# | ||
# Used by: | ||
# Drones from group: Stasis Webifying Drone (3 of 3) | ||
type = "active", "projected" | ||
def handler(fit, module, context): | ||
if "projected" not in context: return | ||
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"), | ||
stackingPenalties = True, remoteResists=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# shieldTransportCpuNeedBonusEffect | ||
# | ||
# Used by: | ||
# Ships from group: Logistics (3 of 5) | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "cpu", src.getModifiedItemAttr("shieldTransportCpuNeedBonus")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# shipBonusRemoteArmorRepairAmount2AF | ||
# | ||
# Used by: | ||
# Ship: Deacon | ||
# Ship: Inquisitor | ||
type = "passive" | ||
def handler(fit, src, context): | ||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("shipBonus2AF"), skill="Amarr Frigate") |
Oops, something went wrong.