Cattle and Crops: Mission Documentation
condition: purchase, purchaseFillType
Prüft ob die angegebe Menge des FillTypes vom Händer gekauft wurde.
Als type
können sowohl purchase
als auch purchaseFillType
benutzt werden.
Diese condition unterstützt progressVisible
und kann den Fortschritt anzeigen.
Attribute
Attribute | Type | Value | Beschreibung |
---|---|---|---|
traderId |
string |
* |
InfoForTaskAndQuestId des Händlers |
fillType |
string |
* [path] |
Vollständiger Pfad des FillTypes |
amount |
float |
> 0 |
Menge die gekauft werden soll, in kg |
Beispiel
…
<conditions>
<condition type="purchaseFillType" traderId="cooperative" fillType="Solid,Fertilizer,NPK_15_15_15" amount="600" description="Buy 600 kg of NPK 15-15-15 at the cooperative" />
</conditions>
…