[Mod] Alchemy [alchemy]

manawy
Member
 
Posts: 10
Joined: Sat May 28, 2016 20:14

[Mod] Alchemy [alchemy]

by manawy » Sat May 28, 2016 20:36

This mod provides the bare necessities to create an alchemy lab. A few items with interesting effects are defined. Alchemy is a complex and difficult art, you shouldn't try it if you are scared of getting injured ! (I said it was interesting)

The mode defines nodes which can transform reactants into products. Two such nodes are currently defined : the powder grinder and the potion mixer.

Powder grinder

The mortar grind the reactants into powders, These powders are used as reactants in the other machines.

The grinder is crafted following this recipe :
Code: Select all
{
    {steel ingot, steel ingot, steel ingot}
    {steel ingot, diamond    , steel ingot}
    {cobblestone, cobblestone, cobblestone}
}

Potion mixer

This machine mixes two powders into a solution. To be successful, an empty tube and a bucket of water must also be available. Alchemy is a complex and difficult art ! The process is not always successful. The potion mixer yields 2, 1 (most common) or 0 potion for each try. In rare cases, the reaction gets out of control and explodes ! The explosion damages the users near the machine. A secret catalyser can help avoid the explosion. But if the wrong catalyser is used, it will increase the damage !

The mixer is crafted following this recipe :
Code: Select all
{
    {copper ingot, glass      , copper ingot}
    {glass       , glass      , glass}
    {cobblestone , cobblestone, cobblestone}
}


Powders

The powders are secondary products used to make the potion. They are obtained by grinding other craftitems. The following recipes are accepted :


  • Blue geranium : blue powder
  • Rose : red powder
  • Grass : green powder
  • Red mushroom : firebrick powder

Potions

The potions are mixed in the potion mixer. The following recipes are accepted :

  • red + white powder : health potion (+10 hp)
  • blue + white powder : breath potion (restore breath)
  • firebrick + blue powder : poison (instant kill)

(note : red + white is not the same as white + red).

Items

Currently, the mod define only one ordinary craftitem : the smelly apple. It is crafted using a poison potion and an apple. Eating the smelly apple removes 10 hp.
For even more fun, the smelly apple looks like an ordinary apple :-) .

About

The code is under the license WFTPL. Patches and ideas are welcome.

I wanted to test lua as a scripting language. This is my first mod and my first script with lua. If you want to comment about the ugliness of the code, please do !

If you don't feel like having stuff exploding in your face, the damage process/item/functions are tagged with "lol" for a quick search in the code.... :-). Additional recipes can also be added quite easily (look at mixer.lua and grinder.lua)

The code can be browsed here : https://bitbucket.org/fabieng/alchemy_mod/overview

Todo

  • Transmutation device to transform coal into gold, and copper into diamond.
  • Better textures (They are ugly, contributions are welcome !)
  • more recipes

Have fun

Edit : grammar
Attachments
alchemy_2016_05_28.zip
(12.08 KiB) Downloaded 86 times
screenshot_20160528_140031.png
In action (I said it was ugly)
(259.54 KiB) Not downloaded yet
 

User avatar
TumeniNodes
Member
 
Posts: 2826
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: [Mod] Alchemy [alchemy]

by TumeniNodes » Sat May 28, 2016 21:34

Looks pretty cool. I was interested in alchemy as a teen... seems like this might be a fun mode with lots of options in the future which could be added
There are a few talented pixel artists around here who will probably be able to help you with textures, I know someone posted in the textures section they are willing to help people with graphics.

I'm sorry, it was in the mods section actually :D
https://forum.minetest.net/viewtopic.php?f=47&t=14740
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

User avatar
swordpaint12
Member
 
Posts: 191
Joined: Sat Aug 22, 2015 00:50
Location: Foobass, isle of Atlantis, castle of Bardvendelle
In-game: [swordpaint12][Belching_Balladeer]

Re: [Mod] Alchemy [alchemy]

by swordpaint12 » Sat May 28, 2016 22:51

+1 looks cool.
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.

I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
 

User avatar
Nathan.S
Member
 
Posts: 913
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Alchemy [alchemy]

by Nathan.S » Sun May 29, 2016 14:47

This looks really interesting, I'll have to try it out.
Any chance you might put it on Github?
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

manawy
Member
 
Posts: 10
Joined: Sat May 28, 2016 20:14

Re: [Mod] Alchemy [alchemy]

by manawy » Sun May 29, 2016 17:32

Glad you like the idea.

TumeniNodes wrote: There are a few talented pixel artists around here who will probably be able to help you with textures, I know someone posted in the textures section they are willing to help people with graphics.


Thanks for the information

Nathan.S wrote:Any chance you might put it on Github?


Not by me, it's already available on bitbucket as a git repo : https://bitbucket.org/fabieng/alchemy_mod/overview
 


Return to WIP Mods



Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 3 guests