• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Adding new potions to Alchemy system [TFS 1.2]

William Sezo

Rookie but passionate
Joined
May 6, 2016
Messages
38
Reaction score
6
Location
Brazil
Hello!

I'm using this amazing system by RazorBlade
https://otland.net/threads/tfs-1-1-advanced-alchemy-system-modalwindows.233844/

Here's the thing, I want to make this system also brew the regular potions of the game, besides the special effects ones used now.

So for that I customized a herbalism system to get herbs from plants on the map.

Right now I have this system gathering some ingredients like:

<item id="13213" name="herbal red powder">
<item id="13214" name="herbal yellow powder">
item id="13215" name="herbal blue powder">
<item id="13196" name="herbal green powder">
<item id="13198" name="herbal brown powder">
<item id="13197" name="herbal purple powder">

I wish to use them as ingredients to make the regular potions i.e.:

5 red powders to make a small healing potion
10 red powders to make a great healing potion
5 blue powders to make a small mana potion
and so on.

Could some lifesaving lua coder assist me with this, just point me in the right direction, I don't even know where to begin.

Thanks in advance.
 
Back
Top