OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

[Suggestion] Return localized peripheral name #242

Closed thatcraniumguy closed 9 years ago

thatcraniumguy commented 9 years ago

Being able to wrap peripherals allows us to get a peripheral type using peripheral.getType(), however many mods only return a very user-unfriendly name. Case in point, Thermal Expansion. Most of the types returned start with tile_thermalexpansion_etc_more_crap_like_this, which makes it very annoying to read on things that you want to display the proper peripheral type. I suggest a new function to be added that would allow the user to display a much easier to read name.

boq commented 9 years ago

Peripheral types cannot be changed in runtime.

But here's alternative: