Produktionen, Fülltypen "entweder oder" ?

Eure Foren für alle Diskussionen rund ums Thema Modding.
anthu
Posts: 4976
Joined: Thu Nov 06, 2014 8:03 am

Produktionen, Fülltypen "entweder oder" ?

Post by anthu »

Hallo Leute.
Ist es möglich bei giants produktionen entweder oder input zu geben?
Derweil hab ich nur "und" gesehen. D.h. Wasser+Dünger+Mist.
Geht es auch mit Wasser + (Dünger oder Mist).
D.h. die Produktion funktioniert mit Wasser+Dünger oder mit Wasser+Mist ?
Lg
Andreas
Steyr Profi
Posts: 704
Joined: Sun Dec 09, 2018 12:02 pm

Re: Produktionen, Fülltypen "entweder oder" ?

Post by Steyr Profi »

Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: Produktionen, Fülltypen "entweder oder" ?

Post by Haubi »

Ohne das Revamp dingens da, musst halt zwei Produktionslinien machen. In deinem Beispiel
Wasser + Dünger = bla bla bla
und
Wasser + Mist = bla bla bla

So mache ich sowas zumindest.
anthu
Posts: 4976
Joined: Thu Nov 06, 2014 8:03 am

Re: Produktionen, Fülltypen "entweder oder" ?

Post by anthu »

Hallo Leute,
Danke für die info.
1. Revamp hatte ich mir früher schon angesehen, das ist für mich aber - da ich nur grundlegend Produktion betreibe - zu umfangreich.
2. Das mit den erweiterten Produktionslinien, also quasi dem verdoppeln, würde bei meinem Gewächshaus das Salat, Paradeiser und Erdbeeren ausgibt, die produktlinien von 3 auf 6 verdoppeln.
Da ich aber eingeplant habe, Dünger, Mist, Gülle und Gärreste zu verwenden, hätte ich dann 12 produktionslinien (3 outputs, 4 mögliche inputs)

Bisher hab ich ja den input angepasst, da hab ich 3 produktionslinien:
Aus 3 Mist wird 1 Dünger,
aus 2 Gülle wird 1 Dünger und
aus 2 Gärreste wird ebenfalls 1 Dünger.
Alle drei mit zyklus 99999, also rasend schnell
Dann hab ich noch die drei reellen produktlinien,
Aus Dünger, Wasser und Saatgut wird dann Paradeiser/Salat/Erdbeeren.
Also insgesamt nur 6linien.
Ich hab mir nur gedacht, die ersten drei dummy-linien damit einsparen zu können.
Aber egal, funktioniert eh, aber anders wärs eleganter.
LG
ANDREAS
Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: Produktionen, Fülltypen "entweder oder" ?

Post by Haubi »

Wieso Dummy Linien? Bei so umfangreichen Produktionen kannst ja auch alle "dünge" Inputs mit fillTypeConversion zu Dünger umwandeln. Da bleiben dann nur drei Linien über, je Output eine.
Alles was du reinkippst an Dünger, also Mist, Gülle, Gärreste wird zu Dünger im passenden Verhältnis konvertiert.
Dann brauchst für jeden Output nur noch eine Linie, die dann immer mit Dünger, Wasser und Saatgut arbeiten.
anthu
Posts: 4976
Joined: Thu Nov 06, 2014 8:03 am

Re: Produktionen, Fülltypen "entweder oder" ?

Post by anthu »

Haubi wrote: Mon Jan 22, 2024 5:44 pm Wieso Dummy Linien? Bei so umfangreichen Produktionen kannst ja auch alle "dünge" Inputs mit fillTypeConversion zu Dünger umwandeln.
...
Hallo haubi
Kannst du mir das bitte genauer erklären.
Wo in der greenhouse.xml trag ich das ein?
Gibts da eine mod wo ich mir das ansehen kann?
Das wäre genau das was ich mir dachte.
Lg
Andreas
Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: Produktionen, Fülltypen "entweder oder" ?

Post by Haubi »

Das kannst aus dem Basegame nehmen von den Güllelagern, wo man auch Gärreste abladen kann. Die Konvertiert Giants da auch so zu Gülle. Das sollte dir deine "dummy Produktionen" ersparen.

Code: Select all

<unloadingStation supportsExtension="true" storageRadius="50" >
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="LIQUIDMANURE DIGESTATE" aiNode="aiLoadingNode">
                <fillTypeConversion incomingFillType="DIGESTATE" outgoingFillType="LIQUIDMANURE" ratio="0.3" />
            </unloadTrigger>
</unloadingStation>
anthu
Posts: 4976
Joined: Thu Nov 06, 2014 8:03 am

Re: Produktionen, Fülltypen "entweder oder" ?

Post by anthu »

danke dir haubi
so funktionierts nun bei mir:

Code: Select all

    <productionPoint>
        <!-- <productions> -->
        <productions sharedThroughputCapacity="false">
            <production id="tomato" name="$l10n_fillType_tomato" cyclesPerHour="28" costsPerActiveHour="0.1">
                <inputs>
                      <input fillType="WATER" amount="2" />
					 <input fillType="SEEDS" amount="0.2" />
					 <input fillType="FERTILIZER" amount="0.1" />
                </inputs>
                <outputs>
                    <output fillType="TOMATO" amount="2" />
                </outputs>
            </production>
            <production id="lettuce" name="$l10n_fillType_lettuce" cyclesPerHour="14" costsPerActiveHour="0.1">
                <inputs>
                      <input fillType="WATER" amount="4" />
					 <input fillType="SEEDS" amount="0.4" />
					 <input fillType="FERTILIZER" amount="0.2" />
                </inputs>
                <outputs>
                    <output fillType="LETTUCE" amount="2" />
                </outputs>
            </production>
            <production id="strawberry" name="$l10n_fillType_strawberry" cyclesPerHour="28" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="WATER" amount="2" />
					 <input fillType="SEEDS" amount="0.2" />
					 <input fillType="FERTILIZER" amount="0.1" />
                </inputs>
                <outputs>
                    <output fillType="STRAWBERRY" amount="3" />
                </outputs>
            </production>
        </productions>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="false">
            <unloadTrigger exactFillRootNode="unloadTrigger" fillTypes="SEEDS FERTILIZER LIQUIDMANURE MANURE DIGESTATE" >
                <fillTypeConversion incomingFillType="LIQUIDMANURE" outgoingFillType="FERTILIZER" ratio="0.5" />
                <fillTypeConversion incomingFillType="MANURE" outgoingFillType="FERTILIZER" ratio="0.4" />
                <fillTypeConversion incomingFillType="DIGESTATE" outgoingFillType="FERTILIZER" ratio="0.3" />
            </unloadTrigger>
            <unloadTrigger exactFillRootNode="unloadTriggerWater" fillTypes="WATER" aiNode="unloadTriggerAINode" />
        </sellingStation>

        <loadingStation fillTypes="WATER SEEDS FERTILIZER" supportsExtension="true" />

        <palletSpawner node="palletSpawner">
            <spawnPlaces>
                <spawnPlace startNode="spawnPlace1Start" />
                <spawnPlace startNode="spawnPlace2Start" />
            </spawnPlaces>
        </palletSpawner>

        <storage node="storage" isExtension="false" fillTypes="WATER SEEDS FERTILIZER" fillLevelSyncThreshold="15">
            <capacity fillType="WATER"		capacity="12000" />
            <capacity fillType="SEEDS"		capacity="3000" />
            <capacity fillType="FERTILIZER"	capacity="6000" />
            <capacity fillType="LETTUCE"	capacity="6000" />
            <capacity fillType="TOMATO"		capacity="4000" />
            <capacity fillType="STRAWBERRY"	capacity="12000" />
        </storage>

        <playerTrigger node="playerTrigger" />
    </productionPoint>
hab beim unloadTrigger Gülle Mist u Gärreste eingetragen und auf Dünger konvertieren lassen.
es funktioniert sogar die ratio, d.h. aus 1000l Gülle werden 500l Dünger,...
nun kann ich alles in die Kiste kippen und es wird produziert, wenn nur ein filltype drinnen ist

lg
andreas
Post Reply