Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Crysyn

      Only help if you can be helpful

      Hey All, A topic has come up of late in the IRC channel in regards to the general feel of the forums and the community that supports them. Things have progressed further than I would have liked with out this being addressed more publicly because I would much rather have snubbed this out sooner rather than later.. but I have been busy. Here is the general rule I would like people to follow: Wheaton's Law "Don't be a dick." Those of you from the IRC channel know that this is the only rule I ask people in there to follow and we generally have a good and lively time chatting about all manner of things. This is basic rule that just about everyone understands and I am going to expand it to the forums from here moving forward. If you can not help people in a helpful and polite manner then I simply ask you to stop. Now I generally take a back seat to moderating the forums as I like to participate in the suggestions forum fairly heavily at times and would rather do so as a forums user than a moderator. But I am also fairly well known for being the person who constantly puts their foot down and so I am stepping up and doing so on here. If you find yourself unable to respond to a message politely then I ask that you do not respond. This mostly focuses on the increasing level of hostility found within the Suggestion forum as well as the Server forum. I do not care if this is the 30th some odd time you have seen someone make the same suggestion. Or even if the new post on an older topic is one entry above the old one. I expect the members of this forum to respond politely to the user, new or old, and point to the older topic if it applies and even go the extra step to suggest they either add in new information or to summarize the outcome of the previous discussion based upon the new post's entry into it. That is what we are here for, that is why I close most topics instead of deleting them, so that they can be found and referenced down the road. The next topic is the slew of derailment attempts I have seen as of late. If you want to have fun and joke around that is what the off topic forum is for and pretty much anything goes there. I do not expect to read a suggestion thread and have to go through 3 pages of image memes people have shot back and forth. Quite simply this is a waste of my time to read and then have to clean up. Now for the summary. I am going to start taking a more active role, especially in policing the suggestion forum, and handing out warn levels to people whom I see doing this. These will be indiscriminate and applied not to just the first person who derails or is impolite on a topic or response, but to everyone whom follows the lead of that person. As I do not like doing things with out giving you all warning this post shall serve as that warning. If you have a desire to bring this topic up with me then I invite you to do so on the IRC channel. Lets raise the level of quality and grow the community. Let us not descend into the quality often found on the minecraft or league of legend forums. There is simply no need for that here. Be passionate about things, just do not be abusive.
    • Kittychanley

      Offline Servers

      Recently I've seen a few server listings showing up on the first page of the Servers forum that have been closed for an extended period of time, but have recently gotten a reply from a new member who didn't realize the server is offline. To help prevent this from happening in the future, it would be greatly appreciated if you could use the report function on the original post of any servers that have been confirmed as offline, so that the topic may be locked. If you are the admin of a server and plan on taking the server offline, please use the report function on the original post of your topic to let the TFC Staff know that the topic should be locked. If you are the admin of a server that has a locked topic, and would wish to bring the server back online, please use the report function on the original post of the topic to let the TFC Staff know that the topic should be unlocked. As always, please remember to follow rule #3 of the servers forum and update your topic title to contain the version of TFC that the server is currently running. You can do so by editing the OP, and then clicking on "Use Full Editor."
ciekma

minetweaker MT Scripts for potions in TFC

24 posts in this topic

Thanks to the recent TFC update  and JaWolfe mod for Minetweaker compatibility for TFC I can present Minecraft scripts for crafting potions in TerraFirmaCraft.

Instead of brewing stand (which is not craftable due to lack of blaze rod, even if craftable, there is no components for brewing and due to lack of API, there is no minetweaker support for brewing recipes), with use of Minetweaker scripts, you can make potions from berries and beverages (positive effect potions) and mushrooms, spider eyes, rotten flesh macerated in vinegar (negative effect potions).  Splash potions can be created by melting bottleneck in firepit.

Only first tier of potions can be created this way (the one exception are healing/regenering potions). Extended/improved potions can be created with use of brewing stand, if Blazes are spawned by means of any external mod. They are too powerful to be created only from TFC items.

Glowstone can be grinded from pitchblende, fermented spider eye by sealing spider eye in vessel/barrel with water, awkward potion by sealing full stack of brown mushrooms in vinegar.

 

Prerequisites:

TFC 0.79.29 (previous versions have very weak negative potions)

MineTweaker 3.0.10B for Minecraft 1.7.10

[TFC 0.79.28] TFC Tweaker - Minetweaker compatibility for TFC

Now you can create potions.zs into .minecraft/scripts directory:

 

Spoiler

//content of potions.zs file

val awkward_potion 	= <minecraft:potion:16>;
val potion_slowness 	= <minecraft:potion:8202>;
val splash_potion_slowness 	= <minecraft:potion:16394>;
val potion_posion 	= <minecraft:potion:8196>;
val splash_potion_posion 	= <minecraft:potion:16388>;
val potion_weakness 	= <minecraft:potion:8200>;
val splash_potion_weakness 	= <minecraft:potion:16392>;
val potion_harming 	= <minecraft:potion:8204>;
val splash_potion_harming 	= <minecraft:potion:16396>;
val potion_regenering 	= <minecraft:potion:8193>;
val potion_regenering_2 = <minecraft:potion:8225>;
val potion_regenering_extended = <minecraft:potion:8257>;
val splash_potion_regenering 	= <minecraft:potion:16385>;
val potion_fireprotect 	= <minecraft:potion:8195>;
val splash_potion_fireprotect 	= <minecraft:potion:16387>;
val potion_healing 	= <minecraft:potion:8197>; 
val potion_healing_2 	= <minecraft:potion:8229>;
val splash_potion_healing 	= <minecraft:potion:16389>;
val potion_swiftness 	= <minecraft:potion:8194>;
val splash_potion_swiftness 	= <minecraft:potion:16386>;
val potion_nightvision 	= <minecraft:potion:8198>;
val splash_potion_nightvision 	= <minecraft:potion:16390>;
val potion_strength 	= <minecraft:potion:8201>;
val splash_potion_strength 	= <minecraft:potion:16393>;
val potion_waterbreath 	= <minecraft:potion:8205>;
val splash_potion_waterbreath 	= <minecraft:potion:16397>;
val potion_invisible 	= <minecraft:potion:8206>;
val splash_potion_invisible 	= <minecraft:potion:16398>;

val poppy = <terrafirmacraft:Flowers2>;
val allium = <terrafirmacraft:Flowers2:2>;
val calendula = <terrafirmacraft:Flowers:5>;

//heat up to melt bottleneck and achieve splashable potion
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_slowness, potion_slowness, 400, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_posion, potion_posion, 400, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_weakness, potion_weakness, 400, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_harming, potion_harming, 400, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_regenering, potion_regenering, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_fireprotect, potion_fireprotect, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_healing, potion_healing, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_swiftness, potion_swiftness, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_nightvision, potion_nightvision, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_strength, potion_strength, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_waterbreath, potion_waterbreath, 200, 1);
mods.Terrafirmacraft.ItemHeat.addRecipe(splash_potion_invisible, potion_invisible, 200, 1);

//fermented spider eye
mods.Terrafirmacraft.Barrel.addItemFluidConversion(<minecraft:fermented_spider_eye>, <liquid:freshwater> * 1000, <minecraft:spider_eye>, <liquid:freshwater> * 2000, 0, true, 48, true);

//base potion (neutral)
mods.Terrafirmacraft.Barrel.addItemConversion(awkward_potion, <terrafirmacraft:Fungi:0> * 32, <liquid:vinegar> * 1000, 0, true, 48, false);

//negative effects
mods.Terrafirmacraft.Barrel.addItemConversion(potion_slowness, <minecraft:rotten_flesh> * 64, <liquid:vinegar> * 1000, 0, true, 24, true);
mods.Terrafirmacraft.Barrel.addItemConversion(potion_weakness, <terrafirmacraft:Fungi:1> * 32, <liquid:vinegar> * 1000, 0, true, 24, false);
recipes.addShapeless(potion_posion, [awkward_potion, poppy, <terrafirmacraft:Fungi:1>, <minecraft:glowstone_dust>]);
recipes.addShapeless(potion_harming * 2, [awkward_potion, <minecraft:fermented_spider_eye>, potion_weakness, <minecraft:redstone>]);

//healing potions
recipes.addShapeless(potion_regenering * 3, [<terrafirmacraft:item.Rye Whiskey>, <terrafirmacraft:item.Rye Whiskey>, <terrafirmacraft:item.Wintergreen Berry>.onlyWithTag({foodWeight: 160.0 as float}), <terrafirmacraft:item.Rye Whiskey>]);
recipes.addShapeless(potion_healing * 3, [<terrafirmacraft:item.Rum>, <terrafirmacraft:item.Rum>, <terrafirmacraft:item.Bunchberry>.onlyWithTag({foodWeight: 160.0 as float}), <terrafirmacraft:item.Rum>]);

recipes.addShapeless(potion_regenering_2, [potion_regenering, allium,  <minecraft:glowstone_dust>]);
recipes.addShapeless(potion_regenering_extended, [potion_regenering, <terrafirmacraft:item.Garlic>.onlyWithTag({foodWeight: 160.0 as float}),  <minecraft:redstone>]);
recipes.addShapeless(potion_healing_2, [potion_healing, calendula, <minecraft:glowstone_dust>]);

//protection potions
mods.Terrafirmacraft.Barrel.addItemConversion(potion_fireprotect, <terrafirmacraft:item.Snowberry>.withTag({foodWeight: 160.0 as float}), <liquid:oliveoil> * 250, 0, true, 24, false);

//powerup potions
recipes.addShapeless(potion_swiftness, [<terrafirmacraft:item.Sake>, <terrafirmacraft:item.Cloudberry>.onlyWithTag({foodWeight: 160.0 as float}), <terrafirmacraft:item.Powder:6>, <minecraft:redstone>]);

recipes.addShapeless(potion_nightvision, [<terrafirmacraft:item.Sake>, <terrafirmacraft:item.Blueberry>.onlyWithTag({foodWeight: 160.0 as float}), <terrafirmacraft:item.Powder:6>, <minecraft:spider_eye>]);

recipes.addShapeless(potion_strength, [<terrafirmacraft:item.Vodka>, <terrafirmacraft:item.Cranberry>.onlyWithTag({foodWeight: 160.0 as float}), <minecraft:redstone>, <terrafirmacraft:item.Sugar>.withTag({foodWeight: 160.0 as float})]);

recipes.addShapeless(potion_waterbreath, [<terrafirmacraft:item.Sake>, <terrafirmacraft:item.Elderberry>.withTag({foodWeight: 160.0 as float}), <terrafirmacraft:item.Powder:6>, <minecraft:glowstone_dust>]);

recipes.addShapeless(potion_invisible, [<terrafirmacraft:item.Sake>, <terrafirmacraft:item.Blackberry>.onlyWithTag({foodWeight: 160.0 as float}), <minecraft:ender_eye>, <minecraft:glowstone_dust>]);


mods.Terrafirmacraft.Quern.addRecipe(<minecraft:glowstone_dust>, <terrafirmacraft:item.Ore:26>); //from pitchblende

 

 

I managed to use items, which are hard to achieve (full stack of berries is required for crafting) or are not renewable (mushrooms) .

There are following potions groups:

positive effects - healing, needs Rye Whiskey and Wintergreen Berry, regeneration - needs Rum and Bunchberry, these are weak potions and therefore full stack of berries produce 3 potions; Tier 2 potions need additional ingredients.

positive effects - fire protection, after macerating full stack of Snowberries in Olive Oil;

positive effects: powerups - swiftness, night vision, strength and water breath - needs beverages, berries and additional more or less magical components like redstone or glowstone.

negative effects: weakness, slowness,  gained from macerating mushrooms or full stack rotten meat, respectively;

negative effects: , poison, harming,  crafted from awkward potion and other ingredients.

 

Important note - aggressive mobs, except bear, are immune on negative splash potions.

 

EDIT: feel free to use part or whole code in your modpack or other creations, it is public domain.

Edited by ciekma
update
1

Share this post


Link to post
Share on other sites
1 hour ago, ciekma said:

I managed to use items, which are hard to achieve (full stack of berries is required for crafting) or are not renewable (mushrooms) .

You do realize that mushrooms just use the vanilla spreading mechanic and are therefore renewable, right?

1

Share this post


Link to post
Share on other sites

This is all very amazing, would you mind if I used some of these scripts in TerraFirmaPunk 2.0?

0

Share this post


Link to post
Share on other sites
7 hours ago, OneWolfe said:

This is all very amazing, would you mind if I used some of these scripts in TerraFirmaPunk 2.0?

Of course, I don't care on licence stuff, everybody is free to use whole or parts of above scripts.

9 hours ago, Kittychanley said:

You do realize that mushrooms just use the vanilla spreading mechanic and are therefore renewable, right?

Honestly, I didn't knew about these mechanics, never paid attention to mushrooms, even in nether. And what about flowers? Did they respawn each spring (I observed them in winter, so maybe they spawn once). Poppy is good candidate for poison potion.

1

Share this post


Link to post
Share on other sites

In just vanilla TFC, flowers are non-renewable. Other mods might add in the ability to use bonemeal to get more though.

0

Share this post


Link to post
Share on other sites

I updated above script. The most powerful potions - poison and harming, were harder to achieve - first awkward neutral potion must be created by macerating brown mushrooms in vinegar, then it must be mixed with poppy flower, red mushroom and glowstone dust in case of poison, or weakness potion, fermented spider eye adn redstone, in case of harming potion.

I added also higher tiers of healing/regeneration potions, to balance their relatively weak impact. Alium, garlic or calendula, known from their medical uses, are needed for improved healing/regeneration potions.

1

Share this post


Link to post
Share on other sites

This is amazing! Will you add it in TerraFirmaProgressivePack ?

0

Share this post


Link to post
Share on other sites
33 minutes ago, Leo05 said:

This is amazing! Will you add it in TerraFirmaProgressivePack ?

Of course (together with rewrited glass works), initially it was supposed to be part of TFPP, but I decided to work on this part separately to have a clear view.

0

Share this post


Link to post
Share on other sites

I really like the ideas here for the potions, currently working on a conversion addon that uses a lot of potions and brewing, would you mind if I used some of your ideas and recipes?

1

Share this post


Link to post
Share on other sites
2 hours ago, Powerman913717 said:

I really like the ideas here for the potions, currently working on a conversion addon that uses a lot of potions and brewing, would you mind if I used some of your ideas and recipes?

Of course, as I answered to OneWolfe, everybody can use it.

I updated first post with permissions stuff.

1

Share this post


Link to post
Share on other sites

I'm very happy that you added uses for flowers, pitchblende,spider eye , rotten flesh and more uses for berries. And also the healing and regeneration potions are very useful. :D Thank you a lot for this great script!

0

Share this post


Link to post
Share on other sites

Do you realize that your using a highly flammable liquid as a base for your Fire Protection Potion?

0

Share this post


Link to post
Share on other sites

Well, assume that it is protection against burns from IR radiation, not fire itself.

0

Share this post


Link to post
Share on other sites

In my pack I have access to alot more liquids that normal TFC so I am reworking most of these recipes. Will send you a link shortly to see what you think.

 

EDIT: Here is the MT script I have come up with so far. Potions-TFC.zs

Edited by OneWolfe
0

Share this post


Link to post
Share on other sites

Interesting. Are you using Tabula Rasa for defining new fluids?

0

Share this post


Link to post
Share on other sites

Those are liquids from various mods in the TFP pack. However, he doesn't need Tabula Rasa when he has someone that can code in anything he might want. ;)

1

Share this post


Link to post
Share on other sites

hey bro can you help out . i downloaded your potion script and i cant seem to get the awkward potions created . i tried like how you said a full 32 stack in a barrel of vinegar and nothing happens . i tried a variation of how much mushrooms , what type , how much vinegar but no luck.

0

Share this post


Link to post
Share on other sites
1 hour ago, kravopiez said:

hey bro can you help out . i downloaded your potion script and i cant seem to get the awkward potions created . i tried like how you said a full 32 stack in a barrel of vinegar and nothing happens . i tried a variation of how much mushrooms , what type , how much vinegar but no luck.

It is working fine for me, full stack of mushrooms and at least 1 bucket of vinegar should give bottle of potion after 24 hours.

Are you using any modpack? Maybe something interfere?

0

Share this post


Link to post
Share on other sites

trying it with a few tfc addons only 

Cooking with tfc ( i suspect it maybe be the culprit since it adds mushrooms as run of the mill vegetables that you can eat) 

TFC additions

terrafirmastuff

terraMisc 

TFCCellars

TFC tweaks

hmm would it get fixed if in the script i replace the mushrooms with something else?

 

0

Share this post


Link to post
Share on other sites

Yes, it can be issue with TFCcooking, replace mushrooms with flowers or something safe.

0

Share this post


Link to post
Share on other sites

thx mate . it worked like a charm .  btw are the potions scaled up to TFC standarts?

0

Share this post


Link to post
Share on other sites
4 minutes ago, kravopiez said:

thx mate . it worked like a charm .  btw are the potions scaled up to TFC standarts?

Sorry about the barrels being picky, I need to fix that in the future. I do not recall anyone making a mod to bring potions up to TFC levels but I could have missed it.

0

Share this post


Link to post
Share on other sites

Nope. I think we've just done it in our respective tweak mods for packs.

0

Share this post


Link to post
Share on other sites
11 hours ago, kravopiez said:

thx mate . it worked like a charm .  btw are the potions scaled up to TFC standarts?

Harm potion are scaled, regeneration/health potions are not: http://terrafirmacraft.com/f/change_log.html/

Therefore one should consider better balance between them, harm potions should be more expensive/harder to obtain. In my TFPP modpack I actually changed it, harm potions need glowstone from pitchblende, which is rare mineral, whereas healing potions need only some berries, beverages and base potion.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now