Need Modtweaker help. (BM altar recipie adding) {solved}

  • 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

Qazplm601

Lord of the Tumbleweeds
Sep 21, 2013
2,754
3,282
308
Where else?
i am having trouble adding a recipie using modtweaker to the BM altar. my setup is
vPziRP9.png

here is my script.
mods.bloodmagic.Altar.addRecipe(<TConstruct:heartCanister:1>, <TConstruct:heartCanister:3>, 2, 12000);

in the minetweaker log it says
INFO: Adding command minetweaker
INFO: Adding Blood Altar Recipe for :Miniature Red Heart
INFO: Hello world!
INFO: Removing 6 recipes(another script)
INFO: Adding minetweaker command loot
INFO: Adding minetweaker command seeds
INFO: Adding minetweaker command gases
INFO: Adding minetweaker command materials
 
C'mon, I wasn't even summoned? :p

You have the script correct, except for one thing. From the image, you are attempting to infuse this in a Tier 2 altar. Now, due to how BM's code works, the altars are different in the code than in the game
So Tier One in game is actually called 0 in the code. Tier Two is 1, and Tier 3 is 2. So, it thinks you are attempting to have it infuse in a Tier 3 altar, not Tier 2. imho, it should be changed to be more accurate to the game.

So, you should change your code to read:
mods.bloodmagic.Altar.addRecipe(<TConstruct:heartCanister:1>, <TConstruct:heartCanister:3>, 1, 12000);
 
C'mon, I wasn't even summoned? :p

You have the script correct, except for one thing. From the image, you are attempting to infuse this in a Tier 2 altar. Now, due to how BM's code works, the altars are different in the code than in the game
So Tier One in game is actually called 0 in the code. Tier Two is 1, and Tier 3 is 2. So, it thinks you are attempting to have it infuse in a Tier 3 altar, not Tier 2. imho, it should be changed to be more accurate to the game.

Honestly, the code version makes more sense to me. :p
 
  • Like
Reactions: buggirlexpres
C'mon, I wasn't even summoned? :p

You have the script correct, except for one thing. From the image, you are attempting to infuse this in a Tier 2 altar. Now, due to how BM's code works, the altars are different in the code than in the game
So Tier One in game is actually called 0 in the code. Tier Two is 1, and Tier 3 is 2. So, it thinks you are attempting to have it infuse in a Tier 3 altar, not Tier 2. imho, it should be changed to be more accurate to the game.

So, you should change your code to read:
mods.bloodmagic.Altar.addRecipe(<TConstruct:heartCanister:1>, <TConstruct:heartCanister:3>, 1, 12000);
thanks. also, sorry bout forgetting to summoun you, here you go. @Gideonseymour :P[DOUBLEPOST=1405916621][/DOUBLEPOST]GAH! it still isn't working, even with this code.

mods.bloodmagic.Altar.addRecipe(<TConstruct:heartCanister:1>, <TConstruct:heartCanister:3>, 0, 2000);
 
Sorry. Some people spammed me with about 200 likes overnight, so I missed it. Try this:
mods.bloodmagic.altar.addRecipe(<TConstruct:heartCanister:1>, <TConstruct:heartCanister:3>, 0, 2000);

I uncapitalized the A in altar, to match the scripts I have in Running Red.


Sent from my Genetic Lifeform and Disk Operating System using Tapatalk
 
thanks, ill test it now. you can turn off like alerts BTW. (did you like my summoning ritual?)[DOUBLEPOST=1405986888][/DOUBLEPOST]oh wait, you already did :P
 
  • Like
Reactions: buggirlexpres
Hrm... I'll load the mods up and try it out again when I get home. Hold yer horses, m8


Sent from my Genetic Lifeform and Disk Operating System using Tapatalk
 
Wha
ha
ha


Fixed
Code:
mods.bloodmagic.Altar.addRecipe( <TConstruct:heartCanister:3>, <TConstruct:heartCanister:1>, 0, 2000);
[DOUBLEPOST=1406397274][/DOUBLEPOST]Or, as you actually wanted:
Code:
mods.bloodmagic.Altar.addRecipe( <TConstruct:heartCanister:3>, <TConstruct:heartCanister:1>, 1, 12000);
Tier 2 altar, 1200LP, red heart -> yellow heart

PS: First time i touched BM and Minetweaker 3 :p
 
  • Like
Reactions: Qazplm601
Wha
ha
ha


Fixed
Code:
mods.bloodmagic.Altar.addRecipe( <TConstruct:heartCanister:3>, <TConstruct:heartCanister:1>, 0, 2000);
[DOUBLEPOST=1406397274][/DOUBLEPOST]Or, as you actually wanted:
Code:
mods.bloodmagic.Altar.addRecipe( <TConstruct:heartCanister:3>, <TConstruct:heartCanister:1>, 1, 12000);
Tier 2 altar, 1200LP, red heart -> yellow heart

PS: First time i touched BM and Minetweaker 3 :p
testing it....