Configs and mods, oh my!

This commit is contained in:
oitsjustjose 2024-04-25 09:25:45 -05:00
commit 8854b51497
28 changed files with 220 additions and 58 deletions

View file

@ -1,3 +1,11 @@
ServerEvents.recipes(event => {
event.replaceOutput({ id: 'techreborn:crafting_table/manual' }, 'techreborn:manual', Item.of('patchouli:guide_book', '{"patchouli:book":"patchouli:tr_guide"}'));
});
PlayerEvents.loggedIn(event => {
if (event.hasGameStage('charmed')) return;
event.addGameStage('charmed');
event.getServer().runCommand(`curios add charm ${event.player.username} 1`);
event.getServer().runCommand(`msg ${event.player.username} A new charm has appeared in your Curios slots...`);
});