[s2774] 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 SD2[2987] - a634c74)

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