• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Potion stacking in 8.54

Hultin

Member
Joined
Dec 2, 2008
Messages
262
Reaction score
17
Hi.

I'm looking to create a stacking potion system for my crying damson 0.3.6 pl-1, that would work like tibia 8.6 on live servers.

I wonder now, how would I go about doing that?
 
1. Open your Tibia.dat, search potion -> press attributes, check -> stackable
2. Open your items editor, load items.otb -> click : Reload items attributes, than save your new items.otb to your ots directory
3. Open your potions script than, search -> doRemoveItem, and if you got something like this: doRemoveItem(cid, 8384) add ,1 after that: doRemove(cid, 8384, 1)
 
It can also be done useing globalstoragevalues linked to the potions uniqueid although you wouldn't have a number in the icon stating the stacks nor would you have increased weight (although can be scripted)
 
Back
Top