tModLoader Extensible Inventory - Limitless, paginated inventory

Discussion in 'Released' started by hamstar, Aug 20, 2018.

  1. hamstar

    hamstar Steampunker



    Note: Requires Mod Helpers

    [​IMG]

    Implements an extensible, paginated inventory for players, able to be scaled endlessly.

    Note: In its base form, this is a "cheat" mod, and it will always be. Limiting is meant to be implemented by the API as a component for game modes, player abilities, special circumstances, or custom items (e.g. a backpack accessory). Ask if you need coding help with this, or to request new API functions.


    Source available here. API also available.

    Available config fields are defined here. Config file: Documents/My Games/Terraria/ModLoader/Configs/Extensible Inventory Config.json

    [​IMG]


     
    Last edited: Sep 20, 2018 at 6:06 PM
  2. hamstar

    hamstar Steampunker

     

    Attached Files:

    Last edited: Sep 20, 2018 at 6:06 PM
    MeowZedong94 likes this.
  3. MeowZedong94

    MeowZedong94 Steampunker

    Damn, I was hoping to beat someone to the punch with a kinda backpack thing, well.. back to the drawing board
     
  4. hamstar

    hamstar Steampunker

    Well, if you want an API to bind this to an item, I can provide that, and you'll still get your wish. I'm basically doing this with my On A Rail mod's release version.
     
  5. MeowZedong94

    MeowZedong94 Steampunker

    You'd do that? I would like this thank you.
     
  6. Mechanos

    Mechanos Terrarian

    Dunno what you have in mind, but I'd love to see some kinda backpack mod. There's currently 2 mods that I know of that kinda fit that theme.. Portable Storage and Bags of Holding. Portable Storage has some bugs (just earlier one of my bags deleted all it's contents), and Bags of Holding requires you to use up accessory slots if you want to auto pickup items into the bags. It also requires you to right click with the bag in the hotbar to access it's inventory. They also have pretty much infinite storage by extending stack size of item types. So I'd personally love to see a decent backpack mod that simply gives you more inventory space, but not infinite space as to keep things balanced, and without the hassle of having to give up accessories or use the hotbar. If that's what you had in mind anyway.
     
  7. Sapharan

    Sapharan Plantera

    It's amazing idea, i love it. Thou a little overpowered? How about another version of the mod where you have to craft an upgrade and use it to add page to inventory? Those upgrades would be harder to craft each time you apply a new upgrade, so it could be limited to for example 10 upgrades or so?
     
  8. LunarRequiem

    LunarRequiem Terrarian

    Only complaint I have is that only the active/selected page is used rather than the inventory as a whole.
    Otherwise great mod.
     
    overzero543 likes this.
  9. ThatOneScout

    ThatOneScout Terrarian

    Seems that the bottom row of the inventory will overlap the top row of a chest's inventory, however that might be one of my other mods (Would have no idea which because none directly change the inventory to add extra rows to it as far as I am aware), also would be good if the mod could use all of the inventory instead of just the selected page. (Kalciphoz's RPG mod gives you 3 inventory pages and even a whole new inventory altogether and it can craft with items from any of the 3 pages regardless of which is selected, but chests don't like the extra pages that much and won't quick stack from all of them at once, etc.)

    Edit: The mod using all the pages instead of just the selected one is almost necessary at least to a certain point, picking up items won't stack them with the same item in a different page which makes working with this mod extremely difficult. Trying to switch pages with a consumable item will also use the item at the same time it switches the page.
     
    overzero543, LunarRequiem and hamstar like this.
  10. IDGCaptainRussia

    IDGCaptainRussia Terrarian

    I agree with this, maybe it could be like the Demon heart/(celestial onion from calamity), where when you beat wall of flesh/moon lord, you get a cosumable which permentally adds an extra page (2nd page after the wall, 3rd after moonlord)

    I like this idea alot, but I'm not going to download it unless there's some kind of balance thrown in. I'm 99% sure your going to do this and this as of right now is just an API/proof of concert
     
    hamstar likes this.
  11. ThatOneScout

    ThatOneScout Terrarian

    I would prefer the current "Just add or remove however many pages you want" thing, because:
    1. This would be better for those who have lots of mods that add lots of items, this could be good for people to find their own appropriate amount of pages depending on however many items they end up typically carrying with them from all of these mods, making it perfect for people to find just the right amount of inventory space for the amount of mods they use
    2. Would be good to just let this be a cheat-y type mod like cheat sheet, for people who are in the game just for fun and not the inventory management (Or for those who just don't find it fun.)
    3. This is the only mod I know of that just lets you choose how much inventory space you have, removing that part and forcing people to use items to increase it (And limiting the amount of pages you can get anyway) would completely leave out anybody else who want's a mod like this (including myself).
     
  12. IDGCaptainRussia

    IDGCaptainRussia Terrarian

    Knowing Hamstar, we'll very likely get a config file where we can choose the way we want to play the mod.

    For the record there 'is' another mod that adds more pages, but it's limited to 3 and it's tied into a complete RPG revamp which, has corruption issues.
     
  13. hamstar

    hamstar Steampunker

    There's already config options for the mod, but the next version will have more, for sure.

    It's the API, however, where the real options become available. It will be up to modders to make use of that, though. On A Rail will use it, also.
     
  14. ✪Akaashidon

    ✪Akaashidon Terrarian

    Im getting this popup everytime i change equipment tab. How do i fix it?
    @edit damn i didnt know all these screenshots got uploaded
     

    Attached Files:

  15. hamstar

    hamstar Steampunker

    What is your Logs.txt saying, as per the message?
     
  16. ThatOneScout

    ThatOneScout Terrarian

    Kalciphoz's RPG mod, fun mod but I found another RPG mod that I like more which is why I want to use this for the extra inventory
    We still need it so that the game can use all pages instead of whichever one is currently selected and it still needs to be made so that changing inventory pages with an item doesn't use the item.
     
  17. overzero543

    overzero543 Terrarian

    Hello! Amazing mod, I have been looking for something like this since forever! Thank you so much for making this mod!
    If it's possible could you please add these features?
    1) When clicking on the arrows(<,>) or the + sign my character uses the currently selected item in the hotbar, In general it's not a problem for me but you might want to look into it.
    2) Please add the ability to name the pages, The name would appear under the keys (<,>,+). For example dedicating a whole page for weapons only and naming it Weapons, etc.

    edit: 3)
    This too please ^

    But in general thank you alot for making this mod, its great!
     
    Last edited: Aug 26, 2018
    hamstar likes this.
  18. ThatOneScout

    ThatOneScout Terrarian

    This
     
    overzero543 likes this.
  19. hamstar

    hamstar Steampunker

    Last edited: Sep 1, 2018
  20. Stereox

    Stereox Plantera

    Great work as always :)
     
    hamstar likes this.