You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// priority: 0
|
|
|
|
|
|
|
|
onEvent("recipes", event => {
|
|
|
|
for (let material of Object.values(global.unification))
|
|
|
|
for (let items of Object.values(material))
|
|
|
|
for (let i = 0; i < items.length; i++) {
|
|
|
|
event.replaceInput({ }, items[i], items[0], true);
|
|
|
|
event.replaceOutput({ }, items[i], items[0], true);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
onEvent("item.tags", event => {
|
|
|
|
for (let material of Object.values(global.unification))
|
|
|
|
for (let items of Object.values(material))
|
|
|
|
for (let i = 1; i < items.length; i++)
|
|
|
|
event.removeAllTagsFrom(items[i]);
|
|
|
|
});
|