Hi guys. I'm trying to make a mod that can make a specific weapon depending on surface created. I've managed everything well so far, using statusdata_consume, but I've hit a wall. While I've gotten the weapon stats down, I can't seem to find where to assign the root template to the weapon stat. I end up equipping some default weapon instead when I cast the spell. This happens even when I've applied the stats to the specific root template. Unlike stats_objects, stats_weapons doesn't seem to have a property to set a root template. Any help would be appreciated.