I have an idea for a Mod whereby the Player is able to buy Units/Workers. The idea is, there'd be 10 kinds of Unit, plus 4 one-off upgrades for each Unit Type (and probably additional 'passive upgrades'). The problem is, I cannot really think of how to implement this in a decent way in-game. Scripting most of it should be fine, but I want a way for the Player to be able to see how many they've bought, AND update the prices of each unit after one is purchased.
My first thought was a one-off merchant, and use something like the items in HF, where they're added whilst the Player is in the appropriate Cell, so they'll come up in the Merchant Menu; but I don't think you can alter the Price of an Item in the menu, can you? I.e., for the new price to take effect the Player would have to exist and enter; and they could bulk-buy, therefore circumventing the amount.
Then I thought of using an MCM menu that would only be available in that Cell; with that, I think I could script everything to work the way I want it to, but it feels like that would be less immersive and overall unsuitable...
Does anyone have any ideas of how I might implement this?
Right now, I do not think it's worth 'starting' on the Mod until I've got this down :/