Page 1 of 1

[Mod] Creative with Redirection (POC) [creative]

PostPosted: Mon Mar 14, 2016 01:31
by everamzah
This is a proof-of-concept release of a fork of the creative mod for stock minetest_game. It features a shift+click into the trash can, which will likely be trivial enough to add to the official creative mod.

The purpose of this release is to show what horrible things I had to do in order to get the creative inventory to search items when you press the enter key.

The original mod author, kilbith, notes that these sorts of hacks shouldn't be performed, and that an engine change would be required here. Nonetheless I am publishing this mod in the hopes that someone may find inspiration to work on the formspec engine.

License: LGPL 2.1
GitHub or master.zip

Re: [Mod] Creative with Redirection (POC) [creative]

PostPosted: Thu Mar 17, 2016 02:03
by MineYoshi
+100
Good work, but in really shows all the items!

Well, great work!

=D
This make difference the items,nodes and items easier, very good!

CONGRATS!

Re: [Mod] Creative with Redirection (POC) [creative]

PostPosted: Thu Mar 17, 2016 02:59
by everamzah
Thank you, but I feel it's really important to note that this is the default creative inventory with minetest_game in current dev, and for 0.4.14! It was written by kilbith (jp here on the forums) and I did not mean to take away from his most excellent work here.

The only thing I did was make it so hitting enter kept the window open, but this creates lag. I have some doubts about this thread, now, and I'll gladly remove it at jp's request.

Re: [Mod] Creative with Redirection (POC) [creative]

PostPosted: Mon Mar 21, 2016 02:26
by Don
everamzah - I like the idea of enter working in search. I know what jp thinks but I think a hack is better then nothing. If it has no negative effects then there is no reason to complain about it being a hack.

Unless the enter issue gets fixed then hacks are the way to make it work.

Re: [Mod] Creative with Redirection (POC) [creative]

PostPosted: Wed Nov 09, 2016 17:16
by Fixerol