*Resolved*How to use Yanfly's job points and more currency plugins to buy items with jp

● ARCHIVED · READ-ONLY
Started by Dranimaniac 5 posts View original ↗
  1. I figured it out and it was easy as using a common event and script commands to deduct my jp and simultaneously add my voucher item to my party. I also realized I do have to do it as a party ad not individually. Anyway, I've got it like I wanted, so thanks everyone for the help.


    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    Hi, I've been working on building the backbone of my game and I'm currently trying to develop custom currencies. I have all of Yanfly's plugins, including the job points and more currencies and so I thought it'd be nice to utilize jp as a currency that I could exchange to a voucher item and then use these vouchers to buy other items which may serve as additional currency options for general use in my game. I know jp can easily be used to learn skills with the associated plugin, but I want to use it as a currency or to make currency and I'm pretty sure the more currencies plugin should allow for this. The issue I have is that I don't know how how to manage these type of script commands and so although Yanfly's videos are quite clear on using notetags and such, I believe the problem lies with the fact that I don't know how to set the variable script command to convert the active actors jp into these vouchers. I've posted 2 pictures, one of the item page and one of the event page so you can see how I have the variables for the currency items set, but the variable that is meant to convert jp (qp in my game) to 1 voucher/jp has a question mark because I don't know what script command to use. I don't know if the way I'm trying to do this is wrong or if it really does come down to script commands, but either way I've been stuck on this for two days. So if anyone could help me with this I'd really appreciate it, thanks. I've posted my plugin page just in case too.


    event page.PNG


    item page.PNG


    plugin page.PNG
  2. Welcome to the forums! I seriously don't think this is urgent at all. Tried to post on the Yanfly official plugin thread at the respective forum? Good luck.
  3. I dont think you can use JP as a shop currency, since you can have multiple actors. What you can do is event it by


    - select which crystals to buy


    - select which actor's JP to use


    - check if selected actor had enough JP


    - reduce that actor's JP and give crystals


    OR


    - select which actor to buy crystals


    - select which crystals to buy


    - check if selected actor had enough JP


    - reduce that actor's JP and give crystals


    Also, be sure to check the orders of ALL of your plugins. This is very important in making sure they work with each other.


    p/s: I have to agree with Pine Towers, I dont see the actual urgency in this thread.


    - Riff
  4. Riff said:
    I dont think you can use JP as a shop currency, since you can have multiple actors. What you can do is event it by


    - select which crystals to buy


    - select which actor's JP to use


    - check if selected actor had enough JP


    - reduce that actor's JP and give crystals


    OR


    - select which actor to buy crystals


    - select which crystals to buy


    - check if selected actor had enough JP


    - reduce that actor's JP and give crystals


    Also, be sure to check the orders of ALL of your plugins. This is very important in making sure they work with each other.


    p/s: I have to agree with Pine Towers, I dont see the actual urgency in this thread.


    - Riff

    Thank you, I finally figured it out. I couldn't do it the way I was trying, but using your suggestion as well as finally figuring out the proper script command, I was able to convert my JP to the vouchers. Thanks alot!
  5. Pine Towers said:
    Welcome to the forums! I seriously don't think this is urgent at all. Tried to post on the Yanfly official plugin thread at the respective forum? Good luck.

    If I had known there was a more official thread I would have, but I figured out my question. I appreciate your welcome though, thanks.