This commit is contained in:
sainagh
2024-08-18 18:25:41 -07:00
parent f38b745627
commit 0a09116c6e
1502 changed files with 56792 additions and 12704 deletions
+45
View File
@@ -2264,6 +2264,51 @@ recipes.addShapeless(
null
);
val seedflax = <actuallyadditions:item_flax_seed>;
recipes.addShapeless(
"scanseedflax",seedflax,
[(seedflax.marked("mark").transformNew(function(item) { return item.withTag(item.tag); })).noReturn(),
<contenttweaker:seed_analyzer>.reuse()],
function(out,ins,cInfo){
var species = ins.mark.tag.agri_seed as string;
var strength = ins.mark.tag.agri_strength as byte;
var gain = ins.mark.tag.agri_gain as byte;
var growth = ins.mark.tag.agri_growth as byte;
var analyzed = 1 as byte;
var updatedTag as IData = {
agri_analyzed: analyzed,
agri_strength: strength,
agri_gain: gain,
agri_seed: species,
agri_growth: growth
};
return out.updateTag(updatedTag);
},
null
);
val seedrice = <actuallyadditions:item_rice_seed>;
recipes.addShapeless(
"scanseedrice",seedrice,
[(seedrice.marked("mark").transformNew(function(item) { return item.withTag(item.tag); })).noReturn(),
<contenttweaker:seed_analyzer>.reuse()],
function(out,ins,cInfo){
var species = ins.mark.tag.agri_seed as string;
var strength = ins.mark.tag.agri_strength as byte;
var gain = ins.mark.tag.agri_gain as byte;
var growth = ins.mark.tag.agri_growth as byte;
var analyzed = 1 as byte;
var updatedTag as IData = {
agri_analyzed: analyzed,
agri_strength: strength,
agri_gain: gain,
agri_seed: species,
agri_growth: growth
};
return out.updateTag(updatedTag);
},
null
);
recipes.remove(<agricraft:peripheral>);
recipes.remove(<agricraft:seed_analyzer>);