Hi i want to create a trigger for item . I want that the objects go up in level . I want when a player have an item 1 and he buy another item 1 , set level of item 1 to 2
111 posts Somewhere In The Hells Of The Discworld joined
#3
do you mean like I buy a healing potion on my pitlord, i then buy another healing potion on my pitlord again, i then have 2 healing potions instead of two seperate potions?
ok there is a very simple recipe trigger someone wrote!
it is on this site! just do a search and you will find it..
but if you have a sword(lvl 1) and you buy another sword(lvl 1) you have a better sword(lvl 2). buy another sword(lvl 1) and then you have a greater sword(lvl 3)
the trigger uses variables over slots which is better cause then the items can be in any slot! or if you want to restrict it to an item slot then you can!
exemple: i buy a sword , and later i return at the shop and i buy another sword (the two swords are the same one) . At this time , the two sword disappear from my inventory and changes into a sword (lvl 2)
this would be almost the same as the stacking system. just replace the set charges = chargesofitem1 + chargesofitem2 to remove item1 and item2 and create upgradeditem