mover - ac-minetest/basic_machines GitHub Wiki

##Mover

Mover is used to move stuff (nodes, players, objects) around. You can make long range teleports ( up to 110 blocks ) or elevator ( up to 9900 blocks up or down).

###crafting

mover

###setup

  1. Setup by punching:

Punch mover and follow instructions in chat:

  1. Punch source1 (shows box 1 ingame)
  2. Punch source2 (shows another box 1 ingame)
  3. Punch target (shows box 2 ingame)

This will allow for simple harvesting or simple digging. For more advanced operation use

  1. Setup by right click

mover setup

  • source1,source2 : represent 2 opposing points in world defining rectangle source area. For explanation of coordinates see keypad help (section "Setup by right click", target). Mover will take stuff from source area.

  • dropdown lists represent inventories of source/target nodes.

  • reverse: reverses move direction if set to 1, default is 0. Instead of moving from source area to target point it will move from target point into source area.

  • target: node in world where mover will place stuff.

  • mode: how will mover operate, for details see below. Modes are : normal, dig, drop, object, inventory, transport

  • filter: if set then only objects with name matching the filter will be moved. For nodes filter can be entered manually (example: "default:cobble" for cobble node) or set by dropping the node inside inventory right to "filter" field and exiting setup by pressing escape.

  • upgrade: upgrade inventory can contain mese blocks or diamond blocks. Number of blocks defines level of upgrade. Upgrade increases range of operation and decreases operation costs. When admin places mover the upgrade level is set to -1, meaning operations will require no fuel.

###use

  1. For mover to work it needs source of energy (provided by battery within 1 block distance) and it needs to be activated by signal ON ( keypad ).

  2. modes of operation

  • normal: simple digging exact copy of node. It will move the node (but clear all metadata and other node settings). When source point is chest (default minetest (locked) chest ), mover will attempt to take from it (need filter so it knows what to take) and place node into world. When target point is chest mover will insert node into chest.

  • dig: mover will dig node and perform "dig" operation. This will work just like when player digs using pickaxe, for example transforming stone into cobble. In dig mode certain nodes are recognized and harvested: tree nodes are dug up to harvest complete tree, same with cactus/papyrus.

  • drop: take a node (need filter set) from chest and drop it onto target position as an item to be picked up by players.

  • object: pick up object/player around source1 position ( radius of pickup is distance between source1 and source2) and move it to target position. This mode has energy cost 10% of original operation. When filter is set, only player with name matching filter will be moved. If filter is set to number, it will atttempt to move objects slowly, within specified time ( in seconds ).

  • inventory: useful for moving items between two nodes with inventories. You must select inventories from inventory list dropdown right to source/target fields in setup. This mode has energy cost 10% of original operation. When no filter is set mover will pick first item to move it finds.

  • transport: useful if you want to move nodes complete with metadata and all settings. Also, full rectangle source area will be moved parallel in world ( not just into 1 point ). If you set reverse 2/3 you can force move into 1 point.

  1. elevator place mover in object mode and set source/target positions right above/below mover. To be able to set it up you need to place 1 diamond block in mover upgrade inventory for every 100 nodes. In elevator mode mover requires no battery.