Minefactory Reloaded

Minefactory Reloaded

23M Downloads

Support custom material names

Adaptivity opened this issue · 2 comments

commented

Since MineFactoryReloaded adds 2 new materials to TiC there are some issues with translating them.
Basically I need different adjective ends for some tools(toolparts). Some examples:

  1. Plastic Pickaxe -> Пластиковая(adj end="ая") кирка(tool) (in Russian)
  2. Plastic Hatchet -> Пластиковый(adj end="ый" different from above) топорик(tool) (in Russian)
    Tinkers Construct already supports custom material names:
  3. How it looks in .lang file: https://github.com/SlimeKnights/TinkersConstruct/blob/master/resources/assets/tinker/lang/en_US.lang#L917
  4. And possibly in code: https://github.com/SlimeKnights/TinkersConstruct/blob/master/src/main/java/tconstruct/tools/items/ToolPart.java (not sure about this, hope you can find out it yourself)
commented

You should be able to just do like what you did here: https://github.com/SlimeKnights/TinkersConstruct/blob/master/resources/assets/tinker/lang/ru_RU.lang#L1410
in MFR's localization file, but it seems that currently mod materials aren't supported properly for localization like the tcon materials are

commented

They actually working. Tested.