PH - Warehouse/Storage

● ARCHIVED · READ-ONLY
Started by PrimeHover 140 posts Page 3 of 7 View original ↗
  1. Hey Prime, trying to get the script working but when I open the help section I see a bunch of html code. Any way you can help is appreciated.

    EDIT: I figured it out, when you save the document from GitHub it saves the entire webpage as a .js document. I fixed it by copying the RAW text from github and overwriting the .js file with that.
  2. elwooha6 said:
    Hey Prime, trying to get the script working but when I open the help section I see a bunch of html code. Any way you can help is appreciated.


    EDIT: I figured it out, when you save the document from GitHub it saves the entire webpage as a .js document. I fixed it by copying the RAW text from github and overwriting the .js file with that.
    Yes, that's a way! :D
    The other one is to download the file as a .zip file. There is a button that allows you to download it in this way as well.


    It will include the documentation and the JS file. Then, you can just copy and paste the JS file inside the plugins folder.


    WUfMi3Q.png
  3. Okay, I'll just get zips from now on, thanks Prime!
  4. Hi, so, it turns out that if you have a full inventory (Using Yanfly's Item Core and having a set amount of independent items), you can still take items out of a warehouse and place them in your inventory, making it go over the set limit.

    Is there a way that this can be fixed for this plugin?

    EDIT:

    Nevermind, I was able to write in my own edit to create this check.
  5. Hi PH, first of all, amazing plugin! Thank you so much for your work.

    I have one question, as I can't figure out how to do this on my own. I want to add an item to a storehouse, but instead of a fixed number, I want to add a number of potions equal to a variables number.

    Is there a way to make that?

    Thanks in adavance ^^
  6. gambitben said:
    Hi PH, first of all, amazing plugin! Thank you so much for your work.

    I have one question, as I can't figure out how to do this on my own. I want to add an item to a storehouse, but instead of a fixed number, I want to add a number of potions equal to a variables number.

    Is there a way to make that?

    Thanks in adavance ^^
    Unfortunately, there is no way to do this yet =\

    I'll check if I can put this feature into the next version! Thanks
  7. Thank you for the reply :)

    Yes, I think it could be an amazing feature, thanks for this great plugin!
  8. Nice work! :3
  9. Love the plugin great work. Thanks again for the sharing your plugins.
  10. Hello, sorry if I have missed something, but may I ask how to use the following command?

    PHPlugins.PHWarehouse.hasItem("Title of the Warehouse", id)I assume that the command will output the amount of item of the specified id (e.g. 0001) within the named warehouse. However, I failed to find where did the output value go.

    Thank you for your help! :)
  11. Hi, awesome plugin. I love it <3

    It is possible to be compatible in future which Bobstah's Equipment Socketing & Upgrade System  plugin?

    I mean it showing the slots while storing items and showing the gems tab.
  12. Hey,


    Instead of saying "deposit", "withdraw", and "Available space", whenever I open my storage, it says "undefined". How can I fix this?


    Also, I am trying to make a fridge where I can only store food items. However, it doesn't work when the rule command (item: X) lists more than one item. So item: 1 works and allows storage of item no. 1, but item: 1, 18, 19, 20, 21, 22 does not work and I can't store any items at all.


    Thanks for the awesome plug-in!
  13. I cant' get this to work. I made all the steps correctly but the plugins seems to not work  :stare:


    I've created a new project, install the plugin, turn on in the plugin manager, created an event and do plugin commands to create and show the storage. Nothing happens. Someone can help me? Maybe i'm forgeting to do something?
  14. FiiKirk said:
    I cant' get this to work. I made all the steps correctly but the plugins seems to not work  :stare:


    I've created a new project, install the plugin, turn on in the plugin manager, created an event and do plugin commands to create and show the storage. Nothing happens. Someone can help me? Maybe i'm forgeting to do something?



    Like this?

    rEnAtQZ.png
  15. Exactly like this  :stare:

    forumrpgduvida.png
  16. So... Nothing I can do?
  17. Hi, Thanks for the plugin, it's really really helpful. 


    I just have an error, please help: 


    Script Call Reference:

    PHPlugins.PHWarehouse.hasItem("Title of the Warehouse", id)Verifies if a warehouse has a particular item and returns the quantity of this item inside the warehouse



    Actual Script Call Used:


    Even if it's already defined in the first 2 lines, I wanted to check if the "quantity" of "item ID 1" is greater than or equal to 1.


    rpgmv1.PNG


    Error Message:


    However, I get this Error Message about the warehouse called "Basket" is not defined, even if it's already defined in the first 2 lines (see above).


    rpgmv2.PNG


    Other Questions:


    1. Do we create a warehouse every time when we call a script? 


    2. Is it possible to store the value of this script PHPlugins.PHWarehouse.hasItem("Title of the Warehouse", id) into a variable? 
  18. @jamzkie143


    You have to put quotes around "Basket" because the way you have it now the script is expecting to use the value of a variable named "Basket"


    As for your second question, quite simply, yes. Just put "$gameVariables.setValue(variableID, PHPlugins.PHWarehouse.hasItem('Title of the Warehouse', id))" in a script call. Leave out the outside quotation marks in the actual script call. I'm on my phone so I couldn't put it in a code block.
  19. Thanks! :)  
  20. great plugin, works without issues for me.


    thank you.