Add missing staticdata updates and remove AT17 prize overrides
This commit is contained in:
119
db_update.py
119
db_update.py
@@ -614,6 +614,7 @@ def update_db():
|
||||
print ('Removing Category: {}'.format(cat.name))
|
||||
eos.db.gamedata_session.delete(cat)
|
||||
|
||||
# Unused normally, can be useful for customizing items
|
||||
def _hardcodeAttribs(typeID, attrMap):
|
||||
for attrName, value in attrMap.items():
|
||||
try:
|
||||
@@ -638,124 +639,6 @@ def update_db():
|
||||
effect.effectName = effectName
|
||||
item.effects[effectName] = effect
|
||||
|
||||
def hardcodeRaiju():
|
||||
attrMap = {
|
||||
'hp': 600,
|
||||
'capacity': 220,
|
||||
'mass': 987000,
|
||||
'volume': 27289,
|
||||
'agility': 3.1,
|
||||
'emDamageResonance': 1 - 0.33,
|
||||
'thermalDamageResonance': 1 - 0.33,
|
||||
'kineticDamageResonance': 1 - 0.33,
|
||||
'explosiveDamageResonance': 1 - 0.33,
|
||||
'armorHP': 700,
|
||||
'armorEmDamageResonance': 1 - 0.5,
|
||||
'armorThermalDamageResonance': 1 - 0.8625,
|
||||
'armorKineticDamageResonance': 1 - 0.625,
|
||||
'armorExplosiveDamageResonance': 1 - 0.1,
|
||||
'shieldCapacity': 850,
|
||||
'shieldRechargeRate': 625000,
|
||||
'shieldEmDamageResonance': 1 - 0.15,
|
||||
'shieldThermalDamageResonance': 1 - 0.8,
|
||||
'shieldKineticDamageResonance': 1 - 0.7,
|
||||
'shieldExplosiveDamageResonance': 1 - 0.5,
|
||||
'energyWarfareResistance': 1,
|
||||
'weaponDisruptionResistance': 1,
|
||||
'capacitorCapacity': 400,
|
||||
'rechargeRate': 195000,
|
||||
'maxTargetRange': 70000,
|
||||
'maxLockedTargets': 7,
|
||||
'signatureRadius': 32,
|
||||
'scanResolution': 650,
|
||||
'scanRadarStrength': 0,
|
||||
'scanLadarStrength': 0,
|
||||
'scanMagnetometricStrength': 0,
|
||||
'scanGravimetricStrength': 13,
|
||||
'maxVelocity': 440,
|
||||
'warpSpeedMultiplier': 5.5,
|
||||
'cpuOutput': 247,
|
||||
'powerOutput': 38,
|
||||
'upgradeCapacity': 400,
|
||||
'launcherSlotsLeft': 3,
|
||||
'hiSlots': 3,
|
||||
'medSlots': 6,
|
||||
'lowSlots': 3,
|
||||
'rigSlots': 3,
|
||||
'rigSize': 1}
|
||||
effectMap = {
|
||||
100100: 'pyfaCustomRaijuPointRange',
|
||||
100101: 'pyfaCustomRaijuPointCap',
|
||||
100102: 'pyfaCustomRaijuDampStr',
|
||||
100103: 'pyfaCustomRaijuDampCap',
|
||||
100104: 'pyfaCustomRaijuMissileDmg',
|
||||
100105: 'pyfaCustomRaijuMissileFlightTime',
|
||||
100106: 'pyfaCustomRaijuMissileFlightVelocity'}
|
||||
_hardcodeAttribs(60765, attrMap)
|
||||
_hardcodeEffects(60765, effectMap)
|
||||
|
||||
def hardcodeLaelaps():
|
||||
attrMap = {
|
||||
'hp': 2300,
|
||||
'capacity': 420,
|
||||
'droneCapacity': 25,
|
||||
'droneBandwidth': 25,
|
||||
'mass': 10298000,
|
||||
'volume': 101000,
|
||||
'agility': 0.48,
|
||||
'emDamageResonance': 1 - 0.33,
|
||||
'thermalDamageResonance': 1 - 0.33,
|
||||
'kineticDamageResonance': 1 - 0.33,
|
||||
'explosiveDamageResonance': 1 - 0.33,
|
||||
'armorHP': 2730,
|
||||
'armorEmDamageResonance': 1 - 0.5,
|
||||
'armorThermalDamageResonance': 1 - 0.8625,
|
||||
'armorKineticDamageResonance': 1 - 0.625,
|
||||
'armorExplosiveDamageResonance': 1 - 0.1,
|
||||
'shieldCapacity': 3540,
|
||||
'shieldRechargeRate': 1250000,
|
||||
'shieldEmDamageResonance': 1 - 0.15,
|
||||
'shieldThermalDamageResonance': 1 - 0.8,
|
||||
'shieldKineticDamageResonance': 1 - 0.7,
|
||||
'shieldExplosiveDamageResonance': 1 - 0.5,
|
||||
'energyWarfareResistance': 1,
|
||||
'weaponDisruptionResistance': 1,
|
||||
'capacitorCapacity': 1550,
|
||||
'rechargeRate': 315000,
|
||||
'maxTargetRange': 80000,
|
||||
'maxLockedTargets': 7,
|
||||
'signatureRadius': 135,
|
||||
'scanResolution': 300,
|
||||
'scanRadarStrength': 0,
|
||||
'scanLadarStrength': 0,
|
||||
'scanMagnetometricStrength': 0,
|
||||
'scanGravimetricStrength': 21,
|
||||
'maxVelocity': 230,
|
||||
'warpSpeedMultiplier': 4.5,
|
||||
'cpuOutput': 560,
|
||||
'powerOutput': 900,
|
||||
'upgradeCapacity': 400,
|
||||
'launcherSlotsLeft': 5,
|
||||
'hiSlots': 7,
|
||||
'medSlots': 5,
|
||||
'lowSlots': 4,
|
||||
'rigSlots': 3,
|
||||
'rigSize': 2}
|
||||
effectMap = {
|
||||
100200: 'pyfaCustomLaelapsWdfgRange',
|
||||
100201: 'pyfaCustomLaelapsMissileReload',
|
||||
100202: 'pyfaCustomLaelapsMissileDamage',
|
||||
100203: 'pyfaCustomLaelapsMissileRof',
|
||||
100204: 'pyfaCustomLaelapsShieldResists',
|
||||
100205: 'pyfaCustomLaelapsMissileFlightTime',
|
||||
100206: 'pyfaCustomLaelapsWdfgSigPenalty',
|
||||
100207: 'pyfaCustomLaelapsMissileFlightVelocity'}
|
||||
_hardcodeAttribs(60764, attrMap)
|
||||
_hardcodeEffects(60764, effectMap)
|
||||
|
||||
hardcodeRaiju()
|
||||
hardcodeLaelaps()
|
||||
|
||||
eos.db.gamedata_session.commit()
|
||||
eos.db.gamedata_engine.execute('VACUUM')
|
||||
|
||||
|
||||
@@ -2828,5 +2828,79 @@
|
||||
],
|
||||
"operationName": "PostPercent",
|
||||
"showOutputValueInUI": "ShowNormal"
|
||||
},
|
||||
"2152": {
|
||||
"aggregateMode": "Maximum",
|
||||
"developerDescription": "Proving HP Addition",
|
||||
"displayName_de": "Zusätzliche Basis-HP des Rumpfs",
|
||||
"displayName_en-us": "Additional Base Hull Hitpoints",
|
||||
"displayName_es": "Additional Base Hull Hitpoints",
|
||||
"displayName_fr": "Points de vie de la coque de base supplémentaires",
|
||||
"displayName_it": "Additional Base Hull Hitpoints",
|
||||
"displayName_ja": "追加ベース船体HP",
|
||||
"displayName_ko": "추가 선체 내구도",
|
||||
"displayName_ru": "Увеличение основного запаса прочности корпуса",
|
||||
"displayName_zh": "Additional Base Hull Hitpoints",
|
||||
"displayNameID": 594653,
|
||||
"itemModifiers": [
|
||||
{
|
||||
"dogmaAttributeID": 9
|
||||
}
|
||||
],
|
||||
"locationGroupModifiers": [],
|
||||
"locationModifiers": [],
|
||||
"locationRequiredSkillModifiers": [],
|
||||
"operationName": "ModAdd",
|
||||
"showOutputValueInUI": "ShowNormal"
|
||||
},
|
||||
"2153": {
|
||||
"aggregateMode": "Maximum",
|
||||
"developerDescription": "Proving Turret Tracking",
|
||||
"displayName_de": "Geschützturmnachführung",
|
||||
"displayName_en-us": "Turret Tracking",
|
||||
"displayName_es": "Turret Tracking",
|
||||
"displayName_fr": "Poursuite des tourelles",
|
||||
"displayName_it": "Turret Tracking",
|
||||
"displayName_ja": "タレットのトラッキング",
|
||||
"displayName_ko": "터렛 트래킹",
|
||||
"displayName_ru": "Скорость наведения турелей",
|
||||
"displayName_zh": "Turret Tracking",
|
||||
"displayNameID": 594691,
|
||||
"itemModifiers": [],
|
||||
"locationGroupModifiers": [],
|
||||
"locationModifiers": [],
|
||||
"locationRequiredSkillModifiers": [
|
||||
{
|
||||
"dogmaAttributeID": 160,
|
||||
"skillID": 3300
|
||||
}
|
||||
],
|
||||
"operationName": "PostPercent",
|
||||
"showOutputValueInUI": "ShowNormal"
|
||||
},
|
||||
"2154": {
|
||||
"aggregateMode": "Maximum",
|
||||
"developerDescription": "Proving Turret Falloff",
|
||||
"displayName_de": "Geschützturm-Präzisionsabfall",
|
||||
"displayName_en-us": "Turret Falloff",
|
||||
"displayName_es": "Turret Falloff",
|
||||
"displayName_fr": "Déperdition des tourelles",
|
||||
"displayName_it": "Turret Falloff",
|
||||
"displayName_ja": "タレットの精度低下範囲",
|
||||
"displayName_ko": "터렛 유효사거리",
|
||||
"displayName_ru": "Остаточная дальность орудий",
|
||||
"displayName_zh": "Turret Falloff",
|
||||
"displayNameID": 594692,
|
||||
"itemModifiers": [],
|
||||
"locationGroupModifiers": [],
|
||||
"locationModifiers": [],
|
||||
"locationRequiredSkillModifiers": [
|
||||
{
|
||||
"dogmaAttributeID": 158,
|
||||
"skillID": 3300
|
||||
}
|
||||
],
|
||||
"operationName": "PostPercent",
|
||||
"showOutputValueInUI": "ShowNormal"
|
||||
}
|
||||
}
|
||||
@@ -9603,14 +9603,14 @@
|
||||
"raceID": 8,
|
||||
"radius": 1.0,
|
||||
"typeID": 34718,
|
||||
"typeName_de": "Federation Navy Comet Federal Police SKIN",
|
||||
"typeName_de": "Federation Navy Comet Police SKIN",
|
||||
"typeName_en-us": "Federation Navy Comet Police SKIN",
|
||||
"typeName_es": "Federation Navy Comet Police SKIN",
|
||||
"typeName_fr": "SKIN Comet modèle Federation Navy édition Police fédérale",
|
||||
"typeName_fr": "SKIN Comet de la Federation Navy, édition Police",
|
||||
"typeName_it": "Federation Navy Comet Police SKIN",
|
||||
"typeName_ja": "連邦海軍コメット 警察仕様のSKIN",
|
||||
"typeName_ko": "연방 해군 코멧 '연방 경찰' SKIN",
|
||||
"typeName_ru": "Federation Navy Comet Federal Police SKIN",
|
||||
"typeName_ja": "SKIN Comet de la Federation Navy, édition Police",
|
||||
"typeName_ko": "연방 해군 코멧 '경찰' SKIN",
|
||||
"typeName_ru": "Federation Navy Comet Police SKIN",
|
||||
"typeName_zh": "联邦海军彗星级联邦警察涂装",
|
||||
"typeNameID": 305660,
|
||||
"volume": 0.01
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,6 @@
|
||||
},
|
||||
{
|
||||
"field_name": "dump_time",
|
||||
"field_value": 1644020502
|
||||
"field_value": 1644022579
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user