Logarithmic
Harvard Student
Hello, I'm not sure if the script organization of how I want this to work is possible. But I'm not sure, so here it goes;
I want a script, that when you put an item on an alter, & pull a lever it will 'upgrade' the item if you have the required money. But I want this action script to work for multiple items, so this is how I wanted it. Also to send a magic effect to the alter if the upgrade was a success & send "CONST_ME_MAGIC_BLUE", if you don't have the money send "CONST_ME_POFF" Something like;
Here's an illustration of how it works;
Thanks for any help ^^
also, my distro is TFS0.3.6pl1
I want a script, that when you put an item on an alter, & pull a lever it will 'upgrade' the item if you have the required money. But I want this action script to work for multiple items, so this is how I wanted it. Also to send a magic effect to the alter if the upgrade was a success & send "CONST_ME_MAGIC_BLUE", if you don't have the money send "CONST_ME_POFF" Something like;
Code:
local upgradeItems = {
[1] = {oldItemID, newItemID, upgradeCost},
[2] = {oldItemID, newItemID, upgradeCost}
}
Here's an illustration of how it works;
Thanks for any help ^^
also, my distro is TFS0.3.6pl1
Last edited: