Preliminary backend support for tactical destroyer modes.

* Modifies fits table to add "mode" column, which contains typeID of mode for fit
* Introduces Mode type, similar to Ship and Module type
* Includes effects for Amarr Tactical Destroyer Propulsion Mode

Still a lot to do: GUI switching, constraints on which ships get modes, etc
This commit is contained in:
blitzmann
2014-11-27 23:23:24 -05:00
parent d4af877e47
commit f53384c4c2
8 changed files with 104 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
type = "passive"
def handler(fit, module, context):
# @todo: most likely have to fix this on release
fit.ship.boostItemAttr("agility", module.getModifiedItemAttr("modeAgilityPostDiv"),
stackingPenalties = True, penaltyGroup="postDiv")

View File

@@ -0,0 +1,5 @@
type = "passive"
def handler(fit, module, context):
# @todo: most likely have to fix this on release
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("modeVelocityPostDiv"),
stackingPenalties = True, penaltyGroup="postDiv")