HappyKiller1O1 Posted December 25, 2015 Share Posted December 25, 2015 My question is rather simple, I would like to add an additional slot the the vanilla player inventory. I looked through a tutorial on creating your own inventory, and am thinking about using a Tick handler to replace the vanilla inventory with my own when opened. Is there a more efficient way of doing this? Or, is what I have planned the best one? Quote I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat. Link to comment Share on other sites More sharing options...
coolAlias Posted December 25, 2015 Share Posted December 25, 2015 There is the Gui Open event or some such thing that would be much more effective than a tick handler, just keep in mind that there are plenty of mods that are doing that exact same thing... Personally, I would suggest having an 'alternate' inventory menu the player can open to access their additional slots, but if you don't anticipate your mod being played alongside any others that try to replace the player inventory, then go for it. Another alternative is to look into adding a button / tab to the player inventory screen to access your special slots; mods like Battlegear2 and several others take this route, though I haven't looked into how it's done. Quote http://i.imgur.com/NdrFdld.png[/img] Link to comment Share on other sites More sharing options...
HappyKiller1O1 Posted December 25, 2015 Author Share Posted December 25, 2015 I was actually thinking that over, and am going to add a simple button that will display the extra slot when needed. I would add an entirely separate menu, but I am only adding one slot, so I feel it's a waste of time. Thank you though Alias, you are a great help to this community, and I believe you aren't appreciated enough. Quote I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat. Link to comment Share on other sites More sharing options...
coolAlias Posted December 25, 2015 Share Posted December 25, 2015 Aw, thanks. Quote http://i.imgur.com/NdrFdld.png[/img] Link to comment Share on other sites More sharing options...
HappyKiller1O1 Posted December 26, 2015 Author Share Posted December 26, 2015 No problem! Merry Christmas to you, and have a Happy New Year! Quote I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.