0.16.5-hotfix1

This commit is contained in:
sainagh
2024-10-22 15:32:10 -07:00
parent 6a6a0ba4f0
commit 9a9983c59a
5001 changed files with 257651 additions and 10123 deletions
+24
View File
@@ -2310,5 +2310,29 @@ recipes.addShapeless(
null
);
val seedhemp = <immersiveengineering:seed:0>;
recipes.addShapeless(
"scanseedhemp",seedhemp,
[(seedhemp.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>);