Commit Graph

39 Commits

Author SHA1 Message Date
rubenwardy b06368adf2 Fix node drops not being added to inventory when not in creative mode 2017-01-27 19:48:59 +00:00
rubenwardy bee5b316a8 Creative: Add creative.is_enabled_for 2017-01-26 17:54:45 +00:00
paramat fa17fe31d6 Creative: Re-implement constant hand dig times, add comment 2016-11-28 01:28:24 +00:00
rubenwardy d42ae715b8 Sfinv: Add sfinv to allow tabs to be added to the inventory 2016-11-27 03:27:12 +00:00
tenplus1 022d22ceca Creative: Fix missing item bug caused by 'start_i' value
This fixes the missing item issue in creative inventory caused by using
1 instead of 0 for 'start_i'.
2016-11-18 05:38:25 +00:00
Rui 5868274b00 Creative: Fix crash when turning on creative in-game 2016-11-07 14:13:10 +00:00
rubenwardy 53179b8d10 Creative: Use element instead of parameter to disable close on enter 2016-10-08 18:02:14 +01:00
paramat 0664570d22 Creative: Make dig times near-identical for nodes of all levels
Dig time is modified according to difference (leveldiff) between tool
'maxlevel' and node 'level'. Digtime is divided by the larger of leveldiff
and 1. In creative mode, where the hand is redefined to have maxlevel 3,
this results in higher level nodes taking significantly longer to break.

Now, to speed up digging, hand 'maxlevel' and 'digtime' have been
increased such that nodes of differing levels have an insignificant
effect on digtime. Dig time for all nodes is now identical to that of, for
example, dirt nodes.
2016-09-03 01:07:49 +01:00
rubenwardy 471d1cf159 Add search on enter press to creative inventory 2016-08-27 21:24:07 +01:00
Tim 30b0a155fb Stop shadowing upvalues and definitions. 2016-07-15 21:58:49 +01:00
Tim 4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
paramat 50eb079813 Creative: Add missing 'formspec_escape' to fix bug
Symbols used in search caused the game to hang with a grey screen,
for example searching for 'diamond;ingot'
2016-06-14 23:29:21 +01:00
red-001 b1e0864cf1 Creative: Reset 'start_i' to 1 when the inventory filter is changed 2016-05-21 03:02:10 +01:00
tenplus1 b36b154257 Creative: Fix inventory crash after toggling creative mode in-game 2016-05-08 00:40:52 +01:00
tenplus1 3976dc6a5b Creative: Fix '-' glitch in playername
Fix the glitch when players use the '-' character in their username
on a server, causing creative inventory to not pass page 2
2016-05-07 02:13:00 +01:00
tenplus1 8ea031ef77 Creative: Add global variable creative.formspec_add
This pull adds a new global variable called creative.formspec_add
that will allow mods to add to the creative inventory screen
without the need to fork the mod altogether.  Simple solution
that works already for inventory_plus' BACK button
2016-05-07 02:07:55 +01:00
Jean-Patrick Guerrero 1a5f89e750 Creative: Code cleaning + Fix items moving in virtual inventory 2016-03-22 15:45:48 +00:00
Jean-Patrick Guerrero 4c9944b263 Creative: Rename fields with correct naming convention to avoid possible conflicts 2016-02-21 15:31:37 +00:00
Muhammad Rifqi Priyo Susanto 9e54b379c8 Creative: Extend search function to descriptions 2016-02-06 01:24:24 +00:00
Craig Davison 09dbaf7972 Follow naming conventions of textures in creative 2016-02-03 19:33:59 +00:00
kilbith 0ea23a50d3 Creative: move player datas in separate table (fixes #812) 2016-02-03 19:33:31 +00:00
kilbith 250be40ecd Fix blank page in creative in some rare case and keep crafting tab's size stationary 2016-01-20 22:17:38 +00:00
kilbith 6d79d157c3 New design of the creative inventory (with tabs) 2016-01-15 04:56:24 +00:00
jeanpatrick.guerrero@gmail.com 7488f483c7 Minor polishing of creative 2016-01-05 23:29:15 +00:00
jeanpatrick.guerrero@gmail.com b1e2ece638 Add a search field to the creative inventory 2015-12-25 15:36:55 +00:00
jeanpatrick.guerrero@gmail.com b8333cf82a Speed-up creative inventory initializing (~10x faster) 2015-12-06 00:22:12 +00:00
Amaz 7361eb5e05 Add the listring functionality c977fbd928 2015-06-23 19:17:57 +02:00
Craig Davison 64bf6c1b89 Add crafting grid result arrow to creative inventory 2015-01-10 15:32:16 +01:00
BlockMen 49ad1c1bf7 Make gui part of default 2014-07-05 16:06:16 +02:00
webdesigner97 fa485f7d63 Make creative inventory use new fancy layout 2014-07-05 16:02:26 +02:00
PilzAdam 51de4236ab Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
ShadowNinja 1d4eb43f26 Revert dig time in creative mode to 0.5
This made it impossible to punch things without breaking them in creative
2013-11-04 18:46:39 -05:00
PilzAdam e547d279ab Longer range and insta-dig in creative 2013-09-28 23:52:59 +02:00
PilzAdam fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam 7e843c92a6 Move creative, dye, vessels and wool to common 2013-03-23 17:42:40 +01:00
PilzAdam 61e60724f6 Use infinite stacks in creative mode and make the hand break anything 2012-12-17 20:27:01 +01:00
PilzAdam dfa0f096ce Use full stacks in the creative inventory and add a trash field 2012-11-25 14:09:25 +01:00
Perttu Ahola 61a9bb2b47 Fix crash when a player happens to join the server quicker than the creative inventory filler is called 2012-08-12 17:03:05 +03:00
Perttu Ahola 319ac40fa5 Move creative_inventory to creative 2012-07-25 20:37:47 +03:00