When I think about it, it sounds like a simple process. But at the same time difficult because it'd be calling from two separate price files. Why not just use the pricing method inside ShopAssistant?
|
Ok so I have 2 shop currencies atm. Coins and tokkul. I basically want there to be a prices..txt for coins and a new file to handle tokkul. I kind of get the gist of how its loaded in ItemHandler but I cannot determine how to do it myself and for my tokkul value
Please help me
Base: PI
Screenshots: None
When I think about it, it sounds like a simple process. But at the same time difficult because it'd be calling from two separate price files. Why not just use the pricing method inside ShopAssistant?
this is not difficult at all
if pi was loading general and special store prices like every other server, and had proper support for different currencies he wouldn't have even needed to make this topic
my advice: rewrite your shops and item definitions, or if you wanna be dumb and take the easy way out then create a massive switch statement of all the items and their 'special' prices
Set different shop values in shophandler, one that requires tokkul under the values, and the rest would be coins by default.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |