0.16.5-hotfix1
This commit is contained in:
@@ -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>);
|
||||
Reference in New Issue
Block a user