This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
The Browncoat Update - Give BuyMenu more scriptability and customizability #552
Labels
Milestone
Let scripts open the BuyMenu for a specific player with a bunch of options.
Some ideas:
Disable X object tab
Enforce player team tech only
Price multiplier
Disable/enable sending delivery craft like normal
Clicking "buy" would trigger a callback function on the object that originally called that buy menu. Something like:
OnBuyMenuPurchase(itemList, collapsedItemList, totalPrice) etc etc
Other actions might have callbacks too but I don't have any ideas.
The specifics will need to be figured out so we don't have buy menus opened by different scripts triggering functions on things that don't want functions triggered.
The text was updated successfully, but these errors were encountered: