<?xml version="1.0"?> <resource name="log" material="rm_tree"> <item weight="500" score="10"> <construction skill="forestry" minskill="1" reqsize="1"/> </item> <resourcelimit> <modifier building="sawmill" type="skill" value="1"/> <modifier building="sawmill" type="material" value="0.5"/> <guard flag="logging"/> <function name="produce" value="lua_produceresource"/> <function name="limit" value="lua_limitresource"/> </resourcelimit> </resource>