BazaarRealmMod/Source/Scripts/CMPeddlingChestScript.psc

15 lines
482 B
Plaintext
Raw Normal View History

2020-10-13 01:26:16 +00:00
Scriptname CMPeddlingChestScript extends Form
Quest Property CMPeddling Auto
event OnMenuClose(string menuName)
if menuName == "ContainerMenu"
debug.Trace("Peddling container menu closed")
CMPeddlingScript questScript = CMPeddling as CMPeddlingScript
debug.Trace("CMPeddling: " + CMPeddling)
debug.Trace("questScript: " + questScript)
questScript.ReweighPeddlingInventory()
UnregisterForMenu("ContainerMenu")
endif
endEvent