feat: custom attributes for Capacitor Peak Recharge / Usage / Delta (#29)

This commit is contained in:
Patric Stout
2024-01-07 15:35:01 +01:00
committed by GitHub
parent dd8549d379
commit d14b40359e
2 changed files with 8 additions and 0 deletions

View File

@@ -75,3 +75,7 @@ The EVE SDE has some quirks, that are easiest fixed in the conversion.
- `-20`: `shieldBoostRateEhp` - shield boost rate (in eHP/s).
- `-21`: `armorRepairRateEhp` - armor repair rate (in eHP/s).
- `-22`: `hullRepairRateEhp` - hull repair rate (in eHP/s).
- `-23`: `capacitorPeakRecharge` - peak recharge of capacitor (in GJ/s).
- `-24`: `capacitorPeakUsage` - peak usage of capacitor (in GJ/s), when all modules would activate at the same time.
- `-25`: `capacitorPeakDelta` - delta between peak recharge and usage (in GJ/s).
- `-26`: `capacitorPeakDeltaPercentage` - delta between peak recharge and usage in percentage against peak recharge.

View File

@@ -165,6 +165,10 @@ def convert_dogma_attributes(path):
add_esf_attribute(-20, "shieldBoostRateEhp")
add_esf_attribute(-21, "armorRepairRateEhp")
add_esf_attribute(-22, "hullRepairRateEhp")
add_esf_attribute(-23, "capacitorPeakRecharge")
add_esf_attribute(-24, "capacitorPeakUsage")
add_esf_attribute(-25, "capacitorPeakDelta")
add_esf_attribute(-26, "capacitorPeakDeltaPercentage")
with open("dist/sde/dogmaAttributes.pb2", "wb") as fp:
fp.write(pb2.SerializeToString())