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

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Mon Mar 14, 2016 01:31

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
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

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

by MineYoshi » Thu Mar 17, 2016 02:03

+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!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Thu Mar 17, 2016 02:59

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.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

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

by Don » Mon Mar 21, 2016 02:26

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

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

by Fixerol » Wed Nov 09, 2016 17:16

 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 6 guests

cron