altered recipedump to be more informative

This commit is contained in:
APEX FIGHT
2026-01-16 10:15:11 -05:00
parent a9af509eef
commit f3b553c3fa

View File

@@ -3,6 +3,10 @@ const toggle = true;
ServerEvents.recipes(e => { ServerEvents.recipes(e => {
if (toggle) { if (toggle) {
console.warn("RECIPE DUMPING IS TURNED ON, THIS WILL DUMP JSON DATA OF ALL OF THE RECIPES IN THE GAME, WILL LAG"); console.warn("RECIPE DUMPING IS TURNED ON, THIS WILL DUMP JSON DATA OF ALL OF THE RECIPES IN THE GAME, WILL LAG");
console.log(JSON.stringify(e.getRecipes())); let rec = e.getRecipes();
for (let k in rec) {
console.log(JSON.stringify({key:k,val:rec[k]}))
}
} }
}); });