This script adds the ability to automatically sell wood without walking up to the point and clicking R
this script should be manually added to the map/building
How to add
first moddesc.xml
add
<extraSourceFiles>
<sourceFile filename=”AutoSellWoodTrigger.lua” />
</extraSourceFiles>
second building XML file
<sellingStation node=”sellingStation” supportsExtension=”false”>
<unloadTrigger fillTypes=”WOOD” aiNode=”sellingStationAINode”>
<woodTrigger class=”YourModName.AutoSellWoodTrigger” triggerNode=”woodTrigger” activation_TriggerNode(Remove _)=”woodSellTrigger” />
</unloadTrigger>
</sellingStation>
Credits:
Laughing Wallaby