
Description
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>
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
Files
0.5 KB
Primary0 Downloads
Total downloads including previously deleted files: 0
Comments
Login to leave a commentDownload
Version:1.0
File size:0.5 KB
Downloads:0
Rating
Rating
0Rate this mod
Views
2