7 Digilines
VinAdmin edited this page 2024-09-17 11:30:25 +03:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

примечание: pipeworks не имеет ограничений на скорость отправки сообщений на его узлы, но вы все равно должны быть осторожны, отправляя сотни сообщений digiline в секунду на узел pipeworks, делайте это только в течение короткого времени

Deployer, Dispenser, Node breaker

  • sending "activate" to their channels will activate them
  • sending "activate" (for example "activate1") will activate on the slot specified
  • same can be achieved in table form {command="activate",slot=1} or
  • {command="activate"}
  • there are no limits on how many messages you can send per second

Teleporting Pneumatic Tube Segment

  • sending a string to its digiline channel will set the teleport tube's teleport channel to the
  • string (example: "foo" will make the teleport channel be foo )
  • sending a table to it with the format {channel = "any string",
  • can_receive=true/false} will set the channel and the receive toggle (both channel and
  • can_receive are optional)

Autocrafter

  • sending the string "get_recipe" will make the autocrafter send a table like this:

{ recipe = <the recipe>, -- a nested table result = { name = <the name of the craft output...> count = <the amount> } }

  • sending the string "on" will turn the autocrafter on, sending "off" will turn the
  • autocrafter off
  • sending "single" will make the autocrafter make a single craft, note: there is no limit as
  • to how fast you can send this
  • sending a nested table with 3 rows/collumns in the format of what was returned by
  • "get_recipe" will set the autocrafter's recipe to that

Digiline Detecting Pneumatic Tube Segment

  • if an item goes through it it will send the itemstack (in a table form)

Digiline Filter-Injector

  • if you send it an itemstring (like "default:dirt 99" ) it will send 99 dirt
  • if you send it a table.... well.... ummm....

{ sloteq = "priority", -- can be "priority", "random", or "rotation" exmatch = true, -- a boolean, turns off/on exact matching sloteq_index = 1, -- can only be 1 or nil, setting it to 1 will reset the sloteq tag = "any tag", tags = {"a","b"}, -- sets the item tag filter to that, the tags field takes prio nofire = "not nil", -- if this is any value other than nil or false, it won't fi -- all of theese are filters: name = "default:dirt", group = "group:soil", count = 99, wear = 0, metadata = {}, -- this is also a way to make multiple filters -- if the fields name/group/count/wear/metadata are present theese will be ignor [1] = { name = "default:dirt", group = "group:soil", count = 99, wear = 0, metadata = {}, }, [2] = ... }

example usage: pushing out 99 dirt:

{ name = "default:dirt", count = 99 }

pushing out 99 of anything:

{count = 99}