Commit Graph

15 Commits

Author SHA1 Message Date
e032084c1c Fix load shop, implement vendor NPC transactions
Splits out the original merchandise chest into two chests: a private merchandise chest in a dummy cell that sources the shelves when visiting a shop and a public chest in the interior of the shop that allows visitors to sell items and owners to deposit or withdraw items from the shop merchandise.
2020-11-18 23:31:41 -05:00
5cf8deea30 Fix list shops cancel, run maintenance on load 2020-11-14 02:25:02 -05:00
ece73fcf0e Implement buying merchandise off shelf
Refreshes the shelf after buying and after closing chest.
2020-11-02 01:39:45 -05:00
69b87517ec Get/Set merch and refs by shop id
Also, rename placeholder to activator. Some MCM UI improvements.
2020-10-25 03:21:08 -04:00
1d5ce98b8d Load selected shop in list shops menu
Haven't tested yet, waiting for API to compile
2020-10-20 01:26:49 -04:00
388fd7b7e0 Add ListShops action to MCM menu
Very bare-bones and expiremental right now as I figure out the best UI for choosing shops.
2020-10-19 01:13:18 -04:00
e6a4b19f5a Refactor API calls to use success/fail events
All async native function calls now respond on separate success & fail events.

Improve error messages and save `BugReportCopy` in one place on BRQuestScript.
2020-10-18 20:56:10 -04:00
cd9d11edfd Add shop name & desc update, better error handling 2020-10-18 02:33:26 -04:00
2e0a283ce5 Remove existing pex compiled scripts 2020-10-17 19:29:31 -04:00
ae64831ca3 Start gitignoring pex files
Was starting to get too annoying.
2020-10-17 19:25:17 -04:00
8030bb1c8a BRClient.Init bool result, messagebox on error 2020-10-17 19:23:57 -04:00
2f61106649 Reset MCM UI when StartMod fails 2020-10-16 20:20:51 -04:00
561b9574b6 Use events for calls to async native functions 2020-10-15 23:42:57 -04:00
4c9ab4bef2 Handle Replace3D in callback in trigger script 2020-10-13 22:38:27 -04:00
6cdd85a866 Initial commit, all scripts and esp 2020-10-12 21:26:16 -04:00