Junior Member
Join Date: Nov 2008
Posts: 1
|
Hi,
I am trying to figure something out that I am sure was possbile under v2. I have a unit that costs 100 points. The unit can take between 1 and 3 of a particular item. The first item is factored into the unit cost (and effectively costs 0) but each additional one costs +10 points. Now, I could set the cost of the item at 10ea and the cost of the unit at 90 (to account for the 'free' item) but I am not a huge fan of this. How could I set it up so that the costs display to the user correctly? ie, item x 1 = 0 pts, item x 2 = 10 pts & item x 3 = 20 pts Cheers, Chris. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
In the item, click on the postlink button in the top right. Now, we'll enter a script there that will modify the cost of the item(s) as a whole by -10.
Code:
@single = maximum(@single-10,0) If the range is 1-3, rather than 0-3, then you can leave the maximum portion out. I apologize if I missed anything in the script, I'm working from memory. |
#2 |
|
|