Skip to content

Commit b474627

Browse files
committed
Removed Unused records
1 parent d28bf4e commit b474627

3 files changed

Lines changed: 29 additions & 202 deletions

File tree

Mopy/bash/basher.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13057,9 +13057,6 @@ def getInfo(self,item):
1305713057
buff.write(', '.join(record.flags.getTrueAttrs())+'\n')
1305813058
for attr in ('strength','value','weight'):
1305913059
buff.write('%s: %s\n' % (attr,getattr(record,attr)))
13060-
elif record.recType == 'CLOT':
13061-
buff.write(_('Clothing\nFlags: '))
13062-
buff.write(', '.join(record.flags.getTrueAttrs())+'\n')
1306313060
elif record.recType == 'WEAP':
1306413061
buff.write(bush.weaponTypes[record.weaponType]+'\n')
1306513062
for attr in ('damage','value','speed','reach','weight'):
@@ -13111,7 +13108,7 @@ def save(self):
1311113108
class Save_EditCreated(Link):
1311213109
"""Allows user to rename custom items (spells, enchantments, etc)."""
1311313110
menuNames = {'ENCH':_('Rename Enchanted...'),'SPEL':_('Rename Spells...'),'ALCH':_('Rename Potions...')}
13114-
recordTypes = {'ENCH':('ARMO','CLOT','WEAP')}
13111+
recordTypes = {'ENCH':('ARMO','WEAP')}
1311513112

1311613113
def __init__(self,type):
1311713114
if type not in Save_EditCreated.menuNames:

Mopy/bash/bish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def readRecord(record, melSet=0, skipLabel=0):
106106
if isinstance(record, bosh.MobCell):
107107
melSet = ['cell','persistent','distant','temp','land','pgrd']
108108
elif isinstance(record, bosh.MobWorld):
109-
melSet = ['cellBlocks','world','road','worldCellBlock']
109+
melSet = ['cellBlocks','world','worldCellBlock']
110110
elif hasattr(record, 'melSet'):
111111
melSet = record.melSet.getSlotsUsed()
112112
if record.recType == 'DIAL':

0 commit comments

Comments
 (0)