Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Potions not stacking
Author Message
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #1
Potions not stacking
When I bounce potions into my bag that are exactly the same, sometimes they do not stack together. With my crafting system, when gm, the potions names change to "Poison Potion crafted by Player". I don't know if that has anything to do with the stacking issue.

Every detail of the potions are the same so I have no idea why they aren't stacking correctly.

Any help would be greatly appreciated.
09-09-2017 06:47 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #2
RE: Potions not stacking
Probably because they have different "strength"

Code:
t_potion
This type is used for potions. It leverages the following properties:
MORE1 = The potion spell effect that will result when the potion is double clicked
MORE2 = The strength of the potion (This has a different effect defending on the spell, usually between 0 and 1000)
MOREX = The countdown to explosion (for purple potions)
TDATA1 = A flag that indicates whether the container is empty or not
09-10-2017 12:08 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Potions not stacking
Yes they need to have the same data, also same tags or maybe no tags at all?
09-10-2017 01:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)