Localizable craftmenu

Construction has been updated to better support localization for non-English forks.

StackPrototype now takes a LocId for the name instead of just a raw string.

ConstructionPrototype has been modified to now primarily use prototype information. The Name and Description fields are now both nullable LocIds, where a null value results in the construction system automatically using the entity name and description. Additionally, the icon and layers fields have been removed entirely in favor of just displaying the entity prototype directly in the UI.

In similar vein, ComponentConstructionGraphStep, MultipleTagsConstructionGraphStep, and TagConstructionGraphStep now also use LocIds for the name datafield to ensure proper localization support.

1 Like