Szyu's Crafting System

Discussion in 'JS Plugin Releases (RMMV)' started by Szyu, Nov 4, 2015.

    Tags:
  1. Szyu

    Szyu Villager Member

    Messages:
    29
    Likes Received:
    51
    First Language:
    German
    Szyu's CraftingSystem​
    plugin for RPG Maker MV​
    v1.0​
     
    Introduction
    A simple crafting system, to craft items, weapons and armors based on recipes and recipe books.
     
     
    Download
    Link to mediafire

     
     
    Screenshots

    [​IMG]
     
     
    [​IMG]

    How to Use
    For detailed explanations on how to use the plugin, check the plugin manager's help button for this script.

    Terms of Use
    You are free to use this script for commercial and non-commercial projects. However I'd like you to inform me of the projects you are planning to use it in, so I can keep track of where my scripts are used.
     
    Last edited by a moderator: Nov 28, 2015
    #1
  2. Kane Hart

    Kane Hart Elmlor.com Veteran

    Messages:
    656
    Likes Received:
    165
    Location:
    Barrie, Ontario, Canada
    First Language:
    English
    Nice job friend :)
     
    #2
    Richard John S likes this.
  3. Richard John S

    Richard John S Rpg Maker Music Pack Contributer Veteran

    Messages:
    148
    Likes Received:
    532
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Excellent work!
     
    #3
  4. Sol Rising

    Sol Rising Veteran Veteran

    Messages:
    162
    Likes Received:
    21
    First Language:
    English
    how does one go about bringing up the menu to craft these items? Can provide some pictures?
     
    #4
  5. Solis

    Solis Veteran Veteran

    Messages:
    364
    Likes Received:
    82
    First Language:
    English
    Think you have to create an event and then that event (page 3) has something called plugin in call; copy and paste the scene from the help file in the plugin. 

    1. copy this: CraftingSystem open 0

    2. Create an event. 

    3. On the third page of the event, under advanced, bottom right, go to plugin call and copy CraftingSystem open 0 into the file. 

    4. Save game: start it up and talk to the event with your character and the screen should pop up. 

    5. I think this is all the scene call for menu if you want to make it show up in the menu instead. 
     
    #5
  6. Szyu

    Szyu Villager Member

    Messages:
    29
    Likes Received:
    51
    First Language:
    German
    Yeah Solis is right... To open the crafting menu, you have to make a plugin call "CraftingSystem open 0"... If you have other crafting categories (default is blacksmithing and alchemy), you can access other categories by replacing the '0' with the index of the category (zero based).

    And thanks guys for the positive replies :)
     
    #6
  7. Skotty TV

    Skotty TV Veteran Veteran

    Messages:
    98
    Likes Received:
    147
    Location:
    Germany
    First Language:
    German, English
    Hi there!

    This looks pretty awesome but inside the top window for the Categories is only a "B" for Category 0

    and a "l" for Category 1.

    How do i fix that?
     
    #7
  8. Iliketea

    Iliketea Tea lover Veteran

    Messages:
    848
    Likes Received:
    913
    Location:
    Germany
    First Language:
    German
    Hi, this plugin is really cool but doesnt seem to work for me. 

    I added a new category called Cooking and tried to make a bread.

    I added the note with the recipe to the bread item

    [​IMG],

    made the 4 ingredients and a recipe book

    [​IMG] . 

    Then I made a event with the plugin call : CraftingSystem open Kochen

    And this happens: 

    [​IMG]

    Nothing.

    I also thought that you maybe need to add the recipe with an extra call or something,

    so I made a event that should add the recipe to the cooking book:

    CraftingSystem add_recipe 15: i10

    Buuuuuuuut..... nothing happend. again nothing I could craft.

    What did I wrong?

    Also, it would be nice if you could add an explanation to the help file, not just the script calls. Or a tutorial or something.

    But other then that, great work!
     
    #8
  9. sarugaki339

    sarugaki339 Villager Member

    Messages:
    28
    Likes Received:
    3
    First Language:
    English
    I'm having a similar issue. I kept the default categories for simplicity's sake, and I made a recipe book, gave that book to my character, then had an event that added a recipe to the book, and then open the craft menu. But it's blank with the exception of the category. But it isn't blacksmith, it's [

    Perhaps a more detailed tutorial would help. If I solved this issue, the plug in is smooth and easy to use. Thank you!
     
    Last edited by a moderator: Nov 5, 2015
    #9
    Iliketea likes this.
  10. sarugaki339

    sarugaki339 Villager Member

    Messages:
    28
    Likes Received:
    3
    First Language:
    English
    Okay I fixed one issue and found the problem you're having, iliketea, the issue is your recipe books category needs to be the corresponding number not the name. For example, my issue was the blacksmithing category was category #0 and in my recipe book, I wrote category: blacksmith. It needs to be category: 0 or whatever you made Kochen to be. However I'm still having another issue, where the recipe will now show up, but the category doesn't. The top window is still blank. For all intended purposes the script works but the top window is now blank.

    EDIT: I also can't figure out how to access the stats of the weapon in the craft menu.
     
    Last edited by a moderator: Nov 5, 2015
    #10
    Iliketea likes this.
  11. Iliketea

    Iliketea Tea lover Veteran

    Messages:
    848
    Likes Received:
    913
    Location:
    Germany
    First Language:
    German
    Yes that indeed solved some of the issues, thank you very much Sarugaki ^^ Now its the same as with you, the recipe shows up fine, but the name of the category doesnt. 

    In case anyone adds custom categories: the first category you add will be nr3, the next nr4 and so on.  
     
    #11
  12. sarugaki339

    sarugaki339 Villager Member

    Messages:
    28
    Likes Received:
    3
    First Language:
    English
    Glad I could help somewhat! Now if only we could figure out the missing category names, we'd be set!
     
    #12
  13. Szyu

    Szyu Villager Member

    Messages:
    29
    Likes Received:
    51
    First Language:
    German
    I had a simple bug when defining the categories within the plugin manager... Updated the download file in the link.


    Should now work as intended.


    For those who were wondering about custom categories:


    Per default there are 2 categories: Blacksmithing and Alchemy with Blacksmithing being category #0 and alchemy being #1.


    So if you add a new category (i.e. Cooking), this category will be #2.


    And as stated by sarugaki, you have to use the Plugin command with the id, not the name. Same goes for defining a recipe books category in database notes.
     
    #13
    Iliketea likes this.
  14. Iliketea

    Iliketea Tea lover Veteran

    Messages:
    848
    Likes Received:
    913
    Location:
    Germany
    First Language:
    German
    Now it works perfectly!!!! yay :D

    BTW, it would be great if you could use your recipt book to look up the recipts you have. 
     
    Last edited by a moderator: Nov 5, 2015
    #14
  15. sarugaki339

    sarugaki339 Villager Member

    Messages:
    28
    Likes Received:
    3
    First Language:
    English
    I just tried the updated plug in and I can also confirm it's working now, thanks for the update, Szyu!
     
    #15
  16. Jeffrey Torres

    Jeffrey Torres Villager Member

    Messages:
    7
    Likes Received:
    2
    First Language:
    English
    Hm... Every time I try to run it I get an error: "Cannot read property 'forEach' of null"

    I can get the crafting scene to appear when I don't have any recipes, but when I try after picking up a recipe book that's where it crashes.

    Notes for Recipe Book:

    <recipe_book>category: 0w: 2,3</recipe_book>Notes for crafted item:

    Code:
    <recipe>i: 33,10i: 34,10w: 2,1</recipe>
     
    #16
  17. ARKS  STUDIO

    ARKS STUDIO Villager Member

    Messages:
    24
    Likes Received:
    4
    First Language:
    english
    I can't get this working at all only thing I am able to get to work is the blank menu that pops up called blacksmithing.
     
    #17
  18. Bearsmith

    Bearsmith Villager Member

    Messages:
    22
    Likes Received:
    5
    First Language:
    English
    I can't get anything to work either. The recipe books I make are unusable.

    My recipe book is
     

    <recipe_book>category: 0a: 22</recipe_book>It has the scope "user" and it's marked as consumable.

    The craftable item is
     

    <recipe>i: 17, 5</recipe>Is there another step I need to do? I can't find anything else in the help. I'm also having this problem on a brand new project with no other plugins.

    EDIT: Figured it out. The recipe book needs to be a key item. :)  The help should mention that, because it isn't clear now.
     
    Last edited by a moderator: Nov 5, 2015
    #18
  19. Szyu

    Szyu Villager Member

    Messages:
    29
    Likes Received:
    51
    First Language:
    German
    @Bearsmith:


    Hmmm... it should have worked for normal items too, since I don't have any key items in my testproject.


    @Virun:


    It would be helpful if you could provide more info about what you have tried.


    @Jeffrey Torres:


    You stated the note for one crafting item... how about the other one? Or could be please open the console with F8 and verify where the error occurs?
     
    #19
  20. ARKS  STUDIO

    ARKS STUDIO Villager Member

    Messages:
    24
    Likes Received:
    4
    First Language:
    english
    I got the menu to come up I am trying to figure out how to make recipe book or how to add items to it.
     
    #20

Share This Page