Hallo zusammen,
Ich verzweifel gerade an nem Fehler beim Verarbeiten!
Ich hab 2 Verarbeiter gemacht:
1. Maische = 1 Maiskolben+ 2 Wasserflaschen
2. Moonshine = 2 Maische + 1 Glas
Moonshine funktioniert perfekt aber bei Maische macht er mir den Rucksack mit Maische voll und nimmt Wasser und Mais nicht heraus!!!
In den Client und Server logs sind keine Fehler!
Hatte vielleicht schon mal jemand das Problem und/oder kann mir bitte helfen?
Vielen Dank im Voraus!!!
Configprocess
Code
class mash {
MaterialsReq[] = {{"waterBottle",2},{"corn",1}};
MaterialsGive[] = {{"mash",1}};
Text = "STR_Process_mash";
//ScrollText = "Mixing Mash";
NoLicenseCost = 6500;
};
class moonshine {
MaterialsReq[] = {{"mash",2},{"glass",1}};
MaterialsGive[] = {{"moonshine",1}};
Text = "STR_Process_moonshine";
//ScrollText = "Moonshining";
NoLicenseCost = 10500;
};
Alles anzeigen
Vitems
Code
class mash {
variable = "mash";
displayName = "STR_Item_mash";
weight = 6;
buyPrice = 10000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "icons\ico_mash.paa";
};
class corn {
variable = "corn";
displayName = "STR_Item_corn";
weight = 3;
buyPrice = 1000;
sellPrice = -1;
illegal = false;
edible = -1;
icon = "icons\ico_corn.paa";
};
class moonshine {
variable = "moonshine";
displayName = "STR_Item_moonshine";
weight = 4;
buyPrice = 25000;
sellPrice = -1;
illegal = true;
edible = -1;
icon = "icons\ico_moonshine.paa";
};
Alles anzeigen
Mission inits:
Code
init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Process_mash"",life_fnc_processAction,""mash"",0,false,false,"""",' life_inv_corn, life_inv_waterbottle > 0 && !life_is_processing && !life_action_inUse']; this addAction[format[""%1 ($%2)"",localize (getText(missionConfigFile >> ""Licenses"" >> ""mash"" >> ""displayName"")), [(getNumber(missionConfigFile >> ""Licenses"" >> ""mash"" >> ""price""))] call life_fnc_numberText],life_fnc_buyLicense,""mash"",0,false,false,"""",' !license_civ_mash && playerSide isEqualTo civilian ']";
init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Process_moonshine"",life_fnc_processAction,""moonshine"",0,false,false,"""",' life_inv_mash, life_inv_glass > 0 && !life_is_processing && !life_action_inUse']; this addAction[format[""%1 ($%2)"",localize (getText(missionConfigFile >> ""Licenses"" >> ""moonshine"" >> ""displayName"")), [(getNumber(missionConfigFile >> ""Licenses"" >> ""moonshine"" >> ""price""))] call life_fnc_numberText],life_fnc_buyLicense,""moonshine"",0,false,false,"""",' !license_civ_moonshine && playerSide isEqualTo civilian ']";