• 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!

How remove vials when use potions from the ground (tfs 0.3.6)

Brauns

New Member
Joined
Mar 10, 2022
Messages
3
Reaction score
1
Location
São Paulo - Brazil
I saw some people with this doubt and decided to show how I solved it in my OT.


Its simple to do that, just remove the key "empty" in potions.xml:
Code:
local POTIONS = {
    [8704] = {empty = 7636, splash = 42, health = {50, 100}}, -- small health potion
    [7618] = {empty = 7636, splash = 42, health = {100, 200}}, -- health potion
    [7588] = {empty = 7634, splash = 42, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion
    [7591] = {empty = 7635, splash = 42, health = {450, 650}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion
    [8473] = {empty = 7635, splash = 42, health = {700, 850}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion

    [7620] = {empty = 7636, splash = 47, mana = {70, 130}}, -- mana potion
    [7589] = {empty = 7634, splash = 47, mana = {135, 250}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion
    [7590] = {empty = 7635, splash = 47, mana = {300, 500}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion

    [8472] = {empty = 7635, splash = 43, health = {250, 500}, mana = {130, 250}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion
}

(remove all "empty = ****")

It's a very simple way, but it worked perfectly for me, and I hope it works for you too.
 
Last edited by a moderator:
Back
Top