[c2987] Implement script support for quest 10310

Thanks to @ghost and Zharvek for providing the information.
Based on the original work of zlokobni

(based on commit [2987] - a634c74)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>