Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.item.IItemStack;
- import crafttweaker.item.IIngredient;
- var logArr as IItemStack[];
- var plankArr as IItemStack[];
- var length = 0;
- /*Make Plaster and Bandage actually useful*/
- recipes.remove(<roughtweaks:plaster>);
- recipes.remove(<roughtweaks:bandage>);
- recipes.addShapeless(<roughtweaks:plaster>, [<ore:paper>, <ore:paper>]);
- recipes.addShapeless(<roughtweaks:bandage>, [<ore:fatAnimal>, <ore:paper>, <ore:paper>, <ore:paper>]);
- /*Fix plank recipes*/
- /*recipes.removeByRegex("(biomesoplenty|extratrees|pvj)\:(planks\_[a-z]+|[a-z]+\_(planks|[a-z]+\_planks))");*/
- recipes.removeShapeless(<ore:plankWood> * 4, [<ore:logWood>]);
- print("Removed plank recipes");
- /*recipes.addShaped(<ore:plankWood> * 2, [[<ore:toolAxe> | <ore:toolHatchet>, null], [<ore:logWood>, null]]);*/
- /*recipes.addShaped("pcPlanks", <ore:plankWood>, [[<ore:toolAxe>,null,null], [<ore:logWood>,null,null], [null,null,null]]);*/
- for log in <ore:logWood>.items {
- logArr += log;
- length += 1;
- }
- for plank in <ore:plankWood>.items {
- plankArr += plank;
- }
- for i in 0 to length{
- var theLog = logArr[i] as IItemStack;
- var thePlank = plankArr[i] as IItemStack;
- recipes.addShaped(theLog.displayName+"ToPlanks", thePlank * 2, [[<ore:toolAxe>], [theLog]]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement