Go to file
Tai Kedzierski 9be3e8f014 cycle immediately, not on delay 2019-01-28 15:11:50 +00:00
lua cycle immediately, not on delay 2019-01-28 15:11:50 +00:00
readmepics add gif demo 2019-01-12 12:27:33 +00:00
textures Use in any slot, or without tool 2019-01-12 02:24:58 +00:00
.gitignore initial implementation shim 2019-01-11 16:46:50 +00:00
LICENSE.txt initial implementation shim 2019-01-11 16:46:50 +00:00
README.md cycle immediately, not on delay 2019-01-28 15:11:50 +00:00
init.lua fix basic syntax and API call bugs 2019-01-11 20:46:33 +00:00
mod.conf rename mod to something more suitable 2019-01-11 17:24:58 +00:00
settingtypes.txt allow configuring own controls 2019-01-18 15:00:08 +00:00

README.md

Inventory cycle for Minetest

Mechanism and item to cycle through rows of inventory.

Cycles rows of inventory upwards/downwards into the top row - access different lines of your inventory without opening the inventory screen!

cycle your inventory

Use

  • Hold both the sprint and sneak buttons (typically E and Shift) to cycle through rows repeatedly
    • By default, every 1 second
      • configurable per player via /icycler period <N>
    • The key combination can be changed in server configuration, see settings below

Item

You can also craft and use a cycling tool to explicitly cycle through rows on-click. It is more precise than the keypress based method (which can be affected by lag), but requires to change wielded item to use.

  • Left-click move rows upward.
    • The active (top) row becomes the bottom row, and each other row is moved up
    • Items in the same column as the cycler tool do not get moved
  • Right-click when pointing at a node, or drop (Q), to move rows downward

The inventory cycling tool can be made by combining three block types, in a diagonal pattern:

t = group:tree - any tree trunk
a = group:sand - any sand
o = group:stone - any stone 

[t] [ ] [ ]
[ ] [a] [ ]
[ ] [ ] [o]

or

[ ] [ ] [t]
[ ] [a] [ ]
[o] [ ] [ ]

Settings

  • inventory_cycler.default_player_cycle_interval Player inventory cycle invterval (how fast, in seconds, to switch through rows) - default 1
  • inventory_cycler.must_stand_still - whether the player must stand still to cycle, or if can be moving at the same time - default true
  • inventory_cycler.default_global_cycle_interval - Global step interval (performance related, player cycle interval should be a multiple of this) - default 0.5
  • inventory.cycler.required_controls - controls that must be held to trigger cycling, default aux1,sneak which are typically E and <Shift>
  • inventory.cycler.forbidden_controls - controls of which none should be helo, if cycling is intended. Default is empty.

License

  • Code: (C) 2019 Tai "DuCake" Kedzierski
    • Provided un der the terms of the LGPLv3
  • Media: (C) 2019 Tai "DuCake" Kedzierski
    • Provided under the terms of CC-BY-SA-4.0