• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] How can I increase PC_ItemStorage space? I realized a limit in a game with a high level of varied items.

107
Posts
3
Years
    • Seen Apr 27, 2023
    How can I increase PC_ItemStorage space? I realized a limit in a game with a high level of varied items.
     

    JulyArt

    New Developer
    70
    Posts
    3
    Years
    • Seen Dec 17, 2021
    Code:
    #===============================================================================
    # The PC item storage object, which actually contains all the items
    #===============================================================================
    class PCItemStorage
      attr_reader :items
    
      MAX_SIZE     = 999   # Number of different slots in storage
      MAX_PER_SLOT = 999   # Max. number of items per slot
    
    # etc etc etc
     
    107
    Posts
    3
    Years
    • Seen Apr 27, 2023
    Code:
    #===============================================================================
    # The PC item storage object, which actually contains all the items
    #===============================================================================
    class PCItemStorage
      attr_reader :items
    
      MAX_SIZE     = 999   # Number of different slots in storage
      MAX_PER_SLOT = 999   # Max. number of items per slot
    
    # etc etc etc

    Thaaaaaaaaanks !!!!!
     
    Back
    Top