• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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
    4
    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.
     
    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
     
    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