forked from copygirl/heck
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.
17 lines
565 B
17 lines
565 B
// 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]); |
|
});
|
|
|