Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was 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

Description

@pawnishoovy

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrefactorCode needs to be refactored

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions