[Mod] Creative Inventory [0.3] [creative_inventory]

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

[Mod] Creative Inventory [0.3] [creative_inventory]

by ashenk69 » Tue Jul 03, 2012 00:31

This mod is for anyone who wants to find the blocks from the mods that they have downloaded in one spot. The Creative Inventory mod adds a new chest to the game that acts as the inventory for every registered item in the game. This way creators can easily go in choose their blocks they want to build with and start building with them. The inventory is bigger on the chest so you can view a lot more blocks. To view the different pages of the chest you have to move an item inside the chest to one of the two empty spots in the middle. The one on the right is "next" and the one on the left is "previous". You can't make a mistake with going to far because I have put checks in for that type of thing. All items in the chest are sorted alphabetically so typically items that are specific to a mod are grouped with similar items, but that isn't always the case. The chest is only added into your inventory automatically if creative mode is turned on so normal mode is kept separate.

Requires latest build of Minetest

Image
Image

0.1: http://dl.dropbox.com/u/71911483/creative_inventory0.1.zip

0.2: http://dl.dropbox.com/u/71911483/creative_inventory0.2.zip
ChangeLog:
  • Now mod can be used on a multiplayer server
  • Fixed issue where some items were deleted when navigating the inventory

0.3: http://dl.dropbox.com/u/71911483/creative_inventory0.3.zip
ChangeLog:
  • Added persistence to values
  • Added mod-specific definition

Future Updates:
  • Create an easier system to navigate the inventory (halted until buttons implemented into inventory)
  • Add system in single player to show the player the recipe for a certain item but don't allow transfer of inventory
Last edited by ashenk69 on Sat Jul 14, 2012 20:40, edited 1 time in total.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Jul 03, 2012 00:43

I want this mod on EACH SERVER!!! And I WANT TO HAVE FULL CONTROL :P
Oh yeah, +10!
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Tue Jul 03, 2012 02:36

:):):):):):):):):):):):):):):):) Oh How I have Waited for such a wonder +∞
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46

by Stef » Tue Jul 03, 2012 05:50

wow man i have waited long for this!!!!
Thanks youre awsome

Edit: Can you make a next page button because i use around 50 mods en I can't see all the furnage of it. Maybe something like TooManyItems?
Last edited by Stef on Tue Jul 03, 2012 05:55, edited 1 time in total.
Sorry for my crappy english, im dutch :D
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Tue Jul 03, 2012 13:19

there aready is didnt you read? those two squares insert something there the page turns
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Jul 03, 2012 13:30

Nice!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
RandomBot
Member
 
Posts: 164
Joined: Sun May 20, 2012 03:46

by RandomBot » Tue Jul 03, 2012 13:58

btw that texture pack feels like im in a kids cartoon o.o
"Everyone has a plan, until they get punched in the face"
- Mike Tyson
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Tue Jul 03, 2012 13:58

Stef wrote:Edit: Can you make a next page button because i use around 50 mods en I can't see all the furnage of it. Maybe something like TooManyItems?


Just put the image above one of the two empty squares, one square down, into that space.

Am I correct that 3d-mods, Vanessa's home mod (3d torch), bobblocks (dependend on mesecons) and Jeija's mesecons generate a init.lua error line 92 and after a retry a serilization error (2 types, 1 described here http://minetest.net/forum/viewtopic.php?id=2061 , another 1 'something with' nodebox)
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Tue Jul 03, 2012 14:17

I LOVE this idea, however when I installed it, the chest shows up as being empty, save for one row of "unknown" items.

Using 0.4, latest git.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Tue Jul 03, 2012 14:27

sdzen wrote:there aready is didnt you read? those two squares insert something there the page turns

Yeah if you move an inventory item from the chest into one of the two slots in the middle will change the page in the chest inventory.

VanessaE wrote:I LOVE this idea, however when I installed it, the chest shows up as being empty, save for one row of "unknown" items.

Using 0.4, latest git.

It might be that the mods you have installed are being run after this one. That would cause the items to be registered afterwards so their wouldn't be any items to be displayed. I'll try to figure out how to define it to be the last mod to be run or change the event that it starts up.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Tue Jul 03, 2012 14:35

Stef wrote:wow man i have waited long for this!!!!
Thanks youre awsome

Edit: Can you make a next page button because i use around 50 mods en I can't see all the furnage of it. Maybe something like TooManyItems?

I wanted to add inventory buttons so it would be intuitive but those haven't been implemented into the engine yet. Once they are, I will put them in. Actually I wanted to put this system straight into the player's inventory but you can't customize the player's inventory unless you modify the engine code. Hopefully in the future, inventory modification can be added for modding.
 

TheLoLMan
Member
 
Posts: 190
Joined: Sat Jun 16, 2012 13:43

by TheLoLMan » Tue Jul 03, 2012 19:11

GOOD PLEASE CONVERT minetest-0.4.dev-20120122-1-win32
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 21:13

TheLoLMan wrote:GOOD PLEASE CONVERT minetest-0.4.dev-20120122-1-win32


This is impossible - this mod requires the latest 0.4 version.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Wed Jul 04, 2012 00:15

Calinou wrote:
TheLoLMan wrote:GOOD PLEASE CONVERT minetest-0.4.dev-20120122-1-win32


This is impossible - this mod requires the latest 0.4 version.


Forgot to mention that. Just added it to the post.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Wed Jul 04, 2012 00:18

Topywo wrote:Just put the image above one of the two empty squares, one square down, into that space.

Am I correct that 3d-mods, Vanessa's home mod (3d torch), bobblocks (dependend on mesecons) and Jeija's mesecons generate a init.lua error line 92 and after a retry a serilization error (2 types, 1 described here http://minetest.net/forum/viewtopic.php?id=2061 , another 1 'something with' nodebox)


I think I fixed the error on line 92. I hadn't tested it for a multiplayer server before but I have it working my machine on a server.
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Wed Jul 04, 2012 03:15

Great job ashenk69 this is very clever if this was added into the offical game we could have every single thing in minetest we want it in creative mode! How exactly did you make this mod it's very intresting did you need to modify the inventory at all?
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Wed Jul 04, 2012 04:08

Josh wrote:Great job ashenk69 this is very clever if this was added into the offical game we could have every single thing in minetest we want it in creative mode! How exactly did you make this mod it's very intresting did you need to modify the inventory at all?

Well you can't modify the player's inventory unfortunately so I decided to modify the code for a chest and make it work for my needs. I accessed the items through the registered items table that is created by the engine. From that I sorted it alphabetically and since every item is usually prefixed by the mod's name it also sorts them automatically by mod. To add the items themselves to the chest you just need the name of the item you want to add and the index to add it at. That is about it. The only other thing was modifying the inventory to be larger and to use two of the slots for menu navigation because buttons haven't been implemented yet.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Mon Jul 09, 2012 03:44

I just updated the mod to fix some little issues like multiplayer and deleting items. I hope to make the mod even better with recipe viewing and later buttons for easier use.
 

User avatar
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46

by Stef » Thu Jul 12, 2012 16:10

should it be possible to make a creative inventory for one mod like stairsplus because i have now stairsplus with KBLOCKS, WOOL, MOREBLOCKS textures
Sorry for my crappy english, im dutch :D
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Thu Jul 12, 2012 17:55

Stef wrote:should it be possible to make a creative inventory for one mod like stairsplus because i have now stairsplus with KBLOCKS, WOOL, MOREBLOCKS textures


It would be possible and quite cool. I think I could get it to work by having the user specify which mod they want to access by inputing a string somewhere. I could do it with a sign since there hasn't been text fields implemented into the inventory yet. Then I would just check either in front or on top of the chest and see if there is a sign and get its text field and from there exclude every object except for what objects are prefixed by that mod.

Might have been too much of an explanation but I think it is possible.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Sat Jul 14, 2012 20:52

I just updated the mod to include mod specific definition where now if you place a sign or locked sign near the chest it will define what mod it should pull the items from. I don't have a check to keep the chest from going past the last page so I will be working on that.
 

confused&tired
 

by confused&tired » Sat Jul 14, 2012 22:45

So this mod only works on v0.4?
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sun Jul 15, 2012 00:11

All mods work only on 0.4, and some require very recent builds of that series as well (owing to features being added or fixed over time). 0.3 cannot run mods (but it can use texture packs if they're designed for that version).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Sun Jul 15, 2012 04:21

Hi,

This mod is awesome, and allowed me to make my mod!

One thing I noticed. When I goto NEXT/PREV pages, it removed the item from the top inventory and leaves it in the NExT/PREV slot. I fixed this in mine by not calling minetest.node_metadata_inventory_move_allow_all when the to_list was next or previous.

I think you have some new features that I need now. Individual list for players, and sign persistence.

Thanks again!


Oh, one last thing..

Add system in single player to show the player the recipe for a certain item but don't allow transfer of inventory


Would you like to take over my mod. I don't think I will have heaps of time to dev, the main reason I built it was to save myself looking up websites for recipes.
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Mon Jul 16, 2012 01:34

@cornernote
I'll try your fix out. It makes sense once I think about doing it that way.

I would be very glad to combine the power of our two mods. It's funny cause I had actually already kind of implemented your code into mine just to see what it was like and it was awesome. If I take yours over I will still include credit of crafting to you since you did invent the way to store recipes.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Jul 25, 2012 17:22

I realy think this mod is useless when i see the latest changes on git.
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Wed Jul 25, 2012 18:59

Yes, it seems to have been merged into minetest_game!
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

celeron55
Member
 
Posts: 430
Joined: Tue Apr 19, 2011 10:10

by celeron55 » Wed Jul 25, 2012 23:53

It's not merged; the thing I added is a different thing. But it is used for somewhat similar purposes.
 

cae2000
Member
 
Posts: 23
Joined: Thu Jul 26, 2012 19:10

by cae2000 » Wed Aug 01, 2012 23:33

while i was using this i saw something called "air (you hacker you)" :D
 

User avatar
sfan5-bot
Member
 
Posts: 35
Joined: Thu Mar 28, 2013 11:19

by sfan5-bot » Thu Mar 28, 2013 16:53

[EE] No License found


Please fix these Mistakes and report this post, a moderator will delete it
If you believe I have made a Mistake contact sfan5
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 40 guests

cron