Skip to content
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

Open
pawnishoovy opened this issue Oct 31, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request refactor Code needs to be refactored

Comments

@pawnishoovy
Copy link

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.

@pawnishoovy pawnishoovy added enhancement New feature or request refactor Code needs to be refactored labels Oct 31, 2023
@pawnishoovy pawnishoovy added this to the PreRelease v6.0 milestone Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request refactor Code needs to be refactored
Projects
None yet
Development

No branches or pull requests

2 participants