BazaarRealmMod/Source/Scripts/BRMerchPrevPageScript.psc
Tyler Hallada 8eeae0cf64 Partial refactor of merch for multiple shelves
Loads merch onto multiple shelves after loading interior refs.
2020-11-28 23:46:33 -05:00

18 lines
797 B
Plaintext

scriptname BRMerchPrevPageScript extends ObjectReference
Keyword property BRLinkMerchShelf auto
Actor property PlayerRef auto
Quest Property BRQuest Auto
event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerRef
ObjectReference MerchantShelf = self.GetLinkedRef(BRLinkMerchShelf)
BRQuestScript BRScript = BRQuest as BRQuestScript
debug.MessageBox("BRMerchandiseList.PrevPage not implemented yet!")
; bool result = BRMerchandiseList.PrevPage(BRScript.ApiUrl, BRScript.ApiKey, BRScript.ActiveShopId, MerchantShelf)
; Debug.Trace("BRMerchandiseList.PrevPage result: " + result)
; if !result
; Debug.MessageBox("Failed to load or clear shop merchandise.\n\n" + BRScript.BugReportCopy)
; endif
endif
endEvent