1.2.0 - Added the Vanilla Material(s) & Quantity to config

This commit is contained in:
mikx
2025-02-17 16:39:08 -05:00
parent 24d23a47e8
commit 243549733b
6 changed files with 45 additions and 6 deletions

View File

@@ -38,8 +38,11 @@ namespace tTP.Content.Items.Placeable
}
} else
{
recipe.AddIngredient(ItemID.IronBar, 10);
recipe.AddIngredient(ItemID.FallenStar, 1);
int mlc = config.VanillaMatsList.Count;
for (int vm = 0; vm < mlc; vm++)
{
recipe.AddIngredient(config.VanillaMatsList[vm], config.VanillaMatsListQty[vm]);
}
}
recipe.AddTile(TileID.WorkBenches);
recipe.Register();