MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / exportPatterns

Method exportPatterns

eos/saveddata/damagePattern.py:333–340  ·  view source on GitHub ↗
(cls, *patterns)

Source from the content-addressed store, hash-verified

331
332 @classmethod
333 def exportPatterns(cls, *patterns):
334 out = "# Exported from pyfa\n#\n"
335 out += "# Values are in following format:\n"
336 out += "# DamageProfile = [name],[EM amount],[Thermal amount],[Kinetic amount],[Explosive amount]\n\n"
337 for dp in patterns:
338 out += cls.EXPORT_FORMAT % (dp.rawName, dp.emAmount, dp.thermalAmount, dp.kineticAmount, dp.explosiveAmount)
339
340 return out.strip()
341
342 @property
343 def name(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected