feat: custom attributes for Capacitor Peak Recharge / Usage / Delta (#29)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user