From f3809fe446e5c2f6e2fedad690500dbb707eb391 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 5 May 2024 16:58:27 +0200 Subject: [PATCH] fix: also add attribute for dronebay usage (#45) --- README.md | 1 + convert.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index f10d165..cd23722 100644 --- a/README.md +++ b/README.md @@ -94,3 +94,4 @@ The EVE SDE has some quirks, that are easiest fixed in the conversion. - `-32`: `droneBandwidthUsedTotal` - total bandwidth used by the active drones. - `-33`: `droneDamageAlphaHp` - the damage done when all active drones shoot at once. - `-34`: `droneDamageDps` - the total DPS for the active drones. + - `-35`: `droneCapacityUsed` - total dronebay capacity used. diff --git a/convert.py b/convert.py index 0f1f32a..ff3bef1 100644 --- a/convert.py +++ b/convert.py @@ -182,6 +182,7 @@ def convert_dogma_attributes(path): add_esf_attribute(-32, "droneBandwidthUsedTotal") add_esf_attribute(-33, "droneDamageAlphaHp") add_esf_attribute(-34, "droneDamageDps") + add_esf_attribute(-35, "droneCapacityUsed") with open("dist/sde/dogmaAttributes.pb2", "wb") as fp: fp.write(pb2.SerializeToString())