Add set of hacks to rename caustic to tachyon
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
import json
|
||||
from collections import OrderedDict
|
||||
import re
|
||||
|
||||
from logbook import Logger
|
||||
from sqlalchemy.orm import reconstructor
|
||||
@@ -33,6 +33,10 @@ from .eqBase import EqBase
|
||||
pyfalog = Logger(__name__)
|
||||
|
||||
|
||||
def _t(x):
|
||||
return x
|
||||
|
||||
|
||||
class Effect(EqBase):
|
||||
"""
|
||||
The effect handling class, it is used to proxy and load effect handler code,
|
||||
@@ -245,6 +249,10 @@ class Item(EqBase):
|
||||
pass
|
||||
return shortName
|
||||
|
||||
@property
|
||||
def customName(self):
|
||||
return re.sub(_t('Caustic'), _t('Tachyon'), self.name)
|
||||
|
||||
@property
|
||||
def attributes(self):
|
||||
return self.__attributes
|
||||
|
||||
Reference in New Issue
Block a user