Minetweaker 3

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
N

Nagy Zoltán

Guest
Hello!

I want to make crafting of ReactorCasing a bit herder using Minetweaker 3
I have created the following script:

# Reactor casings
minetweaker.remove(<BigReactors:BRReactorPart>);
recipes.addShaped(<BigReactors:BRReactorPart> * 4, [[TConstruct:materials:16, BigReactors:BRIngot:2, TConstruct:materials:16], [BigReactors:BRIngot:2, minecraft:redstone, BigReactors:BRIngot:2], [TConstruct:materials:16, BigReactors:BRIngot:2, TConstruct:materials:16]]);


I get the following error:

Error parsing crafting.zs:3 -- ] or , expected

Can anybody correct me the script, or help me to make it work?
It would be very helpfull.
Thanks.
Beast regards:
zozidalom
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
Hello!

I want to make crafting of ReactorCasing a bit herder using Minetweaker 3
I have created the following script:

# Reactor casings
minetweaker.remove(<BigReactors:BRReactorPart>);
recipes.addShaped(<BigReactors:BRReactorPart> * 4, [[TConstruct:materials:16, BigReactors:BRIngot:2, TConstruct:materials:16], [BigReactors:BRIngot:2, minecraft:redstone, BigReactors:BRIngot:2], [TConstruct:materials:16, BigReactors:BRIngot:2, TConstruct:materials:16]]);


I get the following error:

Error parsing crafting.zs:3 -- ] or , expected

Can anybody correct me the script, or help me to make it work?
It would be very helpfull.
Thanks.
Beast regards:
zozidalom
I'm probably wrong about this, but have you tried a version of the recipe with the angled brackets < and > around all the parts of the recipe? Also, should it be "minetweaker.remove" for the first bit; I thought it was "recipes.remove"?
 
N

Nagy Zoltán

Guest
I'm probably wrong about this, but have you tried a version of the recipe with the angled brackets < and > around all the parts of the recipe? Also, should it be "minetweaker.remove" for the first bit; I thought it was "recipes.remove"?
Tried to move the angled brackets but not working still.
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
Could you copy-paste what you tried? I didn't think that would be it, but I thought it was worth a try! :) Just to check, this is what I had in mind:

# Reactor casings
recipes.remove(<BigReactors:BRReactorPart>);
recipes.addShaped(<BigReactors:BRReactorPart> * 4, [[<TConstruct:materials:16>, <BigReactors:BRIngot:2>, <TConstruct:materials:16>], [<BigReactors:BRIngot:2>, <minecraft:redstone>, <BigReactors:BRIngot:2>], [<TConstruct:materials:16>, <BigReactors:BRIngot:2>, <TConstruct:materials:16>]]);

If that doesn't work, I'm afraid I'm out of ideas, and I'm really sorry I couldn't help. I've checked through your syntax and can't see anything wrong, no missing brackets or other punctuation as far as I can see.
 
N

Nagy Zoltán

Guest
Could you copy-paste what you tried? I didn't think that would be it, but I thought it was worth a try! :) Just to check, this is what I had in mind:

# Reactor casings
recipes.remove(<BigReactors:BRReactorPart>);
recipes.addShaped(<BigReactors:BRReactorPart> * 4, [[<TConstruct:materials:16>, <BigReactors:BRIngot:2>, <TConstruct:materials:16>], [<BigReactors:BRIngot:2>, <minecraft:redstone>, <BigReactors:BRIngot:2>], [<TConstruct:materials:16>, <BigReactors:BRIngot:2>, <TConstruct:materials:16>]]);

If that doesn't work, I'm afraid I'm out of ideas, and I'm really sorry I couldn't help. I've checked through your syntax and can't see anything wrong, no missing brackets or other punctuation as far as I can see.
Ohh thank you very much!
Now it works perfectly.
I moved only one angled bracket ;)
 
  • Like
Reactions: GamerwithnoGame