mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-12-24 14:32:25 +01:00
Checkpoint.
This commit is contained in:
parent
9235b7bad1
commit
9d43b75310
@ -22,12 +22,12 @@ __Usage:__ `microexpansion.int_to_pagenum(int)`
|
||||
|
||||
Calculates the approximate number of pages from the integer provided which should represent the total number of items.
|
||||
|
||||
#### `move_inv(inv1, inv2)`
|
||||
__Usage:__ `microexpansion.move_inv(<from inventory (userdata)>, <to inventory (userdata)>)`
|
||||
#### `move_inv(net, inv1, inv2)`
|
||||
__Usage:__ `microexpansion.move_inv(net, <from inventory (userdata)>, <to inventory (userdata)>)`
|
||||
|
||||
Moves all the contents of one inventory (`inv1`) to another inventory (`inv2`).
|
||||
|
||||
#### `cell_desc(inv, listname, stack_pos)`
|
||||
__Usage:__ `microexpansion.cell_desc(<inventory (userdata)>, <list name (string)>, <stack position (integer)>)`
|
||||
|
||||
Updates the description of an ME Storage Cell to show the amount of items in it vs the max amount of items. The first parameter should be a `userdata` value representing the inventory in which the list containing the cell itemstack is found. The second parameter should contain the name of the list in which the cell itemstack is found. The third (and final) parameter must be an integer telling at what position to storage cell is in the inventory list.
|
||||
Updates the description of an ME Storage Cell to show the amount of items in it vs the max amount of items. The first parameter should be a `userdata` value representing the inventory in which the list containing the cell itemstack is found. The second parameter should contain the name of the list in which the cell itemstack is found. The third (and final) parameter must be an integer telling at what position to storage cell is in the inventory list.
|
||||
|
Loading…
Reference in New Issue
Block a user