on load:
new Recipe "<nazwa Twojego craftingu>";
"<nazwa Twojego craftingu>".Recipe.setIngredient{1, <item w 1 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{2, <item w 2 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{3, <item w 3 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{4, <item w 4 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{5, <item w 5 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{6, <item w 6 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{7, <item w 7 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{8, <item w 8 slocie>};
"<nazwa Twojego craftingu>".Recipe.setIngredient{9, <item w 9 slocie>;
"<nazwa Twojego craftingu>".Recipe.setResult{<item, który otrzymamy w jego wyniku>};
"<nazwa Twojego craftingu>".Recipe.register{};
przykład:
on load:
new Recipe "siodlo";
"siodlo".Recipe.setIngredient{1, 1 leather};
"siodlo".Recipe.setIngredient{2, 1 leather};
"siodlo".Recipe.setIngredient{3, 1 leather};
"siodlo".Recipe.setIngredient{4, 1 iron ingot};
"siodlo".Recipe.setIngredient{5, 1 brick};
"siodlo".Recipe.setIngredient{6, 1 iron ingot};
"siodlo".Recipe.setIngredient{7, 1 iron ingot};
"siodlo".Recipe.setIngredient{8, 1 iron ingot};
"siodlo".Recipe.setIngredient{9, 1 iron ingot};
"siodlo".Recipe.setResult{saddle named "&6Siodło"};
"siodlo".Recipe.register{};
wtedy crafting wyglądał by w ten sposób:
Wydaje mi się, że wymagany jest WildSkript