Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- listMethods = {
- returnTypes = "string",
- args = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@2a54ece1",
- name = "filterSource",
- },
- },
- description = "List all the methods available",
- source = "<meta>",
- },
- listSources = {
- returnTypes = "table",
- args = {},
- description = "List all method sources",
- source = "<meta>",
- },
- destroyStack = {
- returnTypes = "()",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slotNumber",
- description = "The slot number",
- },
- },
- description = "Destroy a stack",
- source = "inventory",
- },
- pullItemIntoSlot = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@46c87119",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slot",
- description = "The slot in the OTHER inventory that you're pulling from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to pull",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the current inventory that you want to pull into",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "intoSlot",
- },
- },
- description = "Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved",
- source = "inventory-world",
- },
- condenseItems = {
- returnTypes = "()",
- args = {},
- description = "Condense and tidy the stacks in an inventory",
- source = "inventory",
- },
- getInventorySize = {
- returnTypes = "number",
- args = {},
- description = "Get the size of this inventory",
- source = "inventory",
- },
- getInfo = {
- returnTypes = "table",
- args = {},
- description = "Returns info containing the capacity of the tank and the FluidStack it holds.",
- source = "fluid_tank",
- },
- getAllStacks = {
- returnTypes = "table",
- args = {
- {
- optional = true,
- description = "If false, method will compute whole table, instead of returning proxy",
- type = "openperipheral.adapter.types.SingleArgType@78544262",
- name = "proxy",
- },
- },
- description = "Get a table with all the items of the chest",
- source = "inventory",
- },
- getInventoryName = {
- returnTypes = "string",
- args = {},
- description = "Get the name of this inventory",
- source = "inventory",
- },
- pushItemIntoSlot = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@7049e7d8",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slot",
- description = "The slot in the current inventory that you're pushing from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to push",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the other inventory that you want to push into",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "intoSlot",
- },
- },
- description = "Push an item from the current inventory into slot on the other one. Returns the amount of items moved",
- source = "inventory-world",
- },
- pushItem = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@7049e7d8",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slot",
- description = "The slot in the current inventory that you're pushing from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to push",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the other inventory that you want to push into",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "intoSlot",
- },
- },
- description = "Push an item from the current inventory into slot on the other one. Returns the amount of items moved",
- source = "inventory-world",
- },
- getStackInSlot = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slotNumber",
- description = "Slot number",
- },
- {
- optional = true,
- description = "If true, method will return proxy instead of computing whole table",
- type = "openperipheral.adapter.types.SingleArgType@78544262",
- name = "proxy",
- },
- },
- description = "Get details of an item in a particular slot",
- source = "inventory",
- },
- getAdvancedMethodsData = {
- returnTypes = "table",
- args = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@2a54ece1",
- name = "method",
- },
- },
- description = "Get a complete table of information about all available methods",
- source = "<meta>",
- },
- swapStacks = {
- returnTypes = "()",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "from",
- description = "The first slot",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "to",
- description = "The other slot",
- },
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.BoundedType@5a053c9c",
- name = "fromDirection",
- },
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.BoundedType@12c6ada4",
- name = "fromDirection",
- },
- },
- description = "Swap two slots in the inventory",
- source = "inventory",
- },
- expandStack = {
- returnTypes = "table",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@6b013d91",
- name = "stack",
- description = "",
- },
- },
- description = "Get full stack information from id and/or damage",
- source = "inventory",
- },
- pullItem = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@46c87119",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "slot",
- description = "The slot in the OTHER inventory that you're pulling from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to pull",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the current inventory that you want to pull into",
- type = "openperipheral.adapter.types.SingleArgType@27e0a266",
- name = "intoSlot",
- },
- },
- description = "Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved",
- source = "inventory-world",
- },
- doc = {
- returnTypes = "string",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@2a54ece1",
- name = "method",
- description = "",
- },
- },
- description = "Brief description of method",
- source = "<meta>",
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement