feat: emi config & flax->canvas

This commit is contained in:
hypercross 2025-12-09 08:55:23 +08:00
parent ea800c7b5d
commit 84db9adda6
2 changed files with 14 additions and 6 deletions

View File

@ -46,7 +46,7 @@
/**
* Which action should be performed when clicking the recipe book.
*/
recipe-book-action: toggle-craftables;
recipe-book-action: toggle-visibility;
/**
* Where to display status effects in the inventory.

View File

@ -1,10 +1,18 @@
ServerEvents.recipes(event => {
event.replaceInput({input: 'supplementaries:flax'},
'supplementaries:flax',
'farmersdelight:straw'
);
// only one rope
event.remove({output:'supplementaries:rope'});
event.shapeless('farmersdelight:straw', 'supplementaries:flax');
// flax now makes canvas
event.shaped('4x farmersdelight:canvas', ['SS', 'SS'], {S: 'supplementaries:flax'});
// stuff made of flax is now made of canvas
for(const output of [
'supplementaries:sack',
'supplementaries:doormat',
'supplementaries:awning',
]) event.replaceInput({output},
'supplementaries:flax',
'farmersdelight:canvas');
event.remove({output:'spelunkery:depth_gauge'});