@@ -17550,7 +17550,8 @@ def __init__(self,types=None,aliases=None):
1755017550 'minRange','maxRange','animationAttackMultiplier','fireRate','overrideActionPoint','rumbleLeftMotorStrength',
1755117551 'rumbleRightMotorStrength','rumbleDuration','overrideDamageToWeaponMult','attackShotsPerSec',
1755217552 'reloadTime','jamTime','aimArc','rambleWavelangth','limbDmgMult','sightUsage',
17553- 'semiAutomaticFireDelayMin','semiAutomaticFireDelayMax','criticalDamage','criticalMultiplier',
17553+ 'semiAutomaticFireDelayMin','semiAutomaticFireDelayMax',
17554+ 'criticalDamage','criticalMultiplier',
1755417555 'iconPath', 'smallIconPath'),
1755517556 }
1755617557 self.aliases = aliases or {} #--For aliasing mod fulls
@@ -17702,7 +17703,7 @@ def readFromText(self,textPath):
1770217703 elif type == 'LIGH':
1770317704 lights[longid] = (eid,) + tuple(func(field) for func,field in
1770417705 #--(weight, value, duration)
17705- zip((str,sfloat,int,int,str),fields[4:9 ]))
17706+ zip((str,sfloat,int,int,int, str,str ),fields[4:11 ]))
1770617707 elif type == 'MISC':
1770717708 misc[longid] = (eid,) + tuple(func(field) for func,field in
1770817709 #--(weight, value)
@@ -17714,13 +17715,16 @@ def readFromText(self,textPath):
1771417715 #-- minRange, maxRange, animationAttackMultiplier, fireRate, overrideActionPoint, rumbleLeftMotorStrength,
1771517716 #-- rumbleRightMotorStrength, rumbleDuration, overrideDamageToWeaponMult, attackShotsPerSec,
1771617717 #-- reloadTime, jamTime, aimArc, rambleWavelangth, limbDmgMult, sightUsage,
17717- #-- semiAutomaticFireDelayMin, semiAutomaticFireDelayMax, criticalDamage, criticalMultiplier)
17718+ #-- semiAutomaticFireDelayMin, semiAutomaticFireDelayMax,
17719+ #-- criticalDamage, criticalMultiplier)
1771817720 zip((str,sfloat,int,int,int,int,
1771917721 sfloat,sfloat,int,sfloat,sfloat,sfloat,int,int,
1772017722 sfloat,sfloat,sfloat,sfloat,sfloat,sfloat,
1772117723 sfloat,sfloat,sfloat,sfloat,
1772217724 sfloat,sfloat,sfloat,sfloat,sfloat,sfloat,
17723- sfloat,sfloat,int,sfloat,str,str),fields[4:40]))
17725+ sfloat,sfloat,
17726+ int,sfloat,
17727+ str,str),fields[4:40]))
1772417728 ins.close()
1772517729
1772617730 def writeToText(self,textPath):
@@ -17766,9 +17770,9 @@ def getSortedIds(stats):
1776617770 ('"' + '","'.join((_('Type'),_('Mod Name'),_('ObjectIndex'),
1776717771 _('Editor Id'),_('Name'),_('Weight'),_('Value'),_('Large Icon Path'),_('Small Icon Path'),_('Model'))) + '"\n')),
1776817772 #Lights
17769- ('LIGH', bolt.csvFormat('ssfiiss ')+'\n',
17773+ ('LIGH', bolt.csvFormat('ssfiisss ')+'\n',
1777017774 ('"' + '","'.join((_('Type'),_('Mod Name'),_('ObjectIndex'),
17771- _('Editor Id'),_('Name'),_('Weight'),_('Value'),_('Duration'),_('Icon Path'),_('Model'))) + '"\n')),
17775+ _('Editor Id'),_('Name'),_('Weight'),_('Value'),_('Duration'),_('Icon Path'),_('Small Icon Path'),_(' Model'))) + '"\n')),
1777217776 #--Misc
1777317777 ('MISC', bolt.csvFormat('ssfisss')+'\n',
1777417778 ('"' + '","'.join((_('Type'),_('Mod Name'),_('ObjectIndex'),
@@ -17834,9 +17838,9 @@ def getSortedIds(stats):
1783417838 _('Editor Id'),_('Name'),_('Value'),_('Weight'),_('Model'),_('Icon'),_('Script'),_('MODB'),_('MODT_P'))) + '"\n')),
1783517839
1783617840 #Lights
17837- ('LIGH', bolt.csvFormat('ssfiiss ')+'\n',
17841+ ('LIGH', bolt.csvFormat('ssfiisss ')+'\n',
1783817842 ('"' + '","'.join((_('Type'),_('Mod Name'),_('ObjectIndex'),
17839- _('Editor Id'),_('Name'),_('Weight'),_('Value'),_('Duration'),_('Icon Path'),_('Model'))) + '"\n')),
17843+ _('Editor Id'),_('Name'),_('Weight'),_('Value'),_('Duration'),_('Icon Path'),_('Small Icon Path'),_(' Model'))) + '"\n')),
1784017844 #--Misc
1784117845 ('MISC', bolt.csvFormat('ssfiss')+'\n',
1784217846 ('"' + '","'.join((_('Type'),_('Mod Name'),_('ObjectIndex'),
0 commit comments