Open avandenberghe opened 10 years ago
currently we have a hardcoded property array $armor_type in classes.php and this refers to the language files for actual descriptions.
$this->armortypes = array ( 'CLOTH' => $user->lang ['CLOTH'], 'ROBE' => $user->lang ['ROBE'], 'LEATHER' => $user->lang ['LEATHER'], 'AUGMENTED' => $user->lang ['AUGMENTED'], 'MAIL' => $user->lang ['MAIL'], 'HEAVY' => $user->lang ['HEAVY'], 'PLATE' => $user->lang ['PLATE'] );
this would need to be refactored into a class of its own with translation support.
currently we have a hardcoded property array $armor_type in classes.php and this refers to the language files for actual descriptions.
this would need to be refactored into a class of its own with translation support.