Modded Vendor Blocks - UI doesn't work correctly.
I was working on a new modding project and I've come across a bug, the Vending Machine extra UI elements that allow you to use I and F to open the different menus appear to be hard-coded to the subtype Id 'Vending Machine'.
I made a simple duplicate of the Veending Machine defintion and changed only the subtype id and only the terminal option comes up. All the other buttons work just fine.
I then exported my model and made its subtype id over-write <SubtypeId>VendingMachine</SubtypeId>
and the block showed all the terminal controls you would expect. I suspect it has something to do with the code that loads up the 'searching for offers' content as this will not appear on modded block with a different subtype id at all. The picture below is me changing a block to use "VendingMachine" as its subtype id.
This is the same block and SBC right after changing the subtype id to anything else.
Images showing issue: https://imgur.com/gallery/0Xj02lD