[206][Modding] YesNoToolbar* tags requires DisplayName to be localized
Submitted
The <YesNoToolbarBackground> requires the block to have <DisplayName> be localized, seems like a very arbitrary restriction.
I've attached a local mod for a custom block.
Place the block (find it by searching for "test"), enter it and click "setup actions" to see:
Then edit the .sbc file to change the <DisplayName> to the value from the comment next to it (the one with gyro). Repeat the ingame thing with setup actions to now see:
For the programmers: MyToolbar.Init() checks and passes BlockDefinition.DisplayNameEnum.
It should instead be using DisplayNameText so that it prints the block name regardless of how it's composed (localized, formatted or raw text).
Files:
TestCockpitForY...
Replies have been locked on this page!