Hi..
I'm trying to use the script to add Pigs (and also other animals) to a Production chain but having some trouble.
For one, I'm unable to unload the animals at the unload point? I'm not sure how to get this to work?
I tried to copy what you did with the Horse Training mod... I'm sure I created the production and storage the correct way.
I can place the production building, I can see the pig icon in the production chain menus. But I'm not able to unload the animals..
I can see you used a animalInputTrigger for the Horse Training xml but I'm not sure of the correct way it should be used.?
Any help would be appreciated... I struggle a bit with the modding.. ;)
I can find my way around the xml, files but don't really understand the lua scripts so well..
Thank you..
Here's some of the xml info -
<productionPoint>
<productions>
<production id="bacon" name="$l10n_fillType_bacon" cyclesPerHour="1000" costsPerActiveHour="1">
<inputs>
<input fillType="TOMATO" amount="10" />
<input fillType="PIG_LANDRACE" amount="1" />
</inputs>
<outputs>
<output fillType="BACON" amount="100" />
</outputs>
</production>
</productions>
<storage isExtension="false" fillLevelSyncThreshold="50">
<!-- inputs-->
<capacity fillType="TOMATO" capacity="150000" />
<capacity fillType="PIG_LANDRACE" capacity="20000" isAnimalFillType="true" litersPerAnimal="1000" leastAge="1" />
<capacity fillType="PIG_BLACK_PIED" capacity="20000" isAnimalFillType="true" litersPerAnimal="1000" leastAge="1" />
<capacity fillType="PIG_BERKSHIRE" capacity="20000" isAnimalFillType="true" litersPerAnimal="1000" leastAge="1" />
<!-- outputs -->
<capacity fillType="BACON" capacity="15000" />
</storage>
<sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="false">
<unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="TOMATO PIG_LANDRACE PIG_BLACK_PIED PIG_BERKSHIRE"/>
</sellingStation>
<palletSpawner node="palletSpawner">
<spawnPlaces>
<spawnPlace startNode="spawnSpace1start" />
</spawnPlaces>
</palletSpawner>
<playerTrigger node="playerTrigger" />
<animalInputTrigger node="animalInputTrigger" />
<sounds>
<idle template="carpenterIdle" linkNode="0>" />
<active template="carpenterWork" linkNode="0>" />
</sounds>
</productionPoint>
<triggerMarkers>
<triggerMarker node="warningStripes" />
<triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
<triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
</triggerMarkers>
<hotspots>
<hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="unloadTriggerMarker" />
</hotspots>
Hi..
I'm trying to use the script to add Pigs (and also other animals) to a Production chain but having some trouble.
For one, I'm unable to unload the animals at the unload point? I'm not sure how to get this to work?
I tried to copy what you did with the Horse Training mod... I'm sure I created the production and storage the correct way.
I can place the production building, I can see the pig icon in the production chain menus. But I'm not able to unload the animals..
I can see you used a animalInputTrigger for the Horse Training xml but I'm not sure of the correct way it should be used.?
Any help would be appreciated... I struggle a bit with the modding.. ;)
I can find my way around the xml, files but don't really understand the lua scripts so well..
Thank you..
Here's some of the xml info -